From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86028 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 18:53:54 -0700 Message-ID: <87y4iw7knh.fsf@vostro.rath.org> References: <87pp4a9e87.fsf@vostro.rath.org> <87bnftoyhv.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 1435974899 4476 80.91.229.3 (4 Jul 2015 01:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jul 2015 01:54:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34263@lists.math.uh.edu Sat Jul 04 03:54:48 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 1ZBCfH-00041J-LJ for ding-account@gmane.org; Sat, 04 Jul 2015 03:54:47 +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 1ZBCed-0004m6-Tl; Fri, 03 Jul 2015 20:54:07 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZBCeb-0004ll-18 for ding@lists.math.uh.edu; Fri, 03 Jul 2015 20:54:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1ZBCeZ-0000zy-MV for ding@lists.math.uh.edu; Fri, 03 Jul 2015 20:54:04 -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 1ZBCeY-0002LX-1k for ding@gnus.org; Sat, 04 Jul 2015 03:54:02 +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 1ZBCeV-0000nj-MF for ding@gnus.org; Sat, 04 Jul 2015 01:53:59 +0000 Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 28485EC47E3; Fri, 3 Jul 2015 18:53:59 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: (Greg Troxel's message of "Fri, 03 Jul 2015 19:09:34 -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:86028 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Jul 03 2015, Greg Troxel wrote: > Nikolaus Rath writes: > >> 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). > > OK, but it seems many MUAs have a notion of moving messages to a trash > folder instead of just IMAP deletion. > > Do MUAs that behave the way you say have "trash" mailbox in the UI > that is really the set of messages in other mailboxes (or inbox) > that have the \Deleted flag set? Theoretically they could, in practice I don't know any MUA that does this. They all have a trash mailbox in the imap account, and move messages there instead of deleting them. >> 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. > > But I empty trash by total-expire in gnus, on the trash mailbox :-) That's the same thing. By default, deleting in Gnus means setting the \Delete flag *and* immediately running expunge. But I've submitted another patch that changes this, so that you can skip the expunge step.=20 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 iQKgBAEBCgCKBQJVlzyzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRDMxNzkxQjJDNUMxNjEzQUYzODhCOEFE MTEzRkNBQzNDNEU1OTlGIxpodHRwOi8vd3d3LnJhdGgub3JnL2dwZ3BvbGljeS5o dG1sAAoJENET/Kw8TlmfvcIQANZS6Nvc8TAJU9KfVAhxKqhyTVT7LkW5bxTXdeZy 7vFge46nW02bieYAsq0L3PmbXdO5kWulXPL6DipNYXoivedLHY7pELYpsvK6akxb dMuNWAFpW+EpGmj3qYaGzelPC7YKdhpS5zBPm1zELlqfkjbADQ6D2q4pqurDBssd RviRQH1WSMaj2SnTS4YiCPO+VuUNsAhMc7VSoVGxYrfa34ac6/xiVIOWGh+UtgK9 ULxijsCZtpfdT6Ag8RUAo1V8mM1rZ3kYaBbbfPITJqJYU4g7sOSeKFd8OB0SZsWR GNAogK3UpCQim34290BifqgFqnsyWDp+BUX2rTT7zUPVTP6kzc7ihRw7MPYofNfB zlMk6Ih9sNzvishNyM17eXAc3YvYYufybv+173C5UKT297LwhbMM8ljMw2xTNmDK CC/B1k3NVWT+sSk43oGn+IwbRoLLygZwSt3chGCPnTKPno8KQ6Qz/SNfUW5iAQUj KwsQoSbkgQu8laouxCVi1CkYbi9dbYPw5bHX8NQwvwJZkaXfLrH5M46BUd+w985J x4YiCwMKz2pefN7XIDSID0GifDwmyAn6KhNE/DzFww+fMsfxIcGCFrFW0Gy5c7W0 1x53QsyncxMdHKpp8L9KCIx4BXT7v3muZeOD2Zfaq2Dnou43xT7+4uduSFEAceUR PAwx =V0Fu -----END PGP SIGNATURE----- --=-=-=--