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: Mon, 10 May 2004 23:10:54 +0200

On Mon, 10 May 2004 13:54:11 -0400, Richard Stallman <address@hidden> wrote:

> Yes, it would be good to downcase them in the Help buffer
> as well as italicizing them.

That's a one-line patch, and the effect is nice, and scarcely intrusive.
However, it has the problem that if someone customizes
help-argument-face to the default face, he's lost also the uppercase, so
now arguments do not stand out at all.

To solve that, we'd have do something like:

(defvar help-arg-highlighting-function
  #'(lambda (arg) (propertize (downcase arg) 'face '(:slant italic)))
  "Function to call to highlight argument names in `describe-function' *Help* 
buffers.")

instead of having a help-argument-name face.

                                                           /L/e/k/t/u





reply via email to

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