binding a summary key to *two* commands

2015-01-20 Thread Hikaru Ichijyo
Anyone have any idea how I could make *two* summary buffer commands emit from one keystroke? I've tried the snippet below, but it's giving me errors about the wrong number of arguments. Basically, I'm trying to make "D" expire and read next unread, while "d" just expires and moves forward without

Re: binding a summary key to *two* commands

2015-01-20 Thread Adam Sjøgren
Hikaru writes: > (defun delete-then-read-next () > (interactive) > (gnus-summary-mark-as-expirable) Have you tried giving this function an argument (say 1)? Just a guess from reading the documentation of it: ,[ C-h f gnus-summary-mark-as-expirable RET ] | gnus-summary-mark-as-expirable

Re: binding a summary key to *two* commands

2015-01-20 Thread Hikaru Ichijyo
a...@koldfront.dk (Adam Sjøgren) writes: > Hikaru writes: > >> (defun delete-then-read-next () >> (interactive) >> (gnus-summary-mark-as-expirable) > > Have you tried giving this function an argument (say 1)? > > Just a guess from reading the documentation of it: > > ,[ C-h f gnus-summary-

Re: binding a summary key to *two* commands

2015-01-20 Thread Hikaru Ichijyo
Ok, the function I was trying to make, debugged, in case anyone wants it. If you press "d", it sets the expirable mark and moves forward without reading the next message (good if you're in the middle of a lot of trash messages); if you press "D", it sets expirable and reads the next one (good if y

Re: gnus-calendar / gnus-icalendar in Emacs24?

2015-01-20 Thread Gour
On Sri, 2014-12-17 at 12:41 +0100, Rasmus wrote: Hello Rasmus, For some time I tried to use vim (due to wrist pain) & taskwarrior to manage my tasks. Recently I migrated from Claws to Evolution, mostly for groupware capabilities, iow. to be abl to sync my calendar & contacts with my phone where I