Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: physiculus <physiculus@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: splitting Gmail account just copy not move :-(
Date: Tue, 30 Jul 2019 08:01:46 +0200	[thread overview]
Message-ID: <87d0hs2h85.fsf@googlemail.com> (raw)
In-Reply-To: <87zhkwlpy5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 29 Jul 2019 10:18:26 -0700")

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

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

  reply	other threads:[~2019-07-30  6:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-28 17:52 physiculus
2019-07-29  9:19 ` Lars-Johan Liman
2019-07-29 15:51   ` Eric Abrahamsen
2019-07-29 16:38     ` physiculus
2019-07-29 17:06       ` Eric Abrahamsen
2019-07-29 17:13         ` physiculus
2019-07-29 17:28           ` Eric Abrahamsen
2019-07-29 16:41   ` physiculus
2019-07-29 17:18     ` Eric Abrahamsen
2019-07-30  6:01       ` physiculus [this message]
2019-07-30  6:16       ` physiculus
2019-07-30 17:49         ` Eric Abrahamsen
2019-07-31 15:09           ` physiculus
2019-07-31 17:24             ` Eric Abrahamsen
2019-08-01  8:23               ` physiculus
2019-08-01 20:42                 ` Eric Abrahamsen
2019-08-02  8:11                   ` paul poulsen
2019-08-02 16:14                     ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0hs2h85.fsf@googlemail.com \
    --to=physiculus@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).