Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: nnimap-split-fancy
       [not found] <mailman.5.1292548275.31723.info-gnus-english@gnu.org>
@ 2010-12-17  9:38 ` Adam Sjøgren
  2010-12-17 10:36   ` nnimap-split-fancy Richard Riley
                     ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Adam Sjøgren @ 2010-12-17  9:38 UTC (permalink / raw)
  To: info-gnus-english

On Thu, 16 Dec 2010 19:10:49 -0600, Tommy wrote:

> 		   ("from" ".*domain1\\.com" "emails-from-domain1)
                                                                 ^
                                                             Missing ".

> 		   ("from" ".*domain2\\.com" "emails-from-domain2)
                                                                 ^
                                                              Ditto.

I often find that the easiest way to debug regexp-matching in Emacs is
to start with something extremely simple that works, and then gradually
adding things I think should work until they don't - it helps
pinpointing where I have forgotten some \'s or something (I am used to
Perls regexp syntax, so remembering all the leaning toothpicks in Emacs
regexps is sometimes a problem :-))


  Best regards,

    Adam

-- 
 "Accept the mystery!"                                        Adam Sjøgren
                                                         asjo@koldfront.dk

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: nnimap-split-fancy
  2010-12-17  9:38 ` nnimap-split-fancy Adam Sjøgren
@ 2010-12-17 10:36   ` Richard Riley
  2010-12-17 15:09   ` nnimap-split-fancy Tommy Kelly
       [not found]   ` <mailman.4.1292598585.3076.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 19+ messages in thread
From: Richard Riley @ 2010-12-17 10:36 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Thu, 16 Dec 2010 19:10:49 -0600, Tommy wrote:
>
>> 		   ("from" ".*domain1\\.com" "emails-from-domain1)
>                                                                  ^
>                                                              Missing ".
>
>> 		   ("from" ".*domain2\\.com" "emails-from-domain2)
>                                                                  ^
>                                                               Ditto.
>
> I often find that the easiest way to debug regexp-matching in Emacs is
> to start with something extremely simple that works, and then gradually
> adding things I think should work until they don't - it helps
> pinpointing where I have forgotten some \'s or something (I am used to
> Perls regexp syntax, so remembering all the leaning toothpicks in Emacs
> regexps is sometimes a problem :-))
>
>   Best regards,
>
>     Adam

There is also the wonderful regexp-builder.

regards

r.


-- 
☘ http://www.shamrockirishbar.com, http://splash-of-open-sauce.blogspot.com/ http://www.richardriley.net

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: nnimap-split-fancy
  2010-12-17  9:38 ` nnimap-split-fancy Adam Sjøgren
  2010-12-17 10:36   ` nnimap-split-fancy Richard Riley
@ 2010-12-17 15:09   ` Tommy Kelly
  2010-12-17 17:30     ` About toothpicks (was Re: nnimap-split-fancy) Štěpán Němec
  2010-12-18 19:12     ` nnimap-split-fancy Eric S Fraga
       [not found]   ` <mailman.4.1292598585.3076.info-gnus-english@gnu.org>
  2 siblings, 2 replies; 19+ messages in thread
From: Tommy Kelly @ 2010-12-17 15:09 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Thu, 16 Dec 2010 19:10:49 -0600, Tommy wrote:
>
>> 		   ("from" ".*domain1\\.com" "emails-from-domain1)
>                                                                  ^
>                                                              Missing ".

Thanks Adam, but that's my bad. I omitted the closing quotes as I
created my email message. The original .gnus was correct (font and
indentation would have shown up that error a mile away).

But it was, as I say, my bad. Ignore me for now while I prepare a
definitive problem case.

But a question in the meantime:

> ... it helps
> pinpointing where I have forgotten some \'s or something (I am used to
> Perls regexp syntax, so remembering all the leaning toothpicks in Emacs
> regexps is sometimes a problem :-))

Yeah, me too. For example: why does the . in domain1.com require the
"\\" when included in the fancy split approach, but no toothpicks at all
are needed when the same string is included in the normal (non fancy)
approach?

At first I assumed it was because in the fancy approach the string is a regexp
while in non-fancy it's just a plain string. But that's not true is it? The
use of things like "^" and ".*"  in non-fancy shows it's a regexp too,
no?

