emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new *Help* argument highlighting


From: Kenichi Handa
Subject: Re: new *Help* argument highlighting
Date: Wed, 12 May 2004 22:22:26 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Juanma Barranquero <address@hidden> writes:

> Kenichi Handa <address@hidden> wrote:

>>  I prefer a shorter convention something like @NAME or $NAME.

> BTW, it should be @NAME@ or $NAME$, because I want to support:

>   {N}th
>   {INDEX}es
>   {SLOT}s
>   make-{NAME}
>   {NAME}-p

> (the part between {} is highlighted).  All of them do happen now (see
> defstruct, for example).

Even with $NAME, it seems
  (replace-regexp "\\$\\([A-Z]\\(-*[A-Z]\\)*\\)" "{\\1}")
can correctly find parts to be highlighted (perhaps there
will be more efficient regexp).

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]