Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Re: nnmail-split-fancy: Can not split on Subject
Date: Sat, 08 Jul 2017 19:04:51 +0200	[thread overview]
Message-ID: <8760f2c11o.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <ygmzicft2rm.fsf@alpha>

Göktuğ writes:

> where ‘<redacted2>’ is a short word of only alphanumerical characters.
> What am I doing wrong?

There is this odd thing that a word-boundary match is tacked on to the
beginning and start of the regexp, which sometimes is confusing.

I usually get around it by sticking ".*" to either, or both, ends, when
it doesn't match as I expect it to.

You can also change the variable nnmail-split-fancy-match-partial-words.

(See
https://www.gnu.org/software/emacs/manual/html_node/gnus/Fancy-Mail-Splitting.html
starting from "Normally, value in theses split must match a complete
word"...)

Remember you can use B q (or even B t) to check your splits match as you
expect them to.


  Best regards,

    Adam

-- 
 "They were trying to make me an insider to some kind         Adam Sjøgren
  of trip they were on. I don't think so."               asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2017-07-08 17:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-08 14:35 Göktuğ Kayaalp
2017-07-08 17:04 ` Adam Sjøgren [this message]
2017-07-10 14:58   ` Göktuğ Kayaalp

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=8760f2c11o.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@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.
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).