From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63912 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: calling gnus-article-fill-cited-article only for a given group Date: Sun, 29 Oct 2006 21:49:13 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162155171 15061 80.91.229.2 (29 Oct 2006 20:52:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2006 20:52:51 +0000 (UTC) Original-X-From: ding-owner+m12439@lists.math.uh.edu Sun Oct 29 21:52:49 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GeHe0-0002KH-C3 for ding-account@gmane.org; Sun, 29 Oct 2006 21:52:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GeHdv-0004kd-00; Sun, 29 Oct 2006 14:52:31 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GeHba-0004kX-00 for ding@lists.math.uh.edu; Sun, 29 Oct 2006 14:50:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1GeHbT-0003Cp-MV for ding@lists.math.uh.edu; Sun, 29 Oct 2006 14:50:06 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GeHbN-0005AU-00 for ; Sun, 29 Oct 2006 21:49:53 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GeHbC-0001i3-Ed for ding@gnus.org; Sun, 29 Oct 2006 21:49:42 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Oct 2006 21:49:42 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Oct 2006 21:49:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:UWfRW3qafx4JNdZGZrkq+7xzt7k= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63912 Archived-At: On Sun, Oct 29 2006, Michael Cook wrote: > For a given group (and only that group), I want > gnus-article-fill-cited-article invoked when displaying articles. > What's the right way to get that to happen? > > I think I want to do > > (add-hook 'gnus-article-prepare-hook 'gnus-article-fill-cited-article)) > > but how do I get that to be in effect only for a given group. Setting `gnus-treat-fill-article' to t for that group (via `gnus-parameters' or `G c') should have the same effect? > In particular, after I leave this group, > gnus-article-fill-cited-article should no longer be on > gnus-article-prepare-hook. You need to make the hook buffer local and set it as follows in `gnus-posting-styles': ("gmane\\.network\\.leafnode" (eval (add-hook (make-local-variable 'gnus-message-setup-hook) 'rs-message-insert-in-reply-to))) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/