emacs-devel
[Top][All Lists]
Advanced

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

Re: new *Help* argument highlighting


From: Juanma Barranquero
Subject: Re: new *Help* argument highlighting
Date: Wed, 12 May 2004 15:43:44 +0200

On Wed, 12 May 2004 22:22:26 +0900 (JST)
Kenichi Handa <address@hidden> wrote:

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

I'm not converting ARG1-XXX to {ARG1}-{XXX} or {ARG1-XXX} because there
can be functions which have YYY as an argument, and YYY-XXX as a
non-related "variable" in the docstring (because UPPERCASE words are
often used as additional "docstring variables" in functions which accept
complex combinations of keywords and/or structured args).

But in fact, yes, I'm sure it can be made to work.  Choosing $var{NAME}
or $NAME or $NAME$ is not very important.  Whatever people feels more
comfortable with.

                                                                Juanma






reply via email to

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