[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binding a summary key to *two* commands
From: |
Hikaru Ichijyo |
Subject: |
Re: binding a summary key to *two* commands |
Date: |
Tue, 20 Jan 2015 16:11:21 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
asjo@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-mark-as-expirable RET ]
> | gnus-summary-mark-as-expirable is an interactive compiled Lisp
> | function in `gnus-sum.el'.
> |
> | (gnus-summary-mark-as-expirable N)
> |
> | Mark N articles forward as expirable.
> | If N is negative, mark backward instead. The difference between N and
> | the actual number of articles marked is returned.
Yes, that's it exactly, thanks.
--
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
--Thomas Paine