Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sharad Pratap <sh4r4d@gmail.com>
To: info-gnus-english@gnu.org
Subject: gnus-posting-styles - how to match message with more than N lines ?
Date: Sat, 24 Jul 2010 00:49:24 +0530	[thread overview]
Message-ID: <8639vaypj7.fsf@personal.machine.of.sharard.com> (raw)


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

             reply	other threads:[~2010-07-23 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 19:19 Sharad Pratap [this message]
     [not found] ` <87eieuq9dt.fsf@topper.koldfront.dk>
2010-07-23 20:15   ` Sharad Pratap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8639vaypj7.fsf@personal.machine.of.sharard.com \
    --to=sh4r4d@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).