From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86025 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Support hiding deleted IMAP messages (v3) Date: Fri, 03 Jul 2015 12:02:52 -0700 Message-ID: <87bnftoyhv.fsf@vostro.rath.org> References: <87pp4a9e87.fsf@vostro.rath.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1435950258 18920 80.91.229.3 (3 Jul 2015 19:04:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 19:04:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34260@lists.math.uh.edu Fri Jul 03 21:04:02 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZB6Fm-0007xI-3v for ding-account@gmane.org; Fri, 03 Jul 2015 21:04:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1ZB6Ev-0002p1-04; Fri, 03 Jul 2015 14:03:09 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZB6Es-0002oh-NZ for ding@lists.math.uh.edu; Fri, 03 Jul 2015 14:03:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1ZB6Er-0002pv-0G for ding@lists.math.uh.edu; Fri, 03 Jul 2015 14:03:06 -0500 Original-Received: from ebox.rath.org ([23.92.25.96]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZB6Ep-00013R-1F for ding@gnus.org; Fri, 03 Jul 2015 21:03:03 +0200 Original-Received: from vostro ([192.168.12.4] helo=vostro.rath.org) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1ZB6Ek-0005UW-BS for ding@gnus.org; Fri, 03 Jul 2015 19:02:58 +0000 Original-Received: by vostro.rath.org (Postfix, from userid 1000) id C327DEC46A8; Fri, 3 Jul 2015 12:02:57 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: (Greg Troxel's message of "Fri, 03 Jul 2015 09:44:28 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86025 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Jul 03 2015, Greg Troxel wrote: > Nikolaus Rath 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, =2DNikolaus =2D-=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQKgBAEBCgCKBQJVltxdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRDMxNzkxQjJDNUMxNjEzQUYzODhCOEFE MTEzRkNBQzNDNEU1OTlGIxpodHRwOi8vd3d3LnJhdGgub3JnL2dwZ3BvbGljeS5o dG1sAAoJENET/Kw8Tlmfc5AP+gKbJS5CpJeyzfgCWaOxu9Tjka2zgoC2FMUL/MEM liM0aJN7sR8dFXegUBpokdz8soo8+jpZ5WZ+XCLy24WGjwIimY04CrsDSAubt5S6 L4Saud7TuLMwHhMKZ/na4iQQLV5Y5sU99zqXUUCUr3AJAj5fTeVDazEjqO0XwTjA Rxl/RT73mtIDQWYtGn4K2ehueVpNZPzCNL7BFepVlAw8Efczvhbj0x+F7zl7C5lE vChRNaBINRWcql/NtDcvBKftK2ew2uvAEaydCil3PJCqYm/N1VcN+xj0ZneSMIak HYhwWrP006ZSnke7X+q3XepCO5JXC4F+tDylKb5lKWzecUZi105XagkmhePZaMNl A4MHTvCzRt4q/fZSucAZUTVFi+PUrP3pj4SKHoW3hatDNrAeU8E7Y2a5/H7iHV+n FR89gWoihZq+0IGQpz045p8Ed+QK17vxgXPwkUBgUgCQrBrTEnKs3FncBEMOU2sb utAxsFPuVh4Hkyk9kanKf/9fn/Xf744nBNfddPfik+J9lDjUMsM8Jc59Ygs8cdFR fG7Bj5kNOMFOUQiS4VBZh4LxqDLjygkJ2Xa+B6rpcmiDvDZU68CzzzKWK6W3cAO2 uEKVsAca88JdPRAZx5rHRJ0buuNz6cqeB5KMfwqPFHhEXMEalf0EO1n8n4jSUeTH e+g3 =gFhQ -----END PGP SIGNATURE----- --=-=-=--