Gnus development mailing list
 help / color / mirror / Atom feed
* Removing the expirable mark
@ 2011-05-11 13:29 Didier Verna
  2011-05-11 21:40 ` Ted Zlatanov
  2011-05-13 19:09 ` Dan Christensen
  0 siblings, 2 replies; 12+ messages in thread
From: Didier Verna @ 2011-05-11 13:29 UTC (permalink / raw)
  To: Gnus Beta Testers


  Hello,

what is the proper way to remove the expirable mark in all articles from
a group (for several backends, including nnimap and nntp) ?

thanks.

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com



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

* Re: Removing the expirable mark
  2011-05-11 13:29 Removing the expirable mark Didier Verna
@ 2011-05-11 21:40 ` Ted Zlatanov
  2011-05-13 19:09 ` Dan Christensen
  1 sibling, 0 replies; 12+ messages in thread
From: Ted Zlatanov @ 2011-05-11 21:40 UTC (permalink / raw)
  To: ding

On Wed, 11 May 2011 15:29:47 +0200 Didier Verna <didier@xemacs.org> wrote: 

dvl> what is the proper way to remove the expirable mark in all articles from
dvl> a group (for several backends, including nnimap and nntp) ?

Since the expirable mark is exclusive of other marks and thus not a
toggle, I usually do `C-u 1000 M-u' on all the expirable articles (1000
of them here) and then mark them as needed.  I think once an article is
expirable, you can't go back to the marks it had before (unless you
`Q'uick-quit out of the group).

Ted




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

* Re: Removing the expirable mark
  2011-05-11 13:29 Removing the expirable mark Didier Verna
  2011-05-11 21:40 ` Ted Zlatanov
@ 2011-05-13 19:09 ` Dan Christensen
  2011-05-13 20:11   ` Ted Zlatanov
  1 sibling, 1 reply; 12+ messages in thread
From: Dan Christensen @ 2011-05-13 19:09 UTC (permalink / raw)
  To: ding

Didier Verna <didier@xemacs.org> writes:

> what is the proper way to remove the expirable mark in all articles from
> a group (for several backends, including nnimap and nntp) ?

This doesn't answer your question, but I also find that because of my
habit of using expiry in mail groups, I often accidentally mark articles
as expirable in nntp groups as well, which doesn't make sense.  Maybe
Gnus should automatically convert expirable marks to read marks in nntp
groups (and other groups which don't allow article deletion)?  My
.newsrc.eld gets really cluttered because of my misbehaving fingers.

Dan




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

* Re: Removing the expirable mark
  2011-05-13 19:09 ` Dan Christensen
@ 2011-05-13 20:11   ` Ted Zlatanov
  2011-05-14  2:18     ` Dan Christensen
  0 siblings, 1 reply; 12+ messages in thread
From: Ted Zlatanov @ 2011-05-13 20:11 UTC (permalink / raw)
  To: ding

On Fri, 13 May 2011 15:09:49 -0400 Dan Christensen <jdc@uwo.ca> wrote: 

DC> Didier Verna <didier@xemacs.org> writes:
>> what is the proper way to remove the expirable mark in all articles from
>> a group (for several backends, including nnimap and nntp) ?

