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

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

Re: gnus-posting-styles - how to match message with more than N lines ?


From: Adam Sjøgren
Subject: Re: gnus-posting-styles - how to match message with more than N lines ?
Date: Wed, 08 Dec 2010 15:44:04 -0000
User-agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (linux)

On Sat, 24 Jul 2010 00:49:24 +0530, Sharad wrote:

> I want to set message-cite-reply-above to t for those mail which has
> more than 20 lines, for this I am not able to find correct
> `gnus-posting-styles' rule.

That sounds like a thoroughly bad idea - why not cite and trim properly?

> I have just put message-lines imaginary function, where I need some
> real condition to get the desired result.

> (setq gnus-posting-styles
>       ((message-lines > 20)
>        (eval (progn
>                (set (make-local-variable 'message-cite-reply-above)
>       t)))))

Don't you need to stick a lambda in there somewhere? (Or defun the
function elsewhere and use it in the posting styles?)


  Best regards,

     Adam

-- 
 "My internal clock is on Tokyo time."                        Adam Sjøgren
                                                         asjo@koldfront.dk


reply via email to

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