Gnus development mailing list
 help / color / mirror / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: [CODE] Editing and resending an existing mail.
Date: Thu, 31 Jan 2002 09:12:49 -0500	[thread overview]
Message-ID: <2nu1t28v8e.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <vpqaduuhc5v.fsf@ubaye.imag.fr> (Matthieu Moy's message of "Thu, 31 Jan 2002 14:39:56 +0100")

Matthieu Moy <matthieumNOSPAM@yahoo.com.invalid> writes:

> Some time ago, I had written a  mail, and wanted to send it to someone
> else. 
>
> There is the function Resend Message, but it does not allow edition of
> the  article,  and  I  also  wanted to  change  something  inside  the
> message. I knew it in mutt (M-e), but did not find it in Gnus.

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.

> So, I wrote a little function to do that. Here it is. 
>
> On fr.comp.applications.emacs, some other people were interested in
> it, so, I wonder if this could be integrated in gnus itself. (isn't
> mutt supposed to be included in Gnus ;-)

You need sign a form before the code is formally included in Gnus.
I'll send you the request form.

[...]

> 	(message-narrow-to-head-1)
> 	(message-remove-header "Message-ID")
> 	(goto-char (point-max))
> 	;(forward-char -1)
> 	(insert "Message-ID: " (message-make-message-id) "\n")

This line is not necessary, because Gnus will generate it when
sending the message.


> 	(re-search-forward "^To:\\|^Newsgroups:")
> 	(forward-char 1)

Maybe we can replace these two lines with

 	(re-search-forward "^To: *\\|^Newsgroups: *" nil 'move)

ShengHuo



  reply	other threads:[~2002-01-31 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31 13:39 Matthieu Moy
2002-01-31 14:12 ` ShengHuo ZHU [this message]
2002-01-31 14:46   ` Matthieu Moy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2nu1t28v8e.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).