Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnimap-split-fancy skips 2 messages
@ 2016-02-12  7:44 Gijs Hillenius
  2016-02-12 12:02 ` Adam Sjøgren
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-12  7:44 UTC (permalink / raw)
  To: info-gnus-english



the first lines of my:

(setq nnimap-split-fancy
      '(| 
	("subject" "\\(persbericht\\|press release\\|media alert\\)"
      "INBOX.pressreleases")

this rule works, mostly.

But now there are two messages in the INBOX that won't split.


✉  [  82: M... M...          ] PRESS RELEASE - Top bla bla
✉  [ 630: D... B...          ] Press release from bla bla

how come? Others from M... M... were split, just 2 days prior.

Is it, perhaps, because another IMAP client (smartphone) saw those
first? But I M-u removed marks from both, restarted Gnus and they're
still in the INBOX.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: nnimap-split-fancy skips 2 messages
  2016-02-12  7:44 nnimap-split-fancy skips 2 messages Gijs Hillenius
@ 2016-02-12 12:02 ` Adam Sjøgren
       [not found] ` <mailman.4474.1455278566.843.info-gnus-english@gnu.org>
  2016-02-17  7:56 ` Can Gnus remove its 'Seen' mark? (was: nnimap-split-fancy skips 2 messages) Gijs Hillenius
  2 siblings, 0 replies; 14+ messages in thread
From: Adam Sjøgren @ 2016-02-12 12:02 UTC (permalink / raw)
  To: info-gnus-english

Gijs writes:

