Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gnus-posting-styles - how to match message with more than N lines ?
@ 2010-07-23 19:19 Sharad Pratap
       [not found] ` <87eieuq9dt.fsf@topper.koldfront.dk>
  0 siblings, 1 reply; 2+ messages in thread
From: Sharad Pratap @ 2010-07-23 19:19 UTC (permalink / raw)
  To: info-gnus-english


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.

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)))))

Is here some way to do it successfully.

-- 
-sharad

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-23 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-23 19:19 gnus-posting-styles - how to match message with more than N lines ? Sharad Pratap
     [not found] ` <87eieuq9dt.fsf@topper.koldfront.dk>
2010-07-23 20:15   ` Sharad Pratap

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 NNTP newsgroup(s).