From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14217 Path: news.gmane.org!not-for-mail From: Sharad Pratap Newsgroups: gmane.emacs.gnus.user Subject: gnus-posting-styles - how to match message with more than N lines ? Date: Sat, 24 Jul 2010 00:49:24 +0530 Organization: A noiseless patient Spider Message-ID: <8639vaypj7.fsf@personal.machine.of.sharard.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291957116 13454 80.91.229.12 (10 Dec 2010 04:58:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 04:58:36 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 10 05:58:32 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQv3u-00078b-Jp for gegu-info-gnus-english@m.gmane.org; Fri, 10 Dec 2010 05:58:31 +0100 Original-Received: from localhost ([127.0.0.1]:51950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQv3t-0004HX-Dz for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:58:29 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 18 Injection-Date: Fri, 23 Jul 2010 19:19:25 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="lLrbQe2LpT4BLEss3AXpSQ"; logging-data="20586"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vtQ/YEQ6KAttwWMi5GObN" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:D56AbzB50t6X+8cQ+1sf+yiuKLg= sha1:+wrNDog2Ay3VGbaephRu4MFZKm4= Jabber-ID: sh4r4d@gmail.com Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84553 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:27:57 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14217 Archived-At: 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