From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: strange behaviour of gnus-summary-mail-forward.
Date: Thu, 12 Jan 2012 16:08:48 +0100 [thread overview]
Message-ID: <87vcohdklb.fsf@gilgamesch.quim.ucm.es> (raw)
In-Reply-To: <87k44xujno.fsf_-_@gilgamesch.quim.ucm.es>
Oops error in the function I sent: this should work in
general:
(defun my-gnus-reply-mail-forward (&optional arg)
"This function is to be used within a reply or forward buffer,
marked messages will be inserted as forwarded messages."
(interactive)
(if (y-or-n-p (format "Did you mark the msg in the summary buffer? "))
(progn
(save-excursion
(let ((currentname (current-buffer)))
(switch-to-buffer gnus-summary-buffer)
(goto-char (point-max))
(search-backward "#")
(gnus-summary-mail-forward arg)
(mail-text)
(copy-region-as-kill (point) (point-max))
(switch-to-buffer currentname)
(goto-char (point-max))
(yank nil))))
(progn
(message "You did NOT mark the msg, you fool!")
(beep)
(sleep-for 1)
(beep)
(sleep-for 1)
(beep))))
prev parent reply other threads:[~2012-01-12 15:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-03 17:16 reply to one message and at the same time forward another Uwe Brauer
2012-01-03 21:03 ` Lars Magne Ingebrigtsen
2012-01-09 21:17 ` Uwe Brauer
2012-01-27 17:18 ` Lars Ingebrigtsen
2012-01-27 22:52 ` Dave Goldberg
2012-01-12 12:10 ` some solution but n>1 (was: reply to one message and at the same time forward another) Uwe Brauer
2012-01-12 13:36 ` strange behaviour of gnus-summary-mail-forward. (was: some solution but n>1) Uwe Brauer
2012-01-12 15:08 ` Uwe Brauer [this message]
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=87vcohdklb.fsf@gilgamesch.quim.ucm.es \
--to=oub@mat.ucm.es \
--cc=ding@gnus.org \
/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).