From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: splitting Gmail account just copy not move :-(
Date: Mon, 29 Jul 2019 10:18:26 -0700 [thread overview]
Message-ID: <87zhkwlpy5.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87tvb4rdy6.fsf@googlemail.com>
physiculus <physiculus@gmail.com> writes:
> Lars-Johan Liman <info-gnus-english@cafax.se> writes:
>
>> I believe this is a "Known Problem(TM)" (at least I have the same),
>> which pertains to Gmail's (incorrect?) interpretation of IMAP commands,
>> not to GNUS per se. I haven't found a set of IMAP command flags that
>> will properly delete the mail from Gmail for you, but I didn't have time
>> to drill to the bitter end of the bottomless dark pit of Googles
>> intestines ... :-( If you (or anyone else!) find/knows of a way, I'd be
>> more than thankful if you would share it with the rest of us.
>>
>> Cheers,
>> /Liman
> Hello, yes Google wants to use their own apps or Chrome. Within it
> works.
> But i found a solution on this list, unfortunately it doesn't work for
> me (It produces an error message in gnus.el). Maybe someone could make
> the code work, i'm not a developer.
>
> Here is the link:
> https://lists.gnu.org/archive/html/info-gnus-english/2013-10/
> msg00022.html
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
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2019-07-29 17:18 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 [this message]
2019-07-30 6:01 ` physiculus
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=87zhkwlpy5.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).