* Re: Why asterisks in nnmail-split-fancy rule? [not found] ` <84znl46967.fsf@lucy.is.informatik.uni-duisburg.de> @ 2003-05-30 15:53 ` Svend Tollak Munkejord 2003-05-30 15:57 ` Svend Tollak Munkejord [not found] ` <87ptm0edoa.fsf@mail.paradoxical.net> 1 sibling, 1 reply; 7+ messages in thread From: Svend Tollak Munkejord @ 2003-05-30 15:53 UTC (permalink / raw) Today, Kai Großjohann <kai.grossjohann@gmx.net> wrote: > Svend Tollak Munkejord <stm@bacchus.pvv.org> writes: > >> What is the difference, in nnmail-split-fancy, between >> >> (from "foo" "mail.foo") >> >> and >> >> (from ".*foo.*" "mail.foo") ? > > Fancy splitting implicitly adds \\<...\\> around the value. This > means that you can't use "xy@" as the value: because "@" is not a > word constituent, a word can never end there, so "xy@\\>" will never > match. That's why you have to use "xy@.*". OK, but I did not use any "@", only a surname string. I am puzzled, because the first rule (without .*) worked on a message from "Peter Foo", but not on a message from "Mike Foo", and by staring at the headers of those messages, I cannot figure out where this effect comes from. -- Svend Tollak Munkejord ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why asterisks in nnmail-split-fancy rule? 2003-05-30 15:53 ` Why asterisks in nnmail-split-fancy rule? Svend Tollak Munkejord @ 2003-05-30 15:57 ` Svend Tollak Munkejord [not found] ` <hddn0h4tni8.fsf@bacchus.pvv.ntnu.no> 0 siblings, 1 reply; 7+ messages in thread From: Svend Tollak Munkejord @ 2003-05-30 15:57 UTC (permalink / raw) I wrote: > Today, Kai Großjohann <kai.grossjohann@gmx.net> wrote: > >> Svend Tollak Munkejord <stm@bacchus.pvv.org> writes: >> >>> What is the difference, in nnmail-split-fancy, between >>> >>> (from "foo" "mail.foo") >>> >>> and >>> >>> (from ".*foo.*" "mail.foo") ? >> >> Fancy splitting implicitly adds \\<...\\> around the value. This >> means that you can't use "xy@" as the value: because "@" is not a >> word constituent, a word can never end there, so "xy@\\>" will never >> match. That's why you have to use "xy@.*". > > OK, but I did not use any "@", only a surname string. I am puzzled, > because the first rule (without .*) worked on a message from "Peter Foo", > but not on a message from "Mike Foo", and by staring at the headers of > those messages, I cannot figure out where this effect comes from. And I forgot to say that the strange message also really needed the first ".*" in ".*foo.*". -- Svend Tollak Munkejord ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <hddn0h4tni8.fsf@bacchus.pvv.ntnu.no>]
* Re: Why asterisks in nnmail-split-fancy rule? [not found] ` <hddn0h4tni8.fsf@bacchus.pvv.ntnu.no> @ 2003-05-30 19:38 ` Kai Großjohann 2003-05-31 12:46 ` Svend Tollak Munkejord 0 siblings, 1 reply; 7+ messages in thread From: Kai Großjohann @ 2003-05-30 19:38 UTC (permalink / raw) Svend Tollak Munkejord <stm@bacchus.pvv.org> writes: > From: =?iso-8859-1?q?Mike=20Foo?= <someaddress@yahoo.no> > > (This is a bit strange, since the name does not any øæå or other `special' > characters). > > Is this the reason why I would need the ".*"s? I do not understand this, > since the string "foo" is still there. In the string "20Foo", F is not the beginning of a word, so the string does not match "\\<Foo\\>". -- This line is not blank. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why asterisks in nnmail-split-fancy rule? 2003-05-30 19:38 ` Kai Großjohann @ 2003-05-31 12:46 ` Svend Tollak Munkejord 0 siblings, 0 replies; 7+ messages in thread From: Svend Tollak Munkejord @ 2003-05-31 12:46 UTC (permalink / raw) On 2003-05-30, Kai Großjohann <kai.grossjohann@gmx.net> wrote: > Svend Tollak Munkejord <stm@bacchus.pvv.org> writes: > >> From: =?iso-8859-1?q?Mike=20Foo?= <someaddress@yahoo.no> >> >> (This is a bit strange, since the name does not any øæå or other >> `special' characters). >> >> Is this the reason why I would need the ".*"s? I do not understand this, >> since the string "foo" is still there. > > In the string "20Foo", F is not the beginning of a word, so the > string does not match "\\<Foo\\>". Ah, I see. Thanks for your help! -- Svend Tollak Munkejord ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <87ptm0edoa.fsf@mail.paradoxical.net>]
* Re: Why asterisks in nnmail-split-fancy rule? [not found] ` <87ptm0edoa.fsf@mail.paradoxical.net> @ 2003-05-30 16:44 ` Kai Großjohann [not found] ` <4nbrxk858v.fsf@lockgroove.bwh.harvard.edu> 0 siblings, 1 reply; 7+ messages in thread From: Kai Großjohann @ 2003-05-30 16:44 UTC (permalink / raw) Josh Huber <huber@alum.wpi.edu> writes: > It seems like many people are confused by this...what is the rationale > behind it? Was the purpose to make it not-so-surprising to people who > don't know regular expressions? It was an attempt at DWIM. But DWIM is difficult. With this, you could put (from "josh" "bla") and (from "joshua" "lala") into nnmail-split-fancy and not be surprised. Of course, (from "josh" "bla") and (from "josh-smith" "lala") will still be surprising. However, I find that it works sufficiently well to just use simple words in the rules, it does what I need it seems. -- This line is not blank. ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <4nbrxk858v.fsf@lockgroove.bwh.harvard.edu>]
[parent not found: <84he7b2yk9.fsf@lucy.is.informatik.uni-duisburg.de>]
[parent not found: <4nsmqv5nv8.fsf@lockgroove.bwh.harvard.edu>]
[parent not found: <84d6hzdw4u.fsf@lucy.is.informatik.uni-duisburg.de>]
[parent not found: <4nof1i6duy.fsf@lockgroove.bwh.harvard.edu>]
[parent not found: <848yslraqf.fsf@lucy.is.informatik.uni-duisburg.de>]
[parent not found: <u4r39li99.fsf@att.net>]
[parent not found: <84he783oju.fsf@lucy.is.informatik.uni-duisburg.de>]
[parent not found: <uadd0a6wx.fsf@att.net>]
[parent not found: <84n0gzzo9b.fsf@lucy.is.informatik.uni-duisburg.de>]
* Re: Why asterisks in nnmail-split-fancy rule? [not found] ` <84n0gzzo9b.fsf@lucy.is.informatik.uni-duisburg.de> @ 2003-06-04 0:07 ` Michael R. Wolf [not found] ` <wc3vfvn9cr1.fsf@gamma.cis.ohio-state.edu> 1 sibling, 0 replies; 7+ messages in thread From: Michael R. Wolf @ 2003-06-04 0:07 UTC (permalink / raw) kai.grossjohann@gmx.net (Kai Großjohann) writes: > Michael R. Wolf <MichaelRunningWolf@att.net> writes: > >> I understand. That's how I found it. In addition, I think that >> restating the need for restriction at the message-fetch-field level >> would be helpful. > > Documented. Will commit soon. Thanks, but as Benjamin suggested, I'd prefer to see his *total* solution get applied. He did a great job of researching where the code changes should be made to bring it into alignment with the doc change. And he created a patch, too. -- Michael R. Wolf All mammals learn by playing! MichaelRunningWolf@att.net ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <wc3vfvn9cr1.fsf@gamma.cis.ohio-state.edu>]
* Re: Why asterisks in nnmail-split-fancy rule? [not found] ` <wc3vfvn9cr1.fsf@gamma.cis.ohio-state.edu> @ 2003-06-06 21:09 ` Kai Großjohann 0 siblings, 0 replies; 7+ messages in thread From: Kai Großjohann @ 2003-06-06 21:09 UTC (permalink / raw) Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes: > While we're on the topic, could you instead consider the patch I sent > recently to the ding list? My patch fixes the doc for > `message-fetch-field' as well as fixes a number of bugs in usages of > `message-fetch-field'. > > It's a little frustrating to see my patch ignored, and then see part > of my efforts reproduced a week later. *blush* I continually hit M-u on that message to keep it on my todo list. Maybe I should take the chance on the pentecost weekend to take a break from searching for a new job and relax a bit instead with Gnus hacking and patch integration and debugging and stuff... (I still wonder where that memory is going when I `J s'...) -- This line is not blank. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-06-06 21:09 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <hddk7c8vpwa.fsf@bacchus.pvv.ntnu.no> [not found] ` <84znl46967.fsf@lucy.is.informatik.uni-duisburg.de> 2003-05-30 15:53 ` Why asterisks in nnmail-split-fancy rule? Svend Tollak Munkejord 2003-05-30 15:57 ` Svend Tollak Munkejord [not found] ` <hddn0h4tni8.fsf@bacchus.pvv.ntnu.no> 2003-05-30 19:38 ` Kai Großjohann 2003-05-31 12:46 ` Svend Tollak Munkejord [not found] ` <87ptm0edoa.fsf@mail.paradoxical.net> 2003-05-30 16:44 ` Kai Großjohann [not found] ` <4nbrxk858v.fsf@lockgroove.bwh.harvard.edu> [not found] ` <84he7b2yk9.fsf@lucy.is.informatik.uni-duisburg.de> [not found] ` <4nsmqv5nv8.fsf@lockgroove.bwh.harvard.edu> [not found] ` <84d6hzdw4u.fsf@lucy.is.informatik.uni-duisburg.de> [not found] ` <4nof1i6duy.fsf@lockgroove.bwh.harvard.edu> [not found] ` <848yslraqf.fsf@lucy.is.informatik.uni-duisburg.de> [not found] ` <u4r39li99.fsf@att.net> [not found] ` <84he783oju.fsf@lucy.is.informatik.uni-duisburg.de> [not found] ` <uadd0a6wx.fsf@att.net> [not found] ` <84n0gzzo9b.fsf@lucy.is.informatik.uni-duisburg.de> 2003-06-04 0:07 ` Michael R. Wolf [not found] ` <wc3vfvn9cr1.fsf@gamma.cis.ohio-state.edu> 2003-06-06 21:09 ` Kai Großjohann
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).