Eric Abrahamsen <e...@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 _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english