emacs-devel
[Top][All Lists]
Advanced

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

Re: Improved help from minibuffer prompts


From: Kim F. Storm
Subject: Re: Improved help from minibuffer prompts
Date: 30 Apr 2004 12:08:47 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Juanma Barranquero <address@hidden> writes:

> On 19 Apr 2004 13:50:58 +0200, address@hidden (Kim F. Storm) wrote:
> 
> > Here is another idea, enhancing on Richard's idea:
> > 
> > Show the full doc string, but highlight occurrences of the upper case
> > PARAM name in the doc string -- then the user will be able to quickly
> > locate the relevant information and focus on that...
> 
> Related to that, here's a (proof-of-concept) patch that sets the face
> `font-lock-variable-name-face' for all uses of the arguments of a
> function in a `describe-function' *Help* buffer.
> 
> I say proof-of-concept because I've not provided a way to make it
> optional, I've hard-coded the face used, etc. Still, it works
> beautifully.
> 
> The auxiliary function help-highlight-arguments is designed in such a
> way that it can be pased a nil WORDS argument (and then it highlights
> all arguments of the function), or a list of desired arguments to
> highlight, so it can be of help if highlighting info for an argument is
> desired (which was discused in this thread).
> 
> Opinions?

I have applied your patch locally; I'll use it for a while before
I'll make a judgement.  But initially, I like it.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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