Tommy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* About toothpicks (was Re: nnimap-split-fancy)
  2010-12-17 15:09   ` nnimap-split-fancy Tommy Kelly
@ 2010-12-17 17:30     ` Štěpán Němec
  2010-12-17 22:39       ` Tommy Kelly
  2010-12-18 19:12     ` nnimap-split-fancy Eric S Fraga
  1 sibling, 1 reply; 19+ messages in thread
From: Štěpán Němec @ 2010-12-17 17:30 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: info-gnus-english

Tommy Kelly <tommy.kelly@verilab.com> writes:

> asjo@koldfront.dk (Adam Sjøgren) writes:

>> ... it helps
>> pinpointing where I have forgotten some \'s or something (I am used to
>> Perls regexp syntax, so remembering all the leaning toothpicks in Emacs
>> regexps is sometimes a problem :-))
>
> Yeah, me too. For example: why does the . in domain1.com require the
> "\\" when included in the fancy split approach, but no toothpicks at all
> are needed when the same string is included in the normal (non fancy)
> approach?
>
> At first I assumed it was because in the fancy approach the string is a regexp
> while in non-fancy it's just a plain string. But that's not true is it? The
> use of things like "^" and ".*"  in non-fancy shows it's a regexp too,
> no?

It's really simple. '.' matches anything except newline, including a
dot. If you want to match a literal dot, you need '\.', but inside lisp
strings, double quotes and backslashes must be escaped with a backslash,
so what you end up with is "\\.".

  Štěpán

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: nnimap-split-fancy
       [not found]   ` <mailman.4.1292598585.3076.info-gnus-english@gnu.org>
@ 2010-12-17 21:18     ` Adam Sjøgren
  0 siblings, 0 replies; 19+ messages in thread
From: Adam Sjøgren @ 2010-12-17 21:18 UTC (permalink / raw)
  To: info-gnus-english

On Fri, 17 Dec 2010 09:09:13 -0600, Tommy wrote:

> Thanks Adam, but that's my bad. I omitted the closing quotes as I
> created my email message. The original .gnus was correct (font and
> indentation would have shown up that error a mile away).

Always copy/paste and change as little as possible before posting -
sometimes the devil is in the detail.

> Yeah, me too. For example: why does the . in domain1.com require the
> "\\" when included in the fancy split approach, but no toothpicks at all
> are needed when the same string is included in the normal (non fancy)
> approach?

I don't use it enough to care to remember, so I test when I need it.


  Best regards,

    Adam

-- 
 "Accept the mystery!"                                        Adam Sjøgren
                                                         asjo@koldfront.dk

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: About toothpicks (was Re: nnimap-split-fancy)
  2010-12-17 17:30     ` About toothpicks (was Re: nnimap-split-fancy) Štěpán Němec
@ 2010-12-17 22:39       ` Tommy Kelly
  2010-12-18  8:16         ` Error in (info "(gnus)Splitting Mail") Štěpán Němec
       [not found]         ` <mailman.13.1292660334.28168.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 19+ messages in thread
From: Tommy Kelly @ 2010-12-17 22:39 UTC (permalink / raw)
  To: info-gnus-english

Štěpán Němec <stepnem@gmail.com> writes:
> ...If you want to match a literal dot, you need '\.', but inside lisp
> strings, double quotes and backslashes must be escaped with a backslash,
> so what you end up with is "\\.".

Thanks Štěpán. I think I'd figure that but what was confusing me was the
fact that an unescaped dot was shown in examples for the non-fancy
split method. For example, in info "6.3.3 Splitting Mail" you see an
example of:

     ("list.\\1" "From:.* \\(.*\\)-list@majordomo.com")

So shouldn't the dot after "majordomo" be double escaped?

