unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Fancy splitting in Gnus
@ 2017-09-11 20:55 Narendra Joshi
  2017-09-12  3:23 ` Teemu Likonen
  0 siblings, 1 reply; 7+ messages in thread
From: Narendra Joshi @ 2017-09-11 20:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I use the following to do fancy splitting.

,----
| 
| (setq gnus-select-method
|       `(nnimap "gmail"
|                (nnimap-address "imap.gmail.com")
|                (nnir-search-engine imap)
|                (nnimap-inbox "INBOX")
|                (nnimap-stream ssl)
|                (nnimap-split-methods ,nnmail-split-fancy)))
| 
| 
`----

I have observed that every time I add a new entry to
`nnmail-split-fancy', it takes time for Gnus to recognize that it has to
split those emails that match the new entry. Or it is something that I
don't recognize which triggers the splitting. Any help would be greatly
appreciated.

Thanks,
-- 
Narendra Joshi



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

* Re: Fancy splitting in Gnus
  2017-09-11 20:55 Fancy splitting in Gnus Narendra Joshi
@ 2017-09-12  3:23 ` Teemu Likonen
  2017-09-12  4:16   ` Narendra Joshi
  2017-09-13 10:38   ` Göktuğ Kayaalp
  0 siblings, 2 replies; 7+ messages in thread
From: Teemu Likonen @ 2017-09-12  3:23 UTC (permalink / raw)
  To: Narendra Joshi; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:

> (setq gnus-select-method [...]

> I have observed that every time I add a new entry to
> `nnmail-split-fancy', it takes time for Gnus to recognize that it has to
> split those emails that match the new entry.

If you assign a new value to nnmail-split-fancy variable in a running
Emacs session you need to re-evaluate the (setq gnus-select-method ...)
form.

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: Fancy splitting in Gnus
  2017-09-12  3:23 ` Teemu Likonen
@ 2017-09-12  4:16   ` Narendra Joshi
  2017-09-13 10:38   ` Göktuğ Kayaalp
  1 sibling, 0 replies; 7+ messages in thread
From: Narendra Joshi @ 2017-09-12  4:16 UTC (permalink / raw)
  To: Teemu Likonen; +Cc: Help Gnu Emacs mailing list

The splitting does happen even after restarting.

Narendra Joshi
On 12 Sep 2017 08:54, "Teemu Likonen" <tlikonen@iki.fi> wrote:

> Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:
>
> > (setq gnus-select-method [...]
>
> > I have observed that every time I add a new entry to
> > `nnmail-split-fancy', it takes time for Gnus to recognize that it has to
> > split those emails that match the new entry.
>
> If you assign a new value to nnmail-split-fancy variable in a running
> Emacs session you need to re-evaluate the (setq gnus-select-method ...)
> form.
>
> --
> /// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
> // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
>


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

* Re: Fancy splitting in Gnus
  2017-09-12  3:23 ` Teemu Likonen
  2017-09-12  4:16   ` Narendra Joshi
@ 2017-09-13 10:38   ` Göktuğ Kayaalp
  2017-09-13 13:08     ` Narendra Joshi
  1 sibling, 1 reply; 7+ messages in thread
From: Göktuğ Kayaalp @ 2017-09-13 10:38 UTC (permalink / raw)
  To: Teemu Likonen; +Cc: Narendra Joshi, help-gnu-emacs

