From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53220 Path: main.gmane.org!not-for-mail From: Jan Rychter Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] add option to posting styles Date: Fri, 20 Jun 2003 01:05:12 -0700 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <84n0gd2p2u.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1056096387 12239 80.91.224.249 (20 Jun 2003 08:06:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2003 08:06:27 +0000 (UTC) Original-X-From: ding-owner+M1764@lists.math.uh.edu Fri Jun 20 10:06:25 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19TGtu-00038C-00 for ; Fri, 20 Jun 2003 10:05:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19TGtq-0004xR-00; Fri, 20 Jun 2003 03:05:34 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19TGtm-0004xM-00 for ding@lists.math.uh.edu; Fri, 20 Jun 2003 03:05:30 -0500 Original-Received: (qmail 85431 invoked by alias); 20 Jun 2003 08:05:29 -0000 Original-Received: (qmail 85426 invoked from network); 20 Jun 2003 08:05:29 -0000 Original-Received: from screech.rychter.com (212.87.11.114) by sclp3.sclp.com with SMTP; 20 Jun 2003 08:05:29 -0000 Original-Received: from tnuctip.rychter.com (unknown [10.197.0.2]) by screech.rychter.com (Postfix) with ESMTP id 50DBC4A600 for ; Fri, 20 Jun 2003 10:05:20 +0200 (CEST) Original-Received: from tnuctip.rychter.com (localhost.localdomain [127.0.0.1]) by tnuctip.rychter.com (8.12.8/8.12.8) with ESMTP id h5K85JaN004007 for ; Fri, 20 Jun 2003 01:05:24 -0700 Original-Received: (from jwr@localhost) by tnuctip.rychter.com (8.12.8/8.12.8/Submit) id h5K85D70004005; Fri, 20 Jun 2003 01:05:13 -0700 Original-To: ding@gnus.org X-Spammers-Please: blackholeme@rychter.com In-Reply-To: <84n0gd2p2u.fsf@lucy.is.informatik.uni-duisburg.de> (Kai =?iso-8859-1?q?Gro=DFjohann's?= message of "Fri, 20 Jun 2003 09:19:37 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53220 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53220 >>>>> "Kai" =3D=3D Kai Gro=DFjohann writes: Kai> Jan Rychter writes: >> Well, that won't really work. It works for new messages, but doesn't >> work for replies. The reason is that posting styles get applied very >> early in the process, so after mml-secure-message-sign-pgpmime >> inserts <\#secure method=3Dpgpmime mode=3Dsign>, supercite happily >> inserts the cited text and cites the mml marker as well. Kai> Two ideas: Kai> * Have the posting styles add a function buffer-locally to a hook Kai> that is run at a suitable time. Kai> * Have the posting styles set a variable and put a function into a Kai> hook run at the right time that looks at the variable and then Kai> DTRT. Kai> What do you think? Hmm. The first idea looks simpler. It's still hairy, but clearer than the second one. Is there a reason why posting styles have to be applied so early? --J.