Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap shows \Deleted messages
@ 2012-11-06 16:51 David Edmondson
  2012-12-22 19:52 ` Ted Zlatanov
  2012-12-25 12:22 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 14+ messages in thread
From: David Edmondson @ 2012-11-06 16:51 UTC (permalink / raw)
  To: ding

Ma Gnus from git on Emacs 23.4.1 on Debian testing.

Sometimes I use another IMAP mail client and delete a message. That mail
client marks the message as \Deleted, but is lazy about expunging. If I
now open this folder using Gnus the \Deleted message is shown to me. I'd
would prefer if messages so marked were not shown (by default?). Is this
possible?




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-11-06 16:51 nnimap shows \Deleted messages David Edmondson
@ 2012-12-22 19:52 ` Ted Zlatanov
  2012-12-26  8:41   ` David Edmondson
  2012-12-25 12:22 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 14+ messages in thread
From: Ted Zlatanov @ 2012-12-22 19:52 UTC (permalink / raw)
  To: ding

On Tue, 06 Nov 2012 16:51:32 +0000 David Edmondson <dme@dme.org> wrote: 

DE> Ma Gnus from git on Emacs 23.4.1 on Debian testing.
DE> Sometimes I use another IMAP mail client and delete a message. That mail
DE> client marks the message as \Deleted, but is lazy about expunging. If I
DE> now open this folder using Gnus the \Deleted message is shown to me. I'd
DE> would prefer if messages so marked were not shown (by default?). Is this
DE> possible?

Are you seeing these articles with the E (expire) mark?  If so, you can
customize the group/topic parameters as the manual explains:

http://www.gnu.org/software/emacs/manual/html_node/gnus/Group-Parameters.html

Look for the `display' parameter.

You could also score articles with the expire mark down, so they still
show up but at the bottom of your article list (the Summary buffer).

Ted




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-11-06 16:51 nnimap shows \Deleted messages David Edmondson
  2012-12-22 19:52 ` Ted Zlatanov
@ 2012-12-25 12:22 ` Lars Ingebrigtsen
  2012-12-31 11:55   ` Ted Zlatanov
  2013-02-18 11:09   ` David Edmondson
  1 sibling, 2 replies; 14+ messages in thread
From: Lars Ingebrigtsen @ 2012-12-25 12:22 UTC (permalink / raw)
  To: David Edmondson; +Cc: ding

David Edmondson <dme@dme.org> writes:

> Sometimes I use another IMAP mail client and delete a message. That mail
> client marks the message as \Deleted, but is lazy about expunging. If I
> now open this folder using Gnus the \Deleted message is shown to me.

Is the article marked as read as well as \Deleted?  I assumed that all
agents would do so, but if not, then Gnus should map \Deleted to read as
well, so that they don't show up (by default)...

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-12-22 19:52 ` Ted Zlatanov
@ 2012-12-26  8:41   ` David Edmondson
  0 siblings, 0 replies; 14+ messages in thread
From: David Edmondson @ 2012-12-26  8:41 UTC (permalink / raw)
  To: ding

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

On Sat, Dec 22 2012, Ted Zlatanov wrote:
> On Tue, 06 Nov 2012 16:51:32 +0000 David Edmondson <dme@dme.org> wrote: 
>
> DE> Ma Gnus from git on Emacs 23.4.1 on Debian testing.
> DE> Sometimes I use another IMAP mail client and delete a message. That mail
> DE> client marks the message as \Deleted, but is lazy about expunging. If I
> DE> now open this folder using Gnus the \Deleted message is shown to me. I'd
> DE> would prefer if messages so marked were not shown (by default?). Is this
> DE> possible?
>
> Are you seeing these articles with the E (expire) mark?

No.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-12-25 12:22 ` Lars Ingebrigtsen
@ 2012-12-31 11:55   ` Ted Zlatanov
  2012-12-31 15:38     ` Lars Magne Ingebrigtsen
  2013-02-18 11:09   ` David Edmondson
  1 sibling, 1 reply; 14+ messages in thread
From: Ted Zlatanov @ 2012-12-31 11:55 UTC (permalink / raw)
  To: ding

On Tue, 25 Dec 2012 13:22:46 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote: 

LI> David Edmondson <dme@dme.org> writes:
>> Sometimes I use another IMAP mail client and delete a message. That mail
>> client marks the message as \Deleted, but is lazy about expunging. If I
>> now open this folder using Gnus the \Deleted message is shown to me.

LI> Is the article marked as read as well as \Deleted?  I assumed that all
LI> agents would do so, but if not, then Gnus should map \Deleted to read as
LI> well, so that they don't show up (by default)...

Yes, please.

