* gnus-summary-mark-thread-as-expirable
@ 2007-09-26 7:15 ecocode
2007-09-26 17:27 ` gnus-summary-mark-thread-as-expirable David Z Maze
2007-09-26 21:47 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
0 siblings, 2 replies; 9+ messages in thread
From: ecocode @ 2007-09-26 7:15 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
Hello,
I'm using 'E' in summary mode to mark messages as expirable. What would
help me now is to have a shortcut marking a complete thread as
expirable.
Any idea for a function ?
--
Erik Colson
http://www.ecocode.net
[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-26 7:15 gnus-summary-mark-thread-as-expirable ecocode
@ 2007-09-26 17:27 ` David Z Maze
2007-09-26 21:47 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
1 sibling, 0 replies; 9+ messages in thread
From: David Z Maze @ 2007-09-26 17:27 UTC (permalink / raw)
To: ding
ecocode <eco@ecocode.net> writes:
> I'm using 'E' in summary mode to mark messages as expirable. What would
> help me now is to have a shortcut marking a complete thread as
> expirable.
> Any idea for a function ?
T # M-& E would do it, but that's a little unwieldy.
In my use I aggressively sort things into groups, and things that are
mailing lists are total-expirable, so while it's still interesting to
expire individual messages in e.g. mail.misc.personal, for the most part
I'm not trying to expire whole threads.
("Why yes, I do have a mail.misc.impersonal folder.")
--dzm
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-26 7:15 gnus-summary-mark-thread-as-expirable ecocode
2007-09-26 17:27 ` gnus-summary-mark-thread-as-expirable David Z Maze
@ 2007-09-26 21:47 ` Ted Zlatanov
2007-09-27 6:02 ` gnus-summary-mark-thread-as-expirable ecocode
1 sibling, 1 reply; 9+ messages in thread
From: Ted Zlatanov @ 2007-09-26 21:47 UTC (permalink / raw)
To: ecocode; +Cc: ding
gnus-summary-kill-thread could easily be extended to do this. It
already does unmarking and ticking of articles; what's one more usage
mode between friends...
I would have done it but don't know what's a good value for the prefix
argument to use as a trigger. Any suggestions? 0 perhaps?
Ted
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-26 21:47 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
@ 2007-09-27 6:02 ` ecocode
2007-09-27 10:56 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
0 siblings, 1 reply; 9+ messages in thread
From: ecocode @ 2007-09-27 6:02 UTC (permalink / raw)
To: ding
* Ted Zlatanov <tzz@lifelogs.com> wrote:
|
| I would have done it but don't know what's a good value for the prefix
| argument to use as a trigger. Any suggestions? 0 perhaps?
What about T E ?
--
Erik Colson
http://www.ecocode.net
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-27 6:02 ` gnus-summary-mark-thread-as-expirable ecocode
@ 2007-09-27 10:56 ` Ted Zlatanov
2007-09-27 18:51 ` gnus-summary-mark-thread-as-expirable Reiner Steib
0 siblings, 1 reply; 9+ messages in thread
From: Ted Zlatanov @ 2007-09-27 10:56 UTC (permalink / raw)
To: ecocode; +Cc: ding
On Thu, 27 Sep 2007 08:02:24 +0200 ecocode <eco@ecocode.net> wrote:
e> * Ted Zlatanov <tzz@lifelogs.com> wrote:
e> |
e> | I would have done it but don't know what's a good value for the prefix
e> | argument to use as a trigger. Any suggestions? 0 perhaps?
e> What about T E ?
Sorry for responding in Lisp-speak :)
`T E' is the key shortcut you'd like. What I mean is that
gnus-summary-kill-thread has a prefix argument (it's mapped by default
to `T k'; you press C-u then type a number, then hit `T k' to give that
number to gnus-summary-kill-thread as the prefix argument). If you
don't pass that number, the prefix argument is null. This is standard
Emacs behavior and a lot of functions take a prefix argument.
I added an extra option to gnus-summary-kill-thread which is almost
exactly like the regular null-prefix behavior, but used
gnus-expirable-mark instead of gnus-killed-mark. To use it, you don't
have to play with universal prefixes, just do the following:
1) get latest Gnus from CVS
2) hit `M-C-e' or `T e' on a thread to mark the whole thing expirable.
I used `T e' because `T k' is mapped to gnus-summary-kill-thread and I
wanted to be consistent.
3) if you like the behavior, you can map that to a key by itself, say
C-e:
(define-key gnus-summary-mode-map "\C-e" 'gnus-summary-expire-thread)
Please test and let me know if this works for you. My testing showed no
problems. I'll document it once testing is done.
Ted
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-27 10:56 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
@ 2007-09-27 18:51 ` Reiner Steib
2007-09-27 19:52 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
0 siblings, 1 reply; 9+ messages in thread
From: Reiner Steib @ 2007-09-27 18:51 UTC (permalink / raw)
To: ding
On Thu, Sep 27 2007, Ted Zlatanov wrote:
> 3) if you like the behavior, you can map that to a key by itself, say
> C-e:
>
> (define-key gnus-summary-mode-map "\C-e" 'gnus-summary-expire-thread)
Better use `C-c e', `v' or `v e' as these are reserved for users.
`C-e' isn't.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-27 18:51 ` gnus-summary-mark-thread-as-expirable Reiner Steib
@ 2007-09-27 19:52 ` Ted Zlatanov
2007-09-27 21:01 ` gnus-summary-mark-thread-as-expirable David Z Maze
2007-09-27 21:07 ` gnus-summary-mark-thread-as-expirable Reiner Steib
0 siblings, 2 replies; 9+ messages in thread
From: Ted Zlatanov @ 2007-09-27 19:52 UTC (permalink / raw)
To: ding
On Thu, 27 Sep 2007 20:51:09 +0200 Reiner Steib <reinersteib+gmane@imap.cc> wrote:
RS> On Thu, Sep 27 2007, Ted Zlatanov wrote:
>> 3) if you like the behavior, you can map that to a key by itself, say
>> C-e:
>>
>> (define-key gnus-summary-mode-map "\C-e" 'gnus-summary-expire-thread)
RS> Better use `C-c e', `v' or `v e' as these are reserved for users.
RS> `C-e' isn't.
You decide, I'm OK with any one of those. `T e' seems to be the best
option anyhow.
Ted
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-27 19:52 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
@ 2007-09-27 21:01 ` David Z Maze
2007-09-27 21:07 ` gnus-summary-mark-thread-as-expirable Reiner Steib
1 sibling, 0 replies; 9+ messages in thread
From: David Z Maze @ 2007-09-27 21:01 UTC (permalink / raw)
To: ding
Ted Zlatanov <tzz@lifelogs.com> writes:
> You decide, I'm OK with any one of those. `T e' seems to be the best
> option anyhow.
Maybe `T E' (with a capital E) to be better parallel with the normal `E'
binding for gnus-summary-mark-as-expirable?
--dzm
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gnus-summary-mark-thread-as-expirable
2007-09-27 19:52 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
2007-09-27 21:01 ` gnus-summary-mark-thread-as-expirable David Z Maze
@ 2007-09-27 21:07 ` Reiner Steib
1 sibling, 0 replies; 9+ messages in thread
From: Reiner Steib @ 2007-09-27 21:07 UTC (permalink / raw)
To: ding
On Thu, Sep 27 2007, Ted Zlatanov wrote:
> On Thu, 27 Sep 2007 Reiner Steib <reinersteib+gmane@imap.cc> wrote:
> RS> On Thu, Sep 27 2007, Ted Zlatanov wrote:
>>> 3) if you like the behavior, you can map that to a key by itself, say
>>> C-e:
[...]
> RS> Better use `C-c e', `v' or `v e' as these are reserved for users.
> RS> `C-e' isn't.
>
> You decide, I'm OK with any one of those.
Uh, no. I wasn't talking about the default binding in Gnus here.
These are reserved for *users*.
> `T e' seems to be the best option anyhow.
We might use `T E': uppercase E in analogy to `E' for
`gnus-summary-mark-as-expirable' (and reserve `T e' for later). OTOH,
lowercase e in analogy to `M e'. I don't have strong opinion on this.
Both (`T E' and `T e') are fine with me.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-27 21:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-26 7:15 gnus-summary-mark-thread-as-expirable ecocode
2007-09-26 17:27 ` gnus-summary-mark-thread-as-expirable David Z Maze
2007-09-26 21:47 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
2007-09-27 6:02 ` gnus-summary-mark-thread-as-expirable ecocode
2007-09-27 10:56 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
2007-09-27 18:51 ` gnus-summary-mark-thread-as-expirable Reiner Steib
2007-09-27 19:52 ` gnus-summary-mark-thread-as-expirable Ted Zlatanov
2007-09-27 21:01 ` gnus-summary-mark-thread-as-expirable David Z Maze
2007-09-27 21:07 ` gnus-summary-mark-thread-as-expirable Reiner Steib
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).