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

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

Re: how could gnus display the Gmail Labels X-GM-LABELS?


From: physiculus
Subject: Re: how could gnus display the Gmail Labels X-GM-LABELS?
Date: Mon, 25 Jan 2021 18:49:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid <pankaj@codeisgreat.org> writes:
Hello,
i read about it this:

https://www.gnu.org/software/emacs/manual/html_node/gnus/Support-for-IMAP-Extensions.html#Support-for-IMAP-Extensions

6.3.4 Support for IMAP Extensions
If you’re using Google’s Gmail, you may want to see your Gmail labels when 
reading your mail. Gnus can give you this information if you ask for 
‘X-GM-LABELS’ in the variable gnus-extra-headers. For example:

(setq gnus-extra-headers
      '(To Newsgroups X-GM-LABELS))
This will result in Gnus storing your labels in message header
      structures for later use. The content is always a parenthesized
      (possible empty) list.

But unfortunately i don't understand, what to do with it.
Does Gnus show them, if availabe?
Or should someone create code to use it?
I don't know.

FYI: As far as i read on google developer sites, the folders Marked,
Sent, Important and so on, are also labels. Therefore they should be
displayed by gnus.
Perhaps gnus do not decode the labels??

Regards
Poul

> physiculus <physiculus@gmail.com> writes:
>
>> But here are no labels visible...
>> after pressing t.
>>
>> I insert the X-GM-LABELS to gnus-visible-headers.
>>
>
> Are you sure this header is there in Gmail messages. I just check a few
> of my emails (show original) and could not find X-GM-LABELS in any of
> those.
>
> It could be something that Gmail might be using when filtering on server
> side. I don’t use server side filtering so may be this header is not
> there in my emails.
>
> Just check at your end.



reply via email to

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