Ted




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-12-31 11:55   ` Ted Zlatanov
@ 2012-12-31 15:38     ` Lars Magne Ingebrigtsen
  2013-06-04  9:19       ` David Edmondson
  0 siblings, 1 reply; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-12-31 15:38 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> LI> Is the article marked as read as well as \Deleted?  I assumed that all
> LI> agents would do so, but if not, then Gnus should map \Deleted to read as
> LI> well, so that they don't show up (by default)...
>
> Yes, please.

I've now done this in Ma Gnus, but I'm not pushing it until I've tested
it a few hours.  Er.  And it's almost party time, so that will be
tomorrow instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-12-25 12:22 ` Lars Ingebrigtsen
  2012-12-31 11:55   ` Ted Zlatanov
@ 2013-02-18 11:09   ` David Edmondson
  1 sibling, 0 replies; 14+ messages in thread
From: David Edmondson @ 2013-02-18 11:09 UTC (permalink / raw)
  To: ding

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

[ /me comes up for air... ]

On Tue, Dec 25 2012, Lars Ingebrigtsen wrote:
> David Edmondson <dme@dme.org> writes:
>> Sometimes I use another IMAP mail client and delete a message. That mail
>> client marks the message as \Deleted, but is lazy about expunging. If I
>> now open this folder using Gnus the \Deleted message is shown to me.
>
> Is the article marked as read as well as \Deleted?  I assumed that all
> agents would do so, but if not, then Gnus should map \Deleted to read as
> well, so that they don't show up (by default)...

In general, yes.

But I have '(display . all)' as a parameter for this group, so it's
mostly irrelevant.