> the first lines of my:
>
> (setq nnimap-split-fancy
>       '(| 
> 	("subject" "\\(persbericht\\|press release\\|media alert\\)"
>       "INBOX.pressreleases")
>
> this rule works, mostly.
>
> But now there are two messages in the INBOX that won't split.
>
>
> ✉  [  82: M... M...          ] PRESS RELEASE - Top bla bla
> ✉  [ 630: D... B...          ] Press release from bla bla
>
> how come? Others from M... M... were split, just 2 days prior.

What does B q say on those messages? (I.e. does your split rule hit
them?) My first suspicion was upper/lower case...

B t can also be useful.


  Best regards,

    Adam

-- 
 "Remember, Robert, in life anything can happen."             Adam Sjøgren
                                                         asjo@koldfront.dk


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

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

* Re: nnimap-split-fancy skips 2 messages
       [not found] ` <mailman.4474.1455278566.843.info-gnus-english@gnu.org>
@ 2016-02-12 14:05   ` Gijs Hillenius
  2016-02-12 14:10     ` Gijs Hillenius
                       ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-12 14:05 UTC (permalink / raw)
  To: info-gnus-english

On 12 Feb 2016, Adam Sjøgren wrote:

> Gijs writes:
>
>> the first lines of my:
>>
>> (setq nnimap-split-fancy
>> '(| 
>> 	("subject" "\\(persbericht\\|press release\\|media alert\\)"
>> "INBOX.pressreleases")
>>
>> this rule works, mostly.
>>
>> But now there are two messages in the INBOX that won't split.
>>
>>
>> ✉  [  82: M... M...          ] PRESS RELEASE - Top bla bla
>> ✉  [ 630: D... B...          ] Press release from bla bla
>>
>> how come? Others from M... M... were split, just 2 days prior.
>
> What does B q say on those messages? (I.e. does your split rule hit
> them?) My first suspicion was upper/lower case...
>
> B t can also be useful.

On both, B q says

This message would go to mail.misc

On both, B t says
(: (lambda nil (car (bbdb/gnus-split-method))))
"mail.misc"

Now, why would bbdb/gnus-split-method kick in? That is the one before
last split... 


Case is ignored, I tested that when I wrote the split rule.

Note, I have a message in the INBOX.pressreleases from the same M.. M..

[M... M....          ] PRESS RELEASE 

And when I

B t there, B t says

("subject" "\\(persbericht\\|press release\\|media alert\\)" "INBOX.pressreleases")
"INBOX.pressreleases"

But thanks, already, for reminding me of B q and B t
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: nnimap-split-fancy skips 2 messages
  2016-02-12 14:05   ` Gijs Hillenius
@ 2016-02-12 14:10     ` Gijs Hillenius
  2016-02-12 14:14     ` Adam Sjøgren
       [not found]     ` <mailman.4491.1455286475.843.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-12 14:10 UTC (permalink / raw)
  To: info-gnus-english

I marked these two incorrectly splitted messages as unread on an Android
phone using K9. Oddly, they do now not show up as unread in Gnus.

In Gnus, I repeat the M-u. The INBOX now shows 2 unread messages. (But
the idea was they'd now be in the INBOX.pressreleases folder).

Something to do with marks set by one client and not the other, I suspect.

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

* Re: nnimap-split-fancy skips 2 messages
  2016-02-12 14:05   ` Gijs Hillenius
  2016-02-12 14:10     ` Gijs Hillenius
@ 2016-02-12 14:14     ` Adam Sjøgren
       [not found]     ` <mailman.4491.1455286475.843.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 14+ messages in thread
From: Adam Sjøgren @ 2016-02-12 14:14 UTC (permalink / raw)
  To: info-gnus-english

Gijs writes:

> Now, why would bbdb/gnus-split-method kick in?

Because the sender is in your bbdb?


  Best regards,

    Adam

-- 
 "I think grown-ups just act like they know what              Adam Sjøgren
  they're doing."                                        asjo@koldfront.dk


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

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

* Re: nnimap-split-fancy skips 2 messages
       [not found]     ` <mailman.4491.1455286475.843.info-gnus-english@gnu.org>
@ 2016-02-12 14:25       ` Gijs Hillenius
  0 siblings, 0 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-12 14:25 UTC (permalink / raw)
  To: info-gnus-english

On 12 Feb 2016, Adam Sjøgren wrote:

> Gijs writes:
>
>> Now, why would bbdb/gnus-split-method kick in?
>
> Because the sender is in your bbdb?

neither of them are. I should have added that in the earlier messages, sorry

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

* Can Gnus remove its 'Seen' mark? (was: nnimap-split-fancy skips 2 messages)
  2016-02-12  7:44 nnimap-split-fancy skips 2 messages Gijs Hillenius
  2016-02-12 12:02 ` Adam Sjøgren
       [not found] ` <mailman.4474.1455278566.843.info-gnus-english@gnu.org>
@ 2016-02-17  7:56 ` Gijs Hillenius
  2016-02-17 11:58   ` Can Gnus remove its 'Seen' mark? Adam Sjøgren
                     ` (2 more replies)
  2 siblings, 3 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-17  7:56 UTC (permalink / raw)
  To: info-gnus-english

On 12 Feb 2016, Gijs Hillenius wrote:


> the first lines of my:
>
> (setq nnimap-split-fancy
> '(| 
> 	("subject" "\\(persbericht\\|press release\\|media alert\\)"
> "INBOX.pressreleases")
>
> this rule works, mostly.
>
> But now there are two messages in the INBOX that won't split.
>
>
> ✉  [  82: M... M...          ] PRESS RELEASE - Top bla bla
> ✉  [ 630: D... B...          ] Press release from bla bla
>
> how come? Others from M... M... were split, just 2 days prior.
>
> Is it, perhaps, because another IMAP client (smartphone) saw those
> first? But I M-u removed marks from both, restarted Gnus and they're
> still in the INBOX.

I'm trying to figure out what is wrong, just because. Is there a way to
really reset a message, including removing the Seen mark?


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

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

* Re: Can Gnus remove its 'Seen' mark?
  2016-02-17  7:56 ` Can Gnus remove its 'Seen' mark? (was: nnimap-split-fancy skips 2 messages) Gijs Hillenius
@ 2016-02-17 11:58   ` Adam Sjøgren
       [not found]   ` <mailman.4922.1455710342.843.info-gnus-english@gnu.org>
  2016-02-18 10:23   ` fixed (was: Can Gnus remove its 'Seen' mark?) Gijs Hillenius
  2 siblings, 0 replies; 14+ messages in thread
From: Adam Sjøgren @ 2016-02-17 11:58 UTC (permalink / raw)
  To: info-gnus-english

Gijs writes:

> Is there a way to really reset a message, including removing the Seen
> mark?

M-u?

(gnus-summary-clear-mark-forward)


  Best regards,

    Adam

-- 
 "He's got nothing to say, he's just happy to be there"       Adam Sjøgren
                                                         asjo@koldfront.dk


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

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

* Re: Can Gnus remove its 'Seen' mark?
       [not found]   ` <mailman.4922.1455710342.843.info-gnus-english@gnu.org>
@ 2016-02-17 15:14     ` Gijs Hillenius
  2016-02-17 15:40       ` Adam Sjøgren
  0 siblings, 1 reply; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-17 15:14 UTC (permalink / raw)
  To: info-gnus-english

On 17 Feb 2016, Adam Sjøgren wrote:

> Gijs writes:
>
>> Is there a way to really reset a message, including removing the Seen
>> mark?
>
> M-u?
>
> (gnus-summary-clear-mark-forward)

thanks :-) but that I've tried.


In my case (Debian, Cyrus) that results in:

✉S [  44: M.... p....     ] Media alert: Na... 

the "✉" designates it's new.

I don't know for sure what the S is for, but I'm assuming it is Seen. Or
else it is something I fubar'd the past few days trying to "clean"
whatever marks this message has.

B r gives me 'void-function nnml-active-number"


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

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

* Re: Can Gnus remove its 'Seen' mark?
  2016-02-17 15:14     ` Gijs Hillenius
@ 2016-02-17 15:40       ` Adam Sjøgren
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Sjøgren @ 2016-02-17 15:40 UTC (permalink / raw)
  To: info-gnus-english

Gijs writes:

> B r gives me 'void-function nnml-active-number"

Somebody else is seeing that bug as well, it would be great if the
reason could be traced back...


  Best regards,

    Adam

-- 
 "The speed at which I write by hand is almost                Adam Sjøgren
  perfectly synchronized with the speed at which I       asjo@koldfront.dk
  think. I type faster than I think so I have to stop,
  and that interrupts the flow."


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

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

* fixed (was: Can Gnus remove its 'Seen' mark?)
  2016-02-17  7:56 ` Can Gnus remove its 'Seen' mark? (was: nnimap-split-fancy skips 2 messages) Gijs Hillenius
  2016-02-17 11:58   ` Can Gnus remove its 'Seen' mark? Adam Sjøgren
       [not found]   ` <mailman.4922.1455710342.843.info-gnus-english@gnu.org>
@ 2016-02-18 10:23   ` Gijs Hillenius
  2016-02-18 10:30     ` fixed Adam Sjøgren
       [not found]     ` <mailman.5030.1455791460.843.info-gnus-english@gnu.org>
  2 siblings, 2 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-18 10:23 UTC (permalink / raw)
  To: info-gnus-english

On 17 Feb 2016, Gijs Hillenius wrote:


Splitting works just fine. Adam Sjøgren helped me find out that the
problem was that the mail's subject message was encoded (utf8).

This:

; Decode headers before splitting on them:
(setq nnmail-mail-splitting-decodes t)

solved my problem.


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

* Re: fixed
  2016-02-18 10:23   ` fixed (was: Can Gnus remove its 'Seen' mark?) Gijs Hillenius
@ 2016-02-18 10:30     ` Adam Sjøgren
       [not found]     ` <mailman.5030.1455791460.843.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 14+ messages in thread
From: Adam Sjøgren @ 2016-02-18 10:30 UTC (permalink / raw)
  To: info-gnus-english

Gijs writes:

> This:
>
> ; Decode headers before splitting on them:
> (setq nnmail-mail-splitting-decodes t)
>
> solved my problem.

You also had to set some bbdb-related variables and fixed an error in
your split-rules, right?

Please share the insight gained on those as well.


  Best regards,

    Adam

-- 
 "You do not know what geometry means, do you?"               Adam Sjøgren
 "Of course I do, it is a type of camel."                asjo@koldfront.dk


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

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

* fixed more (was: fixed)
       [not found]     ` <mailman.5030.1455791460.843.info-gnus-english@gnu.org>
@ 2016-02-18 11:03       ` Gijs Hillenius
  0 siblings, 0 replies; 14+ messages in thread
From: Gijs Hillenius @ 2016-02-18 11:03 UTC (permalink / raw)
  To: info-gnus-english

On 18 Feb 2016, Adam Sjøgren wrote:

> Gijs writes:
>
>> This:
>>
>> ; Decode headers before splitting on them:
>> (setq nnmail-mail-splitting-decodes t)
>>
>> solved my problem.
>
> You also had to set some bbdb-related variables and fixed an error in
> your split-rules, right?

Yes


The last lines of

(setq nnimap-split-fancy
      '(|
      
      [...]  snipped many lines

        (: (lambda ()
	     (car (bbdb/gnus-split-method))))
	;; Default mailbox
	"INBOX"))


Previously, the final line was:

("INBOX" "")))

