unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: definition lines in Info - 1) link, 2) highlight
Date: Sat, 12 Aug 2006 14:42:16 +0300	[thread overview]
Message-ID: <u64gydvtz.fsf@gnu.org> (raw)
In-Reply-To: <E1GBcc0-0007NW-Aa@fencepost.gnu.org> (message from Richard Stallman on Fri, 11 Aug 2006 15:24:04 -0400)

> From: Richard Stallman <rms@gnu.org>
> Date: Fri, 11 Aug 2006 15:24:04 -0400
> Cc: emacs-devel@gnu.org
> 
>     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?

Sorry, I don't understand what to install.  Drew didn't show any code,
nor explained in detail what the code should do and how.  The only
thing I see is a regexp.  Is there already a variable that should be
set to that regexp?  If so, please tell which variable is that.

  reply	other threads:[~2006-08-12 11:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 15:16 definition lines in Info - 1) link, 2) highlight Drew Adams
2006-08-11 19:24 ` Richard Stallman
2006-08-12 11:42   ` Eli Zaretskii [this message]
2006-08-12 17:33     ` Drew Adams
2006-08-12 21:58       ` Eli Zaretskii
2006-08-13 13:53         ` Richard Stallman
2006-08-13 14:10           ` Drew Adams
2006-08-13 18:48           ` Eli Zaretskii
2006-08-15  2:42             ` Richard Stallman
2006-08-15 14:57               ` Drew Adams
2006-08-15 19:29                 ` Eli Zaretskii
2006-08-15 20:05                   ` Drew Adams
2006-08-15 21:01                 ` David Kastrup
2006-08-15 21:56                   ` Drew Adams
2006-08-15 22:49                     ` Chong Yidong
2006-08-15 23:24                       ` Drew Adams
2006-08-16  6:33                 ` Richard Stallman
2006-08-13 17:33   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u64gydvtz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).