Did the change to map \Deleted to read ever get pushed? I don't see
anything like that in the code (but it's complicated!).

Could we perhaps choose how \Deleted is mapped? I'd probably map it to
expirable...

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2012-12-31 15:38     ` Lars Magne Ingebrigtsen
@ 2013-06-04  9:19       ` David Edmondson
  2013-06-06 14:30         ` Ted Zlatanov
  0 siblings, 1 reply; 14+ messages in thread
From: David Edmondson @ 2013-06-04  9:19 UTC (permalink / raw)
  To: ding

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

On Mon, Dec 31 2012, Lars Magne Ingebrigtsen wrote:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> LI> Is the article marked as read as well as \Deleted?  I assumed that all
>> LI> agents would do so, but if not, then Gnus should map \Deleted to read as
>> LI> well, so that they don't show up (by default)...
>>
>> Yes, please.
>
> I've now done this in Ma Gnus, but I'm not pushing it until I've tested
> it a few hours.  Er.  And it's almost party time, so that will be
> tomorrow instead.

Having lived with this change for a while, it feels wrong.

\Deleted articles should be marked as `expired', not simply smashed
together with `read'.

I have \Deleted articles that I haven't read, and that distinction is
currently lost.

I would like to know that I deleted an article, not just assume that I
had read it somewhere else.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-06-04  9:19       ` David Edmondson
@ 2013-06-06 14:30         ` Ted Zlatanov
  2013-06-06 14:48           ` David Edmondson
  0 siblings, 1 reply; 14+ messages in thread
From: Ted Zlatanov @ 2013-06-06 14:30 UTC (permalink / raw)
  To: ding

On Tue, 04 Jun 2013 10:19:51 +0100 David Edmondson <dme@dme.org> wrote: 

DE> Having lived with this change for a while, it feels wrong.

DE> I have \Deleted articles that I haven't read, and that distinction is
DE> currently lost.

DE> I would like to know that I deleted an article, not just assume that I
DE> had read it somewhere else.

I think the majority of users prefer not to have that distinction.
Deleting an article to most people means they don't care about it.  Is
this assumption wrong?  If not, can we accommodate your need without
changing the fundamental behavior?

Ted




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-06-06 14:30         ` Ted Zlatanov
@ 2013-06-06 14:48           ` David Edmondson
  2013-06-10  6:31             ` Ted Zlatanov
  2013-08-01 16:06             ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 14+ messages in thread
From: David Edmondson @ 2013-06-06 14:48 UTC (permalink / raw)
  To: ding

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

On Thu, Jun 06 2013, Ted Zlatanov wrote:
> On Tue, 04 Jun 2013 10:19:51 +0100 David Edmondson <dme@dme.org> wrote: 
>
> DE> Having lived with this change for a while, it feels wrong.
>
> DE> I have \Deleted articles that I haven't read, and that distinction is
> DE> currently lost.
>
> DE> I would like to know that I deleted an article, not just assume that I
> DE> had read it somewhere else.
>
> I think the majority of users prefer not to have that distinction.
> Deleting an article to most people means they don't care about it.  Is
> this assumption wrong?

It seems valid. I would be happy not to see the \Deleted messages at
all, I think.

> If not, can we accommodate your need without changing the fundamental
> behavior?

Currently \Deleted messages appear as read. I'm fine with them appearing
as read, but would like something more as well (expired seems ideal, but
anything that I can use to avoid them showing up in groups where
"(display . all)" is the norm).

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-06-06 14:48           ` David Edmondson
@ 2013-06-10  6:31             ` Ted Zlatanov
  2013-08-01 16:06             ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 14+ messages in thread
From: Ted Zlatanov @ 2013-06-10  6:31 UTC (permalink / raw)
  To: ding

On Thu, 06 Jun 2013 15:48:26 +0100 David Edmondson <dme@dme.org> wrote: 

DE> Currently \Deleted messages appear as read. I'm fine with them appearing
DE> as read, but would like something more as well (expired seems ideal, but
DE> anything that I can use to avoid them showing up in groups where
DE> "(display . all)" is the norm).

I don't know the right solution.  Maybe Lars does?

Ted




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-06-06 14:48           ` David Edmondson
  2013-06-10  6:31             ` Ted Zlatanov
@ 2013-08-01 16:06             ` Lars Magne Ingebrigtsen
  2013-08-01 16:54               ` Andreas Schwab
  2014-01-20 10:14               ` David Edmondson
  1 sibling, 2 replies; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 16:06 UTC (permalink / raw)
  To: David Edmondson; +Cc: ding

David Edmondson <dme@dme.org> writes:

> Currently \Deleted messages appear as read. I'm fine with them appearing
> as read, but would like something more as well (expired seems ideal, but
> anything that I can use to avoid them showing up in groups where
> "(display . all)" is the norm).

The "E" mark is for expirable articles, not expired articles, so that
doesn't seem ideal.

I think "marked as read" is the best we can do.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-08-01 16:06             ` Lars Magne Ingebrigtsen
@ 2013-08-01 16:54               ` Andreas Schwab
  2014-01-20 10:14               ` David Edmondson
  1 sibling, 0 replies; 14+ messages in thread
From: Andreas Schwab @ 2013-08-01 16:54 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: David Edmondson, ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> David Edmondson <dme@dme.org> writes:
>
>> Currently \Deleted messages appear as read. I'm fine with them appearing
>> as read, but would like something more as well (expired seems ideal, but
>> anything that I can use to avoid them showing up in groups where
>> "(display . all)" is the norm).
>
> The "E" mark is for expirable articles, not expired articles, so that
> doesn't seem ideal.

\Deleted messages are expirable in some sense, they are expired by
EXPUNGE.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: nnimap shows \Deleted messages
  2013-08-01 16:06             ` Lars Magne Ingebrigtsen
  2013-08-01 16:54               ` Andreas Schwab
@ 2014-01-20 10:14               ` David Edmondson
  1 sibling, 0 replies; 14+ messages in thread
From: David Edmondson @ 2014-01-20 10:14 UTC (permalink / raw)
  To: ding

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

On Thu, Aug 01 2013, Lars Magne Ingebrigtsen wrote:
> David Edmondson <dme@dme.org> writes:
>
>> Currently \Deleted messages appear as read. I'm fine with them appearing
>> as read, but would like something more as well (expired seems ideal, but
>> anything that I can use to avoid them showing up in groups where
>> "(display . all)" is the norm).
>
> The "E" mark is for expirable articles, not expired articles, so that
> doesn't seem ideal.
>
> I think "marked as read" is the best we can do.

This annoyed me again, so I looked more. `nnimap-update-info' is not
easy to follow!

This change gets me to where I want to be:

diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 016a8a2..8661fff 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -154,7 +154,7 @@ textual parts.")
   '((read "\\Seen" %Seen)
     (tick "\\Flagged" %Flagged)
     (reply "\\Answered" %Answered)
-    (expire "gnus-expire")
+    (expire "gnus-expire" %Deleted)
     (dormant "gnus-dormant")
     (score "gnus-score")
     (save "gnus-save")

Summary: deleted articles are give the "expire" mark. From there I can
do what I like on that basis.

Conveniently, it's a data-only change, so it's easy for me to make in my
.gnus.el.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-20 10:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-06 16:51 nnimap shows \Deleted messages David Edmondson
2012-12-22 19:52 ` Ted Zlatanov
2012-12-26  8:41   ` David Edmondson
2012-12-25 12:22 ` Lars Ingebrigtsen
2012-12-31 11:55   ` Ted Zlatanov
2012-12-31 15:38     ` Lars Magne Ingebrigtsen
2013-06-04  9:19       ` David Edmondson
2013-06-06 14:30         ` Ted Zlatanov
2013-06-06 14:48           ` David Edmondson
2013-06-10  6:31             ` Ted Zlatanov
2013-08-01 16:06             ` Lars Magne Ingebrigtsen
2013-08-01 16:54               ` Andreas Schwab
2014-01-20 10:14               ` David Edmondson
2013-02-18 11:09   ` David Edmondson

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).