From: "Roland Winkler" <winkler@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Use BBDB for `rmail-output' ?
Date: Tue, 12 Jun 2018 22:40:18 -0500 [thread overview]
Message-ID: <37410.73050.531304.23328@gargle.gargle.HOWL> (raw)
In-Reply-To: 83lgbpvd8v.fsf@gnu.org
End of last week I already tried to reply to this thread, but my
message was eaten up by the friendly autoauthorizer at Gmane.org.
Now I try again via help-gnu-emacs@gnu.org, though I may have
forgotten some details I wrote previously.
==================================================================
On Fri, Jun 08 2018, Eli Zaretskii wrote:
>> From: Robert Pluim <rpluim@gmail.com>
>> I suspect Xavier is talking about setting the output filename for
>> rmail-output based on a BBDB field.
>
> And rmail-output-file-alist doesn't help?
I am not an Rmail user. What is a typical usage of
rmail-output-file-alist? Reading the info node on Rmail Output, it
seems to me that the variable rmail-automatic-folder-directives is
better suited "to take inspiration from BBDB". The latter variable
reminds me of vm-auto-folder-alist that BBDB can populate
automatically. Essentially, the idea is to give each BBDB record a
field vm-folder (or rmail-folder), the value of which is the name of
the folder where you want to put the messages for this person (that
is, the messages having an email address of that person in the From
or To header). Then BBDB takes the email addresses of the BBDB
record of that person to construct a regexp that is added to
vm-auto-folder-alist, just like REGEXP in the docstring of
rmail-automatic-folder-directives.
So: it seems to me it would make sense to add similar code to BBDB
that can populate rmail-automatic-folder-directives. (Maintaining
vm-auto-folder-alist by hand can be rather painful, and
rmail-automatic-folder-directives is probably be similar in that
respect.)
Maybe there are also scenarios where BBDB could help with
rmail-output-file-alist.
next reply other threads:[~2018-06-13 3:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 3:40 Roland Winkler [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-08 4:56 Use BBDB for `rmail-output' ? Xavier Maillard
2018-06-08 6:55 ` Eli Zaretskii
2018-06-08 9:19 ` Robert Pluim
2018-06-08 9:28 ` Eli Zaretskii
2018-06-08 9:38 ` Robert Pluim
2018-06-08 15:14 ` Xavier Maillard
2018-06-08 15:10 ` Xavier Maillard
2018-06-08 15:07 ` Xavier Maillard
2018-06-08 16:24 ` Robert Pluim
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=37410.73050.531304.23328@gargle.gargle.HOWL \
--to=winkler@gnu.org \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.