Tommy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Error in (info "(gnus)Splitting Mail")
  2010-12-17 22:39       ` Tommy Kelly
@ 2010-12-18  8:16         ` Štěpán Němec
       [not found]         ` <mailman.13.1292660334.28168.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 19+ messages in thread
From: Štěpán Němec @ 2010-12-18  8:16 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: info-gnus-english, ding

Tommy Kelly <tommy.kelly@verilab.com> writes:

> Thanks Štěpán. I think I'd figure that but what was confusing me was the
> fact that an unescaped dot was shown in examples for the non-fancy
> split method. For example, in info "6.3.3 Splitting Mail" you see an
> example of:
>
>      ("list.\\1" "From:.* \\(.*\\)-list@majordomo.com")
>
> So shouldn't the dot after "majordomo" be double escaped?

Yeah, that's obviously just an error in the documentation, but a mostly
harmless one, as "." matches the dot anyway...

Cc-ing the ding list.

  Štěpán

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
       [not found]         ` <mailman.13.1292660334.28168.info-gnus-english@gnu.org>
@ 2010-12-18 18:45           ` Lars Magne Ingebrigtsen
  2010-12-18 22:33             ` Tommy Kelly
  0 siblings, 1 reply; 19+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-12-18 18:45 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: info-gnus-english, ding, Tommy Kelly

Štěpán Němec <stepnem@gmail.com> writes:

>>      ("list.\\1" "From:.* \\(.*\\)-list@majordomo.com")
>>
>> So shouldn't the dot after "majordomo" be double escaped?
>
> Yeah, that's obviously just an error in the documentation, but a mostly
> harmless one, as "." matches the dot anyway...

It's more readable without the \\, and the chance for false positives is
minuscule, so I think I'll just leave it as is.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: nnimap-split-fancy
  2010-12-17 15:09   ` nnimap-split-fancy Tommy Kelly
  2010-12-17 17:30     ` About toothpicks (was Re: nnimap-split-fancy) Štěpán Němec
@ 2010-12-18 19:12     ` Eric S Fraga
  1 sibling, 0 replies; 19+ messages in thread
From: Eric S Fraga @ 2010-12-18 19:12 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: info-gnus-english

Tommy Kelly <tommy.kelly@verilab.com> writes:

[...]

> Yeah, me too. For example: why does the . in domain1.com require the
> "\\" when included in the fancy split approach, but no toothpicks at all
> are needed when the same string is included in the normal (non fancy)
> approach?

Well, because "." matches any character, including "."...

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 + No Gnus v0.11

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-18 18:45           ` Lars Magne Ingebrigtsen
@ 2010-12-18 22:33             ` Tommy Kelly
  2010-12-19 14:27               ` Ted Zlatanov
  0 siblings, 1 reply; 19+ messages in thread
From: Tommy Kelly @ 2010-12-18 22:33 UTC (permalink / raw)
  To: info-gnus-english; +Cc: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Štěpán Němec <stepnem@gmail.com> writes:
>
>>>      ("list.\\1" "From:.* \\(.*\\)-list@majordomo.com")
>>>
>>> So shouldn't the dot after "majordomo" be double escaped?
>>
>> Yeah, that's obviously just an error in the documentation, but a mostly
>> harmless one, as "." matches the dot anyway...
>
> It's more readable without the \\, and the chance for false positives is
> minuscule, so I think I'll just leave it as is.

So: 

The person who wrote the stuff, understands it in intense
detail without the documentation, and therefore has little or no need
of the documentation thinks the documentation is more readable as it is.

The person who is trying to learn the stuff, and must rely heavily on
said documentation thinks the documentation would be more readable with a
a minor fix.

Hmmm.

:-)

