info-gnus-english
[Top][All Lists]
Advanced

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

Re: beginning of a mail in the summary view


From: Peter Jones
Subject: Re: beginning of a mail in the summary view
Date: Mon, 21 Apr 2008 10:12:04 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

francois.lagarde@gmail.com writes:
> I would like to customize my summary view  in asimilar with the gmail
> interface:
> subject of the mail followed by (using a different color) the the
> first words of the mail.

The manual talks about setting your summary line, and using
user-defined functions.  You could write a user function that would
take the first few words from the body of the mail and place it into
the summary line.

,----[ C-h v gnus-summary-line-format RET ]
| gnus-summary-line-format is a variable defined in `gnus.el'.
| 
| Documentation:
| *The format specification of the lines in the summary buffer.
| 
| It works along the same lines as a normal formatting string,
| with some simple extensions.
|
| [snip] 
| %u   User defined specifier.  The next character in the format string should
|      be a letter.  Gnus will call the function gnus-user-format-function-X,
|      where X is the letter following %u.  The function will be passed the
|      current header as argument.  The function should return a string, which
|      will be inserted into the summary just like information from any other
|      summary specifier.
| [snip]
`----

-- 
Peter Jones [pjones at domain below]
pmade inc. - http://pmade.com


reply via email to

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