From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: definition lines in Info - 1) link, 2) highlight Date: Fri, 11 Aug 2006 15:24:04 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1155324381 24752 80.91.229.2 (11 Aug 2006 19:26:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 19:26:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 11 21:26:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBcdx-0007If-V5 for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2006 21:26:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBcdw-0007JU-Pu for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2006 15:26:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBcc5-0004eQ-5y for emacs-devel@gnu.org; Fri, 11 Aug 2006 15:24:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBcc1-0004Zb-PA for emacs-devel@gnu.org; Fri, 11 Aug 2006 15:24:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBcc1-0004Yw-6f for emacs-devel@gnu.org; Fri, 11 Aug 2006 15:24:05 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBchD-0000O2-Cb for emacs-devel@gnu.org; Fri, 11 Aug 2006 15:29:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GBcc0-0007NW-Aa; Fri, 11 Aug 2006 15:24:04 -0400 Original-To: "Drew Adams" In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58298 Archived-At: 2) A related suggestion is this (which I think I might have made already): highlight definition/reference lines in Info, so they stand out better. See attached screenshot. I do this in my own code, and I find that it helps readability. I use a slightly different background color for the line, starting after the "- ", and I use a different foregound color for each type name: Variable, User Option, Command, Macro, Function, Special Form, and Syntax Class. In particular, this helps you distinguish Variable and User Option visually; likewise, Function and Command. The regexp is trivial, and so far I've never seen a false or missed hit: "^ --? \\(Function:\\|Variable:\\|Special Form:\\|\ Command:\\|User Option:\\|Macro:\\|Syntax class:\\)\\(.*\\)" That sounds like a good idea, and small enough we can use it from you without papers. Eli, if no one objects in a few days, would you please install? How about having definition/reference lines such as the following be links in the Elisp Info manual? - Variable: blink-paren-function - User Option: blink-matching-paren - Command: blink-matching-open That is much harder; we should not think about it now.