Gnus development mailing list
 help / color / mirror / Atom feed
From: Nikolaus Rath <Nikolaus@rath.org>
To: ding@gnus.org
Subject: Re: [PATCH] Support hiding deleted IMAP messages (v3)
Date: Fri, 03 Jul 2015 12:02:52 -0700	[thread overview]
Message-ID: <87bnftoyhv.fsf@vostro.rath.org> (raw)
In-Reply-To: <smufv555pab.fsf@linuxpal.mit.edu> (Greg Troxel's message of "Fri, 03 Jul 2015 09:44:28 -0400")

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

On Jul 03 2015, Greg Troxel <gdt@lexort.com> wrote:
> Nikolaus Rath <Nikolaus@rath.org> writes:
>
>> This patch introduces a new server variable, nnimap-hide-deleted. If
>> non-nil, articles with the IMAP \Deleted flag will not be included in
>> Summary buffers.
>>
>> This is intended to increase operability with other IMAP mailreaders and
>> the new 'never value for nnimap-expunge (see patch in bug 20670).
>
> I haven't reviewed the patch, but the functionality is needed.  I find
> that on deleting messages with GUI IMAP clients, they are still seen in
> gnus.
>
> I find the deletion notion in IMAP confusing, between move-to-trash and
> just-marked-deleted-but-keep, and don't really know how the articles end
> up in the trash folder using the just-mark scheme, but it hasn't
> bothered me enough to dig in.

It's really pretty simple. There is no concept of a trash folder in
IMAP. Deleting a message means marking it with the \Deleted flag. The UA
is expected to take that into account when showing the mailbox contents
(e.g. by hiding such messsages or showing them crossed out). A message
can be physically deleted by "expunging" it (that would correspond to
emptying the trash).

Any trash folder in an IMAP mailbox is a totally ordinary folder, and if
there are messages in it it means that they have been moved there (i.e.,
not deleted). To empty the trash, you still have to mark the message as
\Deleted, *and* then expunge it.



Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 997 bytes --]

  reply	other threads:[~2015-07-03 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-03  2:17 Nikolaus Rath
2015-07-03 13:44 ` Greg Troxel
2015-07-03 19:02   ` Nikolaus Rath [this message]
2015-07-03 23:09     ` Greg Troxel
2015-07-04  1:53       ` Nikolaus Rath

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=87bnftoyhv.fsf@vostro.rath.org \
    --to=nikolaus@rath.org \
    --cc=ding@gnus.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).