[Top][All Lists]
[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: |
Sun, 13 Aug 2006 00:58:51 +0300 |
> From: "Drew Adams" <address@hidden>
> Date: Sat, 12 Aug 2006 10:33:23 -0700
>
> One way to do it:
>
> 1. Define a face for each of the description types: Function, Special Form,
> etc. I have 7 such faces, so a reader can easily pick out, say, a Command or
> Variable from a list of Functions.
>
> 2. Define a face for the rest of each description line, to be used for all
> description types. That is, a description such as "Function: foo INTEGER1
> &optional INTEGER2" will have one face applied to "Function:" and another
> face applied to " foo INTEGER1 &optional INTEGER2". I use the same
> background for all 8 faces.
>
> 3. Define a function that searches a node for the regexp and fontifies (via
> put-text-property) accordingly, using the faces.
>
> 4. Call #3 in Info-fontify-node. For Emacs 22, I do that just before the
> titles are fontified.
Thanks.
Richard, is this what you had in mind? Frankly, it sounds too
complicated to me to install at this point.
- definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/11
- Re: definition lines in Info - 1) link, 2) highlight, Richard Stallman, 2006/08/11
- Re: definition lines in Info - 1) link, 2) highlight, Eli Zaretskii, 2006/08/12
- RE: definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/12
- Re: definition lines in Info - 1) link, 2) highlight,
Eli Zaretskii <=
- Re: definition lines in Info - 1) link, 2) highlight, Richard Stallman, 2006/08/13
- RE: definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/13
- Re: definition lines in Info - 1) link, 2) highlight, Eli Zaretskii, 2006/08/13
- Re: definition lines in Info - 1) link, 2) highlight, Richard Stallman, 2006/08/14
- RE: definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/15
- Re: definition lines in Info - 1) link, 2) highlight, Eli Zaretskii, 2006/08/15
- RE: definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/15
- Re: definition lines in Info - 1) link, 2) highlight, David Kastrup, 2006/08/15
- RE: definition lines in Info - 1) link, 2) highlight, Drew Adams, 2006/08/15
- Re: definition lines in Info - 1) link, 2) highlight, Chong Yidong, 2006/08/15