From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: new *Help* argument highlighting Date: Mon, 10 May 2004 23:10:54 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040510223059.AE6F.LEKTU@mi.madritel.es> References: <20040509222555.GA17587@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1084223688 28628 80.91.224.253 (10 May 2004 21:14:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 May 2004 21:14:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 10 23:14:38 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNI6g-0002Kv-00 for ; Mon, 10 May 2004 23:14:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNI6f-0002nz-00 for ; Mon, 10 May 2004 23:14:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNI6V-0000vJ-0a for emacs-devel@quimby.gnus.org; Mon, 10 May 2004 17:14:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNI6M-0000t2-Qn for emacs-devel@gnu.org; Mon, 10 May 2004 17:14:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNI5g-0000NV-QQ for emacs-devel@gnu.org; Mon, 10 May 2004 17:14:14 -0400 Original-Received: from [62.81.186.18] (helo=smtp08.retemail.es) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNI35-0007wu-UY; Mon, 10 May 2004 17:10:56 -0400 Original-Received: from [127.0.0.1] ([213.37.34.81]) by smtp08.retemail.es (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20040510211054.BTMM23076.smtp08.retemail.es@[127.0.0.1]>; Mon, 10 May 2004 23:10:54 +0200 Original-To: Richard Stallman , emacs-devel@gnu.org In-Reply-To: X-Mailer: Becky! ver. 2.09.01 [en] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23081 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23081 On Mon, 10 May 2004 13:54:11 -0400, Richard Stallman 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