Tommy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-18 22:33             ` Tommy Kelly
@ 2010-12-19 14:27               ` Ted Zlatanov
  2010-12-19 15:24                 ` Štěpán Němec
                                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Ted Zlatanov @ 2010-12-19 14:27 UTC (permalink / raw)
  To: info-gnus-english; +Cc: ding

On Sat, 18 Dec 2010 16:33:47 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 

TK> The person who wrote the stuff, understands it in intense
TK> detail without the documentation, and therefore has little or no need
TK> of the documentation thinks the documentation is more readable as it is.

TK> The person who is trying to learn the stuff, and must rely heavily on
TK> said documentation thinks the documentation would be more readable with a
TK> a minor fix.

Štěpán was noting a minor issue: if mail comes from majordomoXcom (any
single character) instead of majordomo.com, it will match that splitting
rule.  I don't think Štěpán suggested it would make the documentation
more readable to fix that.

Ted

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-19 14:27               ` Ted Zlatanov
@ 2010-12-19 15:24                 ` Štěpán Němec
  2010-12-19 15:53                 ` Tommy Kelly
       [not found]                 ` <mailman.6.1292772417.12385.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 19+ messages in thread
From: Štěpán Němec @ 2010-12-19 15:24 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: info-gnus-english, ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sat, 18 Dec 2010 16:33:47 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 
>
> TK> The person who wrote the stuff, understands it in intense
> TK> detail without the documentation, and therefore has little or no need
> TK> of the documentation thinks the documentation is more readable as it is.
>
> TK> The person who is trying to learn the stuff, and must rely heavily on
> TK> said documentation thinks the documentation would be more readable with a
> TK> a minor fix.
>
> Štěpán was noting a minor issue: if mail comes from majordomoXcom (any
> single character) instead of majordomo.com, it will match that splitting
> rule.  I don't think Štěpán suggested it would make the documentation
> more readable to fix that.

I think Tommy's and Lars's notion of "readable" is slightly incompatible
here. In my opinion the error (yes, IMO it _is_ an error) should be
fixed at least for the reason this whole thread started -- it induced
major confusion for Tommy, who, upon seeing the unescaped dot, began to
wonder if there was some magic going on with the fancy splitting rules.

(Yes, it's funny to have discussions about things like this, but not
having sloppy examples in the docs is precisely the way to prevent such
discussions.)

  Štěpán



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-19 14:27               ` Ted Zlatanov
  2010-12-19 15:24                 ` Štěpán Němec
@ 2010-12-19 15:53                 ` Tommy Kelly
  2010-12-27 15:07                   ` Ted Zlatanov
       [not found]                   ` <mailman.5.1293462475.24495.info-gnus-english@gnu.org>
       [not found]                 ` <mailman.6.1292772417.12385.info-gnus-english@gnu.org>
  2 siblings, 2 replies; 19+ messages in thread
From: Tommy Kelly @ 2010-12-19 15:53 UTC (permalink / raw)
  To: info-gnus-english; +Cc: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sat, 18 Dec 2010 16:33:47 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 
>
> TK> The person who wrote the stuff, understands it in intense
> TK> detail without the documentation, and therefore has little or no need
> TK> of the documentation thinks the documentation is more readable as it is.
>
> TK> The person who is trying to learn the stuff, and must rely heavily on
> TK> said documentation thinks the documentation would be more readable with a
> TK> a minor fix.
>
> Štěpán was noting a minor issue: if mail comes from majordomoXcom (any
> single character) instead of majordomo.com, it will match that splitting
> rule.  I don't think Štěpán suggested it would make the documentation
> more readable to fix that.

You're right. Štěpán explained the thing to me and then flagged it to
The Documenters. *I* am suggesting that Štěpán's flagging was useful and
that, contrary to Lars's view, the proposed fix is worthwhile and makes
things more readable[1]. 

And my underlying point was that while Lars is an undoubted expert in
Gnus, *I* am an expert in being a new and clueless user of it.  The
documentation has an intended core audience, and it ain't Lars.

So Štěpán's point was one of regexp structure; mine, one of pedagogy.

All that said. I'm new here and have invested a mere fraction of the
hours in this project that y'all have. So don't hesitate to pat me on
the head and say "Shhhh! The grown-ups are speaking." :-)

Tommy

[1] Or rather, it makes it more consistent and understandable --
a.k.a. better. I'm with everyone else in that adding toothpicks rarely
makes for improved *read*-ability. But that -- toothpicks (and (to
further make the (undoubtedly made (albeit obliquely) by now) point)
parens) -- is the life we have chosen for ourselves.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
       [not found]                 ` <mailman.6.1292772417.12385.info-gnus-english@gnu.org>