Which I had copied years ago from an unknown source.

There are 2 differences, the "", and an extra pair of ().

Having both, B q or B t on unsplitable messages will
return:

message will go to mail.misc

Removing only the "" but keeping the equally superfluous (),

B q / B t will reply

message will go to bogus

Removing both, which, uhm, follows the example in the manual, will get B
q / B t to return

message will go to INBOX



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

* Fixed
@ 2007-07-26  0:59 Ross A. Laird
  0 siblings, 0 replies; 14+ messages in thread
From: Ross A. Laird @ 2007-07-26  0:59 UTC (permalink / raw)
  To: info-gnus-english

Well, I have fixed the problem without really knowing what caused it. I
shut down gnus and emacs, deleted everything in ~/gnus, and started up
again. Now everything works as expected (so far).

Ross
-- 
Ross A. Laird, PhD
www.rosslaird.info

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

end of thread, other threads:[~2016-02-18 11:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12  7:44 nnimap-split-fancy skips 2 messages Gijs Hillenius
2016-02-12 12:02 ` Adam Sjøgren
     [not found] ` <mailman.4474.1455278566.843.info-gnus-english@gnu.org>
2016-02-12 14:05   ` Gijs Hillenius
2016-02-12 14:10     ` Gijs Hillenius
2016-02-12 14:14     ` Adam Sjøgren
     [not found]     ` <mailman.4491.1455286475.843.info-gnus-english@gnu.org>
2016-02-12 14:25       ` Gijs Hillenius
2016-02-17  7:56 ` Can Gnus remove its 'Seen' mark? (was: nnimap-split-fancy skips 2 messages) Gijs Hillenius
2016-02-17 11:58   ` Can Gnus remove its 'Seen' mark? Adam Sjøgren
     [not found]   ` <mailman.4922.1455710342.843.info-gnus-english@gnu.org>
2016-02-17 15:14     ` Gijs Hillenius
2016-02-17 15:40       ` Adam Sjøgren
2016-02-18 10:23   ` fixed (was: Can Gnus remove its 'Seen' mark?) Gijs Hillenius
2016-02-18 10:30     ` fixed Adam Sjøgren
     [not found]     ` <mailman.5030.1455791460.843.info-gnus-english@gnu.org>
2016-02-18 11:03       ` fixed more (was: fixed) Gijs Hillenius
  -- strict thread matches above, loose matches on Subject: below --
2007-07-26  0:59 Fixed Ross A. Laird

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