Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: gnus-button-mailto: doc bug or bug in message-get-reply-headers?
Date: Sat, 30 Dec 2006 21:37:26 +0100	[thread overview]
Message-ID: <v9irftyvax.fsf@marauder.physik.uni-ulm.de> (raw)

Hi,

`M-: (gnus-button-mailto "foo@bar.invalid") RET' gives a reply buffer
to the author of the current article, not to "foo@bar.invalid".

The doc-string suggests it does:

(defun gnus-button-mailto (address)
  "Mail to ADDRESS."
  (set-buffer (gnus-copy-article-buffer))
  (gnus-setup-message 'message
    (message-reply address)))

Is it a doc bug or a bug in `message-get-reply-headers'?

The call sequence is:

,----
|   [...]
|   message-get-reply-headers(nil "foo@bar.invalid")
|   [...]
|   message-reply("foo@bar.invalid")
|   gnus-button-mailto("foo@bar.invalid")
|   eval((gnus-button-mailto "foo@bar.invalid"))
`----

`message-get-reply-headers' seem to ignore the to-address argument
here.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




                 reply	other threads:[~2006-12-30 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=v9irftyvax.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).