From: David Masterson <dsmasterson92630@outlook.com>
To: Jamie Beardslee <jdb@jamzattack.xyz>
Cc: help-gnu-emacs@gnu.org
Subject: Re: nnimap-split-methods ?
Date: Sun, 30 Aug 2020 19:08:06 -0700 [thread overview]
Message-ID: <SN6PR01MB4493CDC6EA835AE2106691E99B510@SN6PR01MB4493.prod.exchangelabs.com> (raw)
In-Reply-To: <87k0xi11rk.fsf@jamzattack.xyz> (Jamie Beardslee's message of "Sat, 29 Aug 2020 17:04:15 +1200")
Jamie Beardslee <jdb@jamzattack.xyz> writes:
> David Masterson <dsmasterson92630@outlook.com> writes:
>> (setq nnimap-split-methods
>> '(
>> ("mail.orgmode" "^\(To:\|Cc:\).*emacs-orgmode@gnu.org")
>> ("mail.emacs" "^\(To:\|Cc:\).*help-gnu-emacs@gnu.org")
>> ("mail.misc" "")
>> )
>> )
>
> The backslashes are being swallowed by Elisp's string syntax. i.e. "\("
> means the same thing as "(", you need to escape the backslash "\\(".
>
> Try this:
>
> (setq nnimap-split-methods
> '(("mail.orgmode" "^\\(To:\\|Cc:\\).*emacs-orgmode@gnu.org")
> ("mail.emacs" "^\\(To:\\|Cc:\\).*help-gnu-emacs@gnu.org")
> ("mail.misc" "")))
>
Ah! That makes sense. Thanks
--
David Masterson
next prev parent reply other threads:[~2020-08-31 2:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-29 3:43 nnimap-split-methods ? David Masterson
2020-08-29 5:04 ` Jamie Beardslee
2020-08-31 2:08 ` David Masterson [this message]
2020-08-31 23:12 ` David Masterson
2020-08-31 23:22 ` David Masterson
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SN6PR01MB4493CDC6EA835AE2106691E99B510@SN6PR01MB4493.prod.exchangelabs.com \
--to=dsmasterson92630@outlook.com \
--cc=help-gnu-emacs@gnu.org \
--cc=jdb@jamzattack.xyz \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).