@ 2010-12-19 15:55                   ` Richard Riley
  0 siblings, 0 replies; 19+ messages in thread
From: Richard Riley @ 2010-12-19 15:55 UTC (permalink / raw)
  To: info-gnus-english

Štěpán Němec <stepnem@gmail.com> writes:

> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> On Sat, 18 Dec 2010 16:33:47 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 
>>
>> TK> The person who wrote the stuff, understands it in intense
>> TK> detail without the documentation, and therefore has little or no need
>> TK> of the documentation thinks the documentation is more readable as it is.
>>
>> TK> The person who is trying to learn the stuff, and must rely heavily on
>> TK> said documentation thinks the documentation would be more readable with a
>> TK> a minor fix.
>>
>> Štěpán was noting a minor issue: if mail comes from majordomoXcom (any
>> single character) instead of majordomo.com, it will match that splitting
>> rule.  I don't think Štěpán suggested it would make the documentation
>> more readable to fix that.
>
> I think Tommy's and Lars's notion of "readable" is slightly incompatible
> here. In my opinion the error (yes, IMO it _is_ an error) should be
> fixed at least for the reason this whole thread started -- it induced
> major confusion for Tommy, who, upon seeing the unescaped dot, began to
> wonder if there was some magic going on with the fancy splitting rules.
>
> (Yes, it's funny to have discussions about things like this, but not
> having sloppy examples in the docs is precisely the way to prevent such
> discussions.)
>
>   Štěpán

The splitting docs are confusing - issues constantly crop up in #emacs
as well as here and in the nognus mailing list. Possibly more simple
examples would help before they start rolling into what is pretty
advanced elisp where quotes and escaping play an important part.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-19 15:53                 ` Tommy Kelly
@ 2010-12-27 15:07                   ` Ted Zlatanov
  2010-12-27 16:34                     ` Steinar Bang
       [not found]                   ` <mailman.5.1293462475.24495.info-gnus-english@gnu.org>
  1 sibling, 1 reply; 19+ messages in thread
From: Ted Zlatanov @ 2010-12-27 15:07 UTC (permalink / raw)
  To: info-gnus-english; +Cc: ding

On Sun, 19 Dec 2010 09:53:14 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 

TK> All that said. I'm new here and have invested a mere fraction of the
TK> hours in this project that y'all have. So don't hesitate to pat me on
TK> the head and say "Shhhh! The grown-ups are speaking." :-)

Nah, that would be condescending.  We do passive-aggressive :)

Seriously, your feedback is appreciated.  You have invested a lot of
time fighting features and jargon that are implied or learned for many
of the Gnus regulars, so your experience helps us.  If we don't respond
or fix things quickly (speaking for myself) it's for lack of time, not
desire to help.

Ted

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
       [not found]                   ` <mailman.5.1293462475.24495.info-gnus-english@gnu.org>
@ 2010-12-27 15:38                     ` Richard Riley
  2010-12-28 13:21                       ` Tommy Kelly
       [not found]                       ` <mailman.0.1293542535.18545.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 19+ messages in thread
From: Richard Riley @ 2010-12-27 15:38 UTC (permalink / raw)
  To: info-gnus-english

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sun, 19 Dec 2010 09:53:14 -0600 Tommy Kelly <tommy.kelly@verilab.com> wrote: 
>
> TK> All that said. I'm new here and have invested a mere fraction of the
> TK> hours in this project that y'all have. So don't hesitate to pat me on
> TK> the head and say "Shhhh! The grown-ups are speaking." :-)
>
> Nah, that would be condescending.  We do passive-aggressive :)
>
> Seriously, your feedback is appreciated.  You have invested a lot of
> time fighting features and jargon that are implied or learned for many
> of the Gnus regulars, so your experience helps us.  If we don't respond
> or fix things quickly (speaking for myself) it's for lack of time, not
> desire to help.
>
> Ted
>

While you're here Ted, I have had to stop using spam-split. Possibly you
can see what is wrong with this?


   (setq spam-use-bogofilter t)
   (setq spam-use-spamassassin t)
   
   (require 'spam)
   (spam-initialize)
   
   (setq nnimap-inbox '("INBOX"))
   (setq nnimap-split-fancy '(| (: spam-split) "INBOX"))
   (setq nnimap-split-methods 'nnimap-split-fancy)
   (setq nnimap-split-download-body t)

I then set the spam settings using G c on the groups I want spam-split
to process.

I get some form of sequencep errors I think it is. Sorry to be vague - I
cant post a backtrace right now but can again tomorrow if you're
interested in taking a look.

I dont *think* there is anything wrong with the above but few people
have offered up other split examples using spam-split to compare it
against. I am guessing my quoting is wrong but its hard to pinpoint from
the manual examples.

regards

r.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-27 15:07                   ` Ted Zlatanov
@ 2010-12-27 16:34                     ` Steinar Bang
  0 siblings, 0 replies; 19+ messages in thread
From: Steinar Bang @ 2010-12-27 16:34 UTC (permalink / raw)
  To: info-gnus-english

>>>>> Ted Zlatanov <tzz@lifelogs.com>:

> ...  If we don't respond or fix things quickly (speaking for myself)
> it's for lack of time, not desire to help.

Well, in my case the reason for lack of usefulness in my responses, have
been lack of knowledge.  I stopped using fancy split in 2001 or
thereabouts. 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
  2010-12-27 15:38                     ` Richard Riley
