emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: definition lines in Info - 1) link, 2) highlight


From: Eli Zaretskii
Subject: Re: definition lines in Info - 1) link, 2) highlight
Date: Sat, 12 Aug 2006 14:42:16 +0300

> From: Richard Stallman <address@hidden>
> Date: Fri, 11 Aug 2006 15:24:04 -0400
> Cc: address@hidden
> 
>     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 via email to

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