From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35921 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Posting styles and PGP integration? Date: 19 Apr 2001 11:23:40 +1000 Organization: Not today, thank you, Mother. Message-ID: <871yqphecj.fsf@inanna.rimspace.net> References: <87hezmnbmh.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171593 5726 80.91.224.250 (21 Oct 2002 03:39:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:39:53 +0000 (UTC) Keywords: daniel Return-Path: Original-Received: (qmail 13591 invoked by alias); 19 Apr 2001 01:24:34 -0000 Original-Received: (qmail 13579 invoked from network); 19 Apr 2001 01:24:33 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (203.36.211.210) by gnus.org with SMTP; 19 Apr 2001 01:24:33 -0000 Original-Received: from localhost (melancholia.rimspace.net [203.36.211.210]) by melancholia.danann.net (Postfix) with ESMTP id BE8972A821 for ; Thu, 19 Apr 2001 11:24:18 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id A3E99820FA; Thu, 19 Apr 2001 11:23:41 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: (Andreas Fuchs's message of "Wed, 18 Apr 2001 06:29:40 +0200") X-Homepage: http://danann.net/ X-spies: class struggle SDI Craig Livingstone Nazi arrangements cypherpunk Rule Psix Vickie Weaver Ortega Delta Force World Trade Center explosion FBI Vince Foster Janet Reno User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.2 (Urania) Original-Lines: 29 Xref: main.gmane.org gmane.emacs.gnus.general:35921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35921 On Wed, 18 Apr 2001, Andreas Fuchs wrote: > Today, Daniel Pittman wrote: >> (setq gnus-posting-styles '(("mail.pgp-sign-required" >> (body " > ")))) > > Oh, darn. (-% Darn indeed. That'll teach me to speak without testing. :? > That's not quite it, for when I reply to a mail by quoting it (with F > or R), the <##part...> stuff is inserted _below_ the quotation, which > is not a Good Thing, IMHO. Is there a way to move this to the first > line in a message? With message-setup-hook, perhaps? (defun dp:add-signed-part-tag () "Automatically add a signature tag to a message..." (save-excursion (message-goto-body) (insert "<#part sign=pgpmime>\n\n"))) (add-hook 'message-setup-hook 'dp:add-signed-part-tag) That should do it, modulo testing. :) Daniel -- Recursion is the root of computation since it trades description for time. -- Alan Perlis