info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: splitting Gmail account just copy not move :-(


From: physiculus
Subject: Re: splitting Gmail account just copy not move :-(
Date: Tue, 30 Jul 2019 08:01:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Most of the code there should no longer be necessary -- you don't need
> to fetch the labels separately if X-GMAIL-LABELS is already in
> `(gnus|nnmail)-extra-headers'. It might be enough to do:
>
> (defun gnus-user-format-function-g (header)
>   (let ((g-labels (cdr-safe
>                  (assoc 'X-GM-LABELS
>                         (mail-header-extra header)))))
>     (when g-labels
>       ...do something with labels)))
>
> Then use the "%ug" format code in your summary line format. I have no
> idea what the Gmail labels actually look like, so I can't help you with
> how to output them, but that should be the easy part.
>
> I don't believe there's any way to actually manipulate the labels from
> within Gnus, though -- I suppose they're different from regular IMAP
> flags/keywords?
>
> Eric
Good morning,

unfortunately i dont see the header information X-GMAIL-LABEL (i view
raw inside gnus and with claws mail).
So they are possible generated by the mail server and gnus should contact
him). This is only my simple idea...(not a developer).

btw: if i wont do anything with the label, could i delete your codeblock
(when g-labels...) ?

Regards
Poul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]