On 2017-09-12 06:23 +03, Teemu Likonen <tlikonen@iki.fi> wrote:
> Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:
>
>> (setq gnus-select-method [...]
>
>> I have observed that every time I add a new entry to
>> `nnmail-split-fancy', it takes time for Gnus to recognize that it has to
>> split those emails that match the new entry.
>
> If you assign a new value to nnmail-split-fancy variable in a running
> Emacs session you need to re-evaluate the (setq gnus-select-method ...)
> form.

IIRC re-evaluating the method is not necessary.  Nevertheless the OP can
check how Gnus will split new mail with ‘B q’ in the summary.  It'll
tell where the article will go, but not actually move it (use ‘B r’ for
that.



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

* Re: Fancy splitting in Gnus
  2017-09-13 10:38   ` Göktuğ Kayaalp
@ 2017-09-13 13:08     ` Narendra Joshi
  2017-09-13 15:31       ` Göktuğ Kayaalp
  0 siblings, 1 reply; 7+ messages in thread
From: Narendra Joshi @ 2017-09-13 13:08 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: Help Gnu Emacs mailing list, Teemu Likonen

Thanks,

B q helped. The problem was with my configuration. I had a filter  on
the wrong header.


On Wed, Sep 13, 2017 at 4:08 PM, Göktuğ Kayaalp <self@gkayaalp.com> wrote:
> On 2017-09-12 06:23 +03, Teemu Likonen <tlikonen@iki.fi> wrote:
>> Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:
>>
>>> (setq gnus-select-method [...]
>>
>>> I have observed that every time I add a new entry to
>>> `nnmail-split-fancy', it takes time for Gnus to recognize that it has to
>>> split those emails that match the new entry.
>>
>> If you assign a new value to nnmail-split-fancy variable in a running
>> Emacs session you need to re-evaluate the (setq gnus-select-method ...)
>> form.
>
> IIRC re-evaluating the method is not necessary.  Nevertheless the OP can
> check how Gnus will split new mail with ‘B q’ in the summary.  It'll
> tell where the article will go, but not actually move it (use ‘B r’ for
> that.



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

* Re: Fancy splitting in Gnus
  2017-09-13 13:08     ` Narendra Joshi
@ 2017-09-13 15:31       ` Göktuğ Kayaalp
  2017-09-13 16:16         ` Narendra Joshi
  0 siblings, 1 reply; 7+ messages in thread
From: Göktuğ Kayaalp @ 2017-09-13 15:31 UTC (permalink / raw)
  To: Narendra Joshi; +Cc: Help Gnu Emacs mailing list, Teemu Likonen

On 2017-09-13 18:38 +0530, Narendra Joshi <narendraj9@gmail.com> wrote:
> Thanks,
>
> B q helped. The problem was with my configuration. I had a filter  on
> the wrong header.

Glad it helped, you're welcome!  A little suggestion if you won't mind:
if you have the menu-bar-mode turned off, you should turn it on at least
for Gnus, it's a very nice tool to quickly discover many features that
you would spend lots of time searching for in the manual / on the net.

>
>
> On Wed, Sep 13, 2017 at 4:08 PM, Göktuğ Kayaalp <self@gkayaalp.com> wrote:
>> On 2017-09-12 06:23 +03, Teemu Likonen <tlikonen@iki.fi> wrote:
>>> Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:
>>>
>>>> (setq gnus-select-method [...]
>>>
>>>> I have observed that every time I add a new entry to
>>>> `nnmail-split-fancy', it takes time for Gnus to recognize that it has to
>>>> split those emails that match the new entry.
>>>
>>> If you assign a new value to nnmail-split-fancy variable in a running
>>> Emacs session you need to re-evaluate the (setq gnus-select-method ...)
>>> form.
>>
>> IIRC re-evaluating the method is not necessary.  Nevertheless the OP can
>> check how Gnus will split new mail with ‘B q’ in the summary.  It'll
>> tell where the article will go, but not actually move it (use ‘B r’ for
>> that.
>

-- 
İ. Göktuğ Kayaalp              http://www.gkayaalp.com/index.html
self@gkayaalp.com    🎀            PGP = 024C 30DD 597D 142B 49AC
Plaintext please!  {UTF8}  Fingerprint   40EB 465C D949 B101 2427



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

* Re: Fancy splitting in Gnus
  2017-09-13 15:31       ` Göktuğ Kayaalp
@ 2017-09-13 16:16         ` Narendra Joshi
  0 siblings, 0 replies; 7+ messages in thread
From: Narendra Joshi @ 2017-09-13 16:16 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: Help Gnu Emacs mailing list, Teemu Likonen

Thanks, I have it turned off. I am going to turn it on :)

Narendra Joshi
On 13 Sep 2017 21:01, "Göktuğ Kayaalp" <self@gkayaalp.com> wrote:

> On 2017-09-13 18:38 +0530, Narendra Joshi <narendraj9@gmail.com> wrote:
> > Thanks,
> >
> > B q helped. The problem was with my configuration. I had a filter  on
> > the wrong header.
>
> Glad it helped, you're welcome!  A little suggestion if you won't mind:
> if you have the menu-bar-mode turned off, you should turn it on at least
> for Gnus, it's a very nice tool to quickly discover many features that
> you would spend lots of time searching for in the manual / on the net.
>
> >
> >
> > On Wed, Sep 13, 2017 at 4:08 PM, Göktuğ Kayaalp <self@gkayaalp.com>
> wrote:
> >> On 2017-09-12 06:23 +03, Teemu Likonen <tlikonen@iki.fi> wrote:
> >>> Narendra Joshi [2017-09-12 02:25:50+05:30] wrote:
> >>>
> >>>> (setq gnus-select-method [...]
> >>>
> >>>> I have observed that every time I add a new entry to
> >>>> `nnmail-split-fancy', it takes time for Gnus to recognize that it has
> to
> >>>> split those emails that match the new entry.
> >>>
> >>> If you assign a new value to nnmail-split-fancy variable in a running
> >>> Emacs session you need to re-evaluate the (setq gnus-select-method ...)
> >>> form.
> >>
> >> IIRC re-evaluating the method is not necessary.  Nevertheless the OP can
> >> check how Gnus will split new mail with ‘B q’ in the summary.  It'll
> >> tell where the article will go, but not actually move it (use ‘B r’ for
> >> that.
> >
>
> --
> İ. Göktuğ Kayaalp              http://www.gkayaalp.com/index.html
> self@gkayaalp.com    🎀            PGP = 024C 30DD 597D 142B 49AC
> Plaintext please!  {UTF8}  Fingerprint   40EB 465C D949 B101 2427
>


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

end of thread, other threads:[~2017-09-13 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-11 20:55 Fancy splitting in Gnus Narendra Joshi
2017-09-12  3:23 ` Teemu Likonen
2017-09-12  4:16   ` Narendra Joshi
2017-09-13 10:38   ` Göktuğ Kayaalp
2017-09-13 13:08     ` Narendra Joshi
2017-09-13 15:31       ` Göktuğ Kayaalp
2017-09-13 16:16         ` Narendra Joshi

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