From: Tassilo Horn <tsdh@gnu.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: gnus-add-to-list doesn't work for all groups
Date: Tue, 09 Oct 2012 12:09:51 +0200 [thread overview]
Message-ID: <874nm4dki8.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <b4mtxu4hve5.fsf@jpl.org> (Katsumi Yamaoka's message of "Tue, 09 Oct 2012 18:01:06 +0900")
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> This requires using the `a' command to start composing a mail.
I think, I did so in my original mail starting this thread. [This
turned out to be wrong; see below.]
> Moreover, the function to send a mail should be one of the message.el
> functions that understands `message-send-actions'. See its value in a
> mail beffer; it should have this element:
>
> (gnus-inews-add-to-address "GroupName")
Ok, so now I've hit `a' in my ding group and got a new *unsent mail*
message-mode buffer with this value.
,----
| message-send-actions is a variable defined in `message.el'.
| Its value is
| ((when
| (gnus-buffer-exists-p "*Summary nnimap+Fastmail:INBOX.mailinglists.ding*")
| (with-current-buffer "*Summary nnimap+Fastmail:INBOX.mailinglists.ding*" nil))
| (gnus-inews-add-to-address "nnimap+Fastmail:INBOX.mailinglists.ding"))
|
| Local in buffer *unsent mail*; global value is nil
|
| Documentation:
| A list of actions to be performed upon successful sending of a message.
`----
So that looks good to me. In that mail, I added myself as To, and now I
should be queried if my own address should be added as to-list for my
ding group.
I've done edebug-defun on `gnus-inews-add-to-address' and am now sending
off the mail with `message-send-and-exit'... Gosh, it worked, I was
queried!!
OMG, now I know what I was doing wrong all the time. When I want to
compose a mail to a list it goes like:
1. `a' ; Shit, empty To. Don't want to hand-edit!
2. `C-x k RET' ; Kill the *unsent mail* buffer
3. `RET' ; Select some random article from the summary
4. Move point to To: ding@gnus.org and `RET' which creates a new
*unsent mail* buffer with To prefilled.
So, yes, that's not `a'. ;-)
However, maybe it would make sense if `RET' on an email address had the
same effect as `a' rather than `m'...
Bye,
Tassilo
next prev parent reply other threads:[~2012-10-09 10:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-09 6:55 Tassilo Horn
2012-10-09 7:56 ` Katsumi Yamaoka
2012-10-09 8:26 ` Tassilo Horn
2012-10-09 9:01 ` Katsumi Yamaoka
2012-10-09 10:09 ` Tassilo Horn [this message]
2012-10-09 11:02 ` Katsumi Yamaoka
2012-10-09 11:17 ` Tassilo Horn
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=874nm4dki8.fsf@thinkpad.tsdh.de \
--to=tsdh@gnu.org \
--cc=ding@gnus.org \
--cc=yamaoka@jpl.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).