From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3597 Path: news.gmane.org!not-for-mail From: Bob Bernstein Newsgroups: gmane.emacs.gnus.user Subject: Re: boxquote: Article ID? Date: Sat, 06 Mar 2004 23:14:41 -0500 Organization: Cox Communications Message-ID: <86llmd9tu6.fsf@trollboy.legomenon.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669658 19536 80.91.229.2 (31 Jan 2006 01:07:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:07:38 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:27 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!newsfeed.wirehub.nl!newsfeed.stueberl.de!peer01.cox.net!cox.net!p01!lakeread04.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/20.7 (berkeley-unix) Cancel-Lock: sha1:Nv3pTLdmT5TEl/JAxUdIoYxTAao= Original-NNTP-Posting-Host: 68.9.97.86 Original-X-Complaints-To: abuse@cox.net Original-X-Trace: lakeread04 1078633008 68.9.97.86 (Sat, 06 Mar 2004 23:16:48 EST) Original-NNTP-Posting-Date: Sat, 06 Mar 2004 23:16:48 EST Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3738 Original-Lines: 26 X-Gnus-Article-Number: 3738 Tue Jan 17 17:32:27 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3597 Archived-At: ,----[ ] | > (setq boxquote-kill-ring-save-title | > #'(lambda () | > (if (string= mode-name \"Article\") | > (aref gnus-current-headers 4) | > (buffer-name)))) `---- The answer is: the quotes around "Article" do not need to be escaped. (if (string= mode-name "Article") ...works just fine. Thanks for the feedback! -- Bob Bernstein ...in the common Practice of the World, those who possess most Wealth, make the least Parade; which they leave to others, who have nothing else to bear them out, in shewing their Faces on the Exchange. Jonathan Swift, "A Short View of the State of Ireland", 1727