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: Improved help from minibuffer prompts Date: Tue, 04 May 2004 02:32:28 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040504022324.2C2D.LEKTU@mi.madritel.es> References: <20040502032654.5F0D.LEKTU@mi.madritel.es> 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 1083631183 7988 80.91.224.253 (4 May 2004 00:39:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 00:39:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 02:39:36 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 1BKnyC-0002vP-00 for ; Tue, 04 May 2004 02:39:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKnyB-0002HS-00 for ; Tue, 04 May 2004 02:39:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKnxu-0001XG-3j for emacs-devel@quimby.gnus.org; Mon, 03 May 2004 20:39:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKnwP-0008Vl-Qe for emacs-devel@gnu.org; Mon, 03 May 2004 20:37:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKnvh-0007fq-HC for emacs-devel@gnu.org; Mon, 03 May 2004 20:37:33 -0400 Original-Received: from [62.81.186.19] (helo=smtp09.retemail.es) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKnrV-0005cF-7P for emacs-devel@gnu.org; Mon, 03 May 2004 20:32:41 -0400 Original-Received: from [127.0.0.1] ([213.37.34.68]) by smtp09.retemail.es (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20040504003226.OXBO25645.smtp09.retemail.es@[127.0.0.1]> for ; Tue, 4 May 2004 02:32:26 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <20040502032654.5F0D.LEKTU@mi.madritel.es> 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:22669 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22669 On Sun, 02 May 2004 03:52:48 +0200, Juanma Barranquero wrote: > [...] I think the only things > left to do are deciding which face to use (I'm using a new > help-argument-name face which inherits from font-lock-variable-face, but > I have no real preference), and whether the argument highlighting should > be always on, or user-configurable. Again, no preference. What I said. I've now installed the change so everybody can try it by h??self. There's no direct way to deactivate it right now, but is easy enough by setting the help-argument-name face to default. I've been using this patch for several days and it works fine. There's a little problem with docstrings like the one for define-key, because they use: (define-key KEYMAP KEY DEF) and, in the description below: or a cons (KEYMAP . CHAR), meaning use definition of CHAR in map KEYMAP This second KEYMAP gets highlighted because it's also an argument, even if the docstring is using KEYMAP also to define a part of another argument (DEF, in this case). IMO, this is an ambiguity in such docstrings and should be fixed. /L/e/k/t/u