DC> This doesn't answer your question, but I also find that because of my
DC> habit of using expiry in mail groups, I often accidentally mark articles
DC> as expirable in nntp groups as well, which doesn't make sense.  Maybe
DC> Gnus should automatically convert expirable marks to read marks in nntp
DC> groups (and other groups which don't allow article deletion)?  My
DC> .newsrc.eld gets really cluttered because of my misbehaving fingers.

I think Gnus does that when the marks are actually saved.

Ted




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

* Re: Removing the expirable mark
  2011-05-13 20:11   ` Ted Zlatanov
@ 2011-05-14  2:18     ` Dan Christensen
  2011-05-16 18:39       ` Ted Zlatanov
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Christensen @ 2011-05-14  2:18 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 13 May 2011 15:09:49 -0400 Dan Christensen <jdc@uwo.ca> wrote: 
>
> DC> This doesn't answer your question, but I also find that because of my
> DC> habit of using expiry in mail groups, I often accidentally mark articles
> DC> as expirable in nntp groups as well, which doesn't make sense.  Maybe
> DC> Gnus should automatically convert expirable marks to read marks in nntp
> DC> groups (and other groups which don't allow article deletion)?  My
> DC> .newsrc.eld gets really cluttered because of my misbehaving fingers.
>
> I think Gnus does that when the marks are actually saved.

Not for me.  Here's a snippet from my .newsrc.eld:

    ("nntp+news.gmane.org:gmane.linux.ubuntu.news" 3
   ((1 . 313))
   ((seen (1 . 313)) (forward 160 188) (expire 175 (186 . 188) 191 197 207 (273 . 275) 308))

Dan




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

* Re: Removing the expirable mark
  2011-05-14  2:18     ` Dan Christensen
@ 2011-05-16 18:39       ` Ted Zlatanov
  2011-05-18 15:23         ` Dan Christensen
  0 siblings, 1 reply; 12+ messages in thread
From: Ted Zlatanov @ 2011-05-16 18:39 UTC (permalink / raw)
  To: ding

On Fri, 13 May 2011 22:18:13 -0400 Dan Christensen <jdc@uwo.ca> wrote: 

DC> Ted Zlatanov <tzz@lifelogs.com> writes:
>> On Fri, 13 May 2011 15:09:49 -0400 Dan Christensen <jdc@uwo.ca> wrote: 
>> 
DC> This doesn't answer your question, but I also find that because of my
DC> habit of using expiry in mail groups, I often accidentally mark articles
DC> as expirable in nntp groups as well, which doesn't make sense.  Maybe
DC> Gnus should automatically convert expirable marks to read marks in nntp
DC> groups (and other groups which don't allow article deletion)?  My
DC> .newsrc.eld gets really cluttered because of my misbehaving fingers.
>> 
>> I think Gnus does that when the marks are actually saved.

DC> Not for me.  Here's a snippet from my .newsrc.eld:

DC>     ("nntp+news.gmane.org:gmane.linux.ubuntu.news" 3
DC>    ((1 . 313))
DC>    ((seen (1 . 313)) (forward 160 188) (expire 175 (186 . 188) 191 197 207 (273 . 275) 308))

So when synchronizing the marks in "news" backends, we should convert
expirable marks to read marks?

Is that OK?  Can you think of any reason not to do this?  It seems safe
to me.

Ted




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

* Re: Removing the expirable mark
  2011-05-16 18:39       ` Ted Zlatanov
@ 2011-05-18 15:23         ` Dan Christensen
  2011-05-18 20:44           ` Ted Zlatanov
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Christensen @ 2011-05-18 15:23 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> So when synchronizing the marks in "news" backends, we should convert
> expirable marks to read marks?

Either that or: if a group doesn't support deletion, change the key
binding so that read marks get added instead of expirable marks.

I'd be quite happy with either option.  It would also be good if
expirable marks that are already in the .newsrc.eld got converted
to read marks.

Dan




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

* Re: Removing the expirable mark
  2011-05-18 15:23         ` Dan Christensen
@ 2011-05-18 20:44           ` Ted Zlatanov
  2011-09-07 13:30             ` Dan Christensen
  0 siblings, 1 reply; 12+ messages in thread
From: Ted Zlatanov @ 2011-05-18 20:44 UTC (permalink / raw)
  To: ding

On Wed, 18 May 2011 11:23:25 -0400 Dan Christensen <jdc@uwo.ca> wrote: 

DC> Ted Zlatanov <tzz@lifelogs.com> writes:
>> So when synchronizing the marks in "news" backends, we should convert
>> expirable marks to read marks?

DC> Either that or: if a group doesn't support deletion, change the key
DC> binding so that read marks get added instead of expirable marks.

DC> I'd be quite happy with either option.  It would also be good if
DC> expirable marks that are already in the .newsrc.eld got converted
DC> to read marks.

My way would convert expirable marks automatically so it's probably
cleaner.  I just need to learn how to actually do it (hints and help
welcome :)

Ted




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

* Re: Removing the expirable mark
  2011-05-18 20:44           ` Ted Zlatanov
@ 2011-09-07 13:30             ` Dan Christensen
  2011-09-10 19:56               ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Christensen @ 2011-09-07 13:30 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Wed, 18 May 2011 11:23:25 -0400 Dan Christensen <jdc@uwo.ca> wrote: 
>
> DC> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> So when synchronizing the marks in "news" backends, we should convert
>>> expirable marks to read marks?
>
> DC> Either that or: if a group doesn't support deletion, change the key
> DC> binding so that read marks get added instead of expirable marks.
>
> DC> I'd be quite happy with either option.  It would also be good if
> DC> expirable marks that are already in the .newsrc.eld got converted
> DC> to read marks.
>
> My way would convert expirable marks automatically so it's probably
> cleaner.  I just need to learn how to actually do it (hints and help
> welcome :)

I saw that Lars disabled auto-expire for read-only groups, but I'm
still having the problem that my nntp groups have lots of expirable
marks, since I often manually mark articles expirable by hand.  Does
anyone have any idea which function to hack so that expirable marks
get converted to read marks?

Dan




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

* Re: Removing the expirable mark
  2011-09-07 13:30             ` Dan Christensen
@ 2011-09-10 19:56               ` Lars Magne Ingebrigtsen
  2011-09-11 23:23                 ` Dan Christensen
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-10 19:56 UTC (permalink / raw)
  To: ding

Dan Christensen <jdc@uwo.ca> writes:

> I saw that Lars disabled auto-expire for read-only groups, but I'm
> still having the problem that my nntp groups have lots of expirable
> marks, since I often manually mark articles expirable by hand.  Does
> anyone have any idea which function to hack so that expirable marks
> get converted to read marks?

Articles that are expirable are also marked as read, unless you've got
an odd setup.

So if you just remove the expirable marks (with `G E'), they'll be gone.

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



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

* Re: Removing the expirable mark
  2011-09-10 19:56               ` Lars Magne Ingebrigtsen
@ 2011-09-11 23:23                 ` Dan Christensen
  2011-09-12  4:24                   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Christensen @ 2011-09-11 23:23 UTC (permalink / raw)
  To: ding

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

> Dan Christensen <jdc@uwo.ca> writes:
>
>> I saw that Lars disabled auto-expire for read-only groups, but I'm
>> still having the problem that my nntp groups have lots of expirable
>> marks, since I often manually mark articles expirable by hand.  Does
>> anyone have any idea which function to hack so that expirable marks
>> get converted to read marks?
>
> Articles that are expirable are also marked as read, unless you've got
> an odd setup.
>
> So if you just remove the expirable marks (with `G E'), they'll be gone.

But I'm going to keep manually marking articles as expirable in nntp
groups because my fingers do it automatically.  It would be great if
those marks weren't saved in read-only groups.

[Sorry if this appears twice.  I thought I sent it yesterday, but it
was still in my Drafts folder and hasn't appeared in gmane, so I guess
I forgot to send...]

Dan




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

* Re: Removing the expirable mark
  2011-09-11 23:23                 ` Dan Christensen
@ 2011-09-12  4:24                   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-12  4:24 UTC (permalink / raw)
  To: ding

Dan Christensen <jdc@uwo.ca> writes:

> But I'm going to keep manually marking articles as expirable in nntp
> groups because my fingers do it automatically.  It would be great if
> those marks weren't saved in read-only groups.

It doesn't really matter whether they are not or not, though.  So I
don't think it sounds worth doing anything special here.

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



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

end of thread, other threads:[~2011-09-12  4:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 13:29 Removing the expirable mark Didier Verna
2011-05-11 21:40 ` Ted Zlatanov
2011-05-13 19:09 ` Dan Christensen
2011-05-13 20:11   ` Ted Zlatanov
2011-05-14  2:18     ` Dan Christensen
2011-05-16 18:39       ` Ted Zlatanov
2011-05-18 15:23         ` Dan Christensen
2011-05-18 20:44           ` Ted Zlatanov
2011-09-07 13:30             ` Dan Christensen
2011-09-10 19:56               ` Lars Magne Ingebrigtsen
2011-09-11 23:23                 ` Dan Christensen
2011-09-12  4:24                   ` Lars Magne Ingebrigtsen

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