From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42832 Path: main.gmane.org!not-for-mail From: Matthieu Moy Newsgroups: gmane.emacs.gnus.general Subject: Re: [CODE] Editing and resending an existing mail. Date: Thu, 31 Jan 2002 15:46:34 +0100 Organization: Verimag Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nu1t28v8e.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178023 14307 80.91.224.250 (21 Oct 2002 05:27:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:27:03 +0000 (UTC) Return-Path: Original-Received: (qmail 26554 invoked from network); 31 Jan 2002 14:48:04 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 31 Jan 2002 14:48:04 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16WIV9-00061i-00; Thu, 31 Jan 2002 08:47:47 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 31 Jan 2002 08:47:32 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA00210 for ; Thu, 31 Jan 2002 08:46:42 -0600 (CST) Original-Received: (qmail 26530 invoked by alias); 31 Jan 2002 14:46:40 -0000 Original-Received: (qmail 26525 invoked from network); 31 Jan 2002 14:46:39 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 31 Jan 2002 14:46:39 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16WIYh-00065Z-00 for ; Thu, 31 Jan 2002 15:51:27 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 31 Original-NNTP-Posting-Host: ubaye.imag.fr Original-X-Trace: quimby2.netfonds.no 1012488687 23408 129.88.43.88 (31 Jan 2002 14:51:27 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 31 Jan 2002 14:51:27 GMT X-Home-Page: http://www-ensimag.imag.fr/eleves/Matthieu.Moy/ X-Url: http://www-ensimag.imag.fr/eleves/Matthieu.Moy/ X-Face: %xEb27l:C~bcH,tGGRk8m'o_}XBMb*NoIbS$sp(:3s+l@PwMH+C*7Vf@Y_]%rP)*/'`Lpt[O9C;jbVo?Qp User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) Cancel-Lock: sha1:CbTXiPETWGdvgeHDIHKffZmPwYQ= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42832 ShengHuo ZHU writes: > I use gnus-summary-supersede-article to do a similar job. Maybe its > name is confusing for such a job or it cancels the existing article. It is supposed to modify an already posted news article (cancel the old one, and put the new one instead, with the same message-ID), but should have no sense for mail. The only real difference is that supersede changes the header message-ID into Supersed or something like that. It can work, but is probably not very RFC compliant ... No objection to the other suggestions. I do it right now. Some slight modification should be done to put the keyboard shortcut in the global map, and same for the menu. -- Matthieu 55a56 > ;; Gnus will generate a new one when sending. 57,59d57 < (goto-char (point-max)) < ;(forward-char -1) < (insert "Message-ID: " (message-make-message-id) "\n") 64,65c62 < (re-search-forward "^To:\\|^Newsgroups:") < (forward-char 1) --- > (re-search-forward "^To: *\\|^Newsgroups: *" nil 'move)