@ 2010-12-28 13:21                       ` Tommy Kelly
       [not found]                       ` <mailman.0.1293542535.18545.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 19+ messages in thread
From: Tommy Kelly @ 2010-12-28 13:21 UTC (permalink / raw)
  To: info-gnus-english

Richard, small and possibly irelevant point. You said:

>    (setq nnimap-inbox '("INBOX"))
> ...
> I get some form of sequencep errors I think it is.

My equivalent is:

(setq nnimap-inbox "INBOX")

I believe that nnimap-innbox can nowadays be a list, but I don't think it
was always so (the docs certainly implied, at one point, that there could
be only one group). Since you only have a single entry there it might be
worth trying it as a simple string. 

Tommy

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Error in (info "(gnus)Splitting Mail")
       [not found]                       ` <mailman.0.1293542535.18545.info-gnus-english@gnu.org>
@ 2010-12-28 15:48                         ` Richard Riley
  0 siblings, 0 replies; 19+ messages in thread
From: Richard Riley @ 2010-12-28 15:48 UTC (permalink / raw)
  To: info-gnus-english

Tommy Kelly <tommy.kelly@verilab.com> writes:

> Richard, small and possibly irelevant point. You said:
>
>>    (setq nnimap-inbox '("INBOX"))
>> ...
>> I get some form of sequencep errors I think it is.
>
> My equivalent is:
>
> (setq nnimap-inbox "INBOX")
>
> I believe that nnimap-innbox can nowadays be a list, but I don't think it
> was always so (the docs certainly implied, at one point, that there could
> be only one group). Since you only have a single entry there it might be
> worth trying it as a simple string. 
>
> Tommy

Yes, I had tried the simpler form too. I'm wondering if anyone is using
spam-split with imap at this stage.  I have the same setup for nnmail -
just a different default split destination and that seems ok.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-12-28 15:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.5.1292548275.31723.info-gnus-english@gnu.org>
2010-12-17  9:38 ` nnimap-split-fancy Adam Sjøgren
2010-12-17 10:36   ` nnimap-split-fancy Richard Riley
2010-12-17 15:09   ` nnimap-split-fancy Tommy Kelly
2010-12-17 17:30     ` About toothpicks (was Re: nnimap-split-fancy) Štěpán Němec
2010-12-17 22:39       ` Tommy Kelly
2010-12-18  8:16         ` Error in (info "(gnus)Splitting Mail") Štěpán Němec
     [not found]         ` <mailman.13.1292660334.28168.info-gnus-english@gnu.org>
2010-12-18 18:45           ` Lars Magne Ingebrigtsen
2010-12-18 22:33             ` Tommy Kelly
2010-12-19 14:27               ` Ted Zlatanov
2010-12-19 15:24                 ` Štěpán Němec
2010-12-19 15:53                 ` Tommy Kelly
2010-12-27 15:07                   ` Ted Zlatanov
2010-12-27 16:34                     ` Steinar Bang
     [not found]                   ` <mailman.5.1293462475.24495.info-gnus-english@gnu.org>
2010-12-27 15:38                     ` Richard Riley
2010-12-28 13:21                       ` Tommy Kelly
     [not found]                       ` <mailman.0.1293542535.18545.info-gnus-english@gnu.org>
2010-12-28 15:48                         ` Richard Riley
     [not found]                 ` <mailman.6.1292772417.12385.info-gnus-english@gnu.org>
2010-12-19 15:55                   ` Richard Riley
2010-12-18 19:12     ` nnimap-split-fancy Eric S Fraga
     [not found]   ` <mailman.4.1292598585.3076.info-gnus-english@gnu.org>
2010-12-17 21:18     ` nnimap-split-fancy Adam Sjøgren

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).