[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: article-mode and 'gnus-summary-put-mark-as-expirable-next
From: |
Giorgos Keramidas |
Subject: |
Re: article-mode and 'gnus-summary-put-mark-as-expirable-next |
Date: |
Sun, 13 Apr 2008 18:45:04 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) |
On Sun, 13 Apr 2008 06:22:48 +0300, Giorgos Keramidas
<keramida@ceid.upatras.gr> wrote:
>On Sun, 13 Apr 2008 06:15:13 +0300, Giorgos Keramidas
><keramida@ceid.upatras.gr> wrote:
>> Got it, sorry for posting too fast. Making gnus-summary-buffer the
>> current buffer works [...]
>
>> (defun keramida-alter-summary-map ()
>> (local-set-key "e"
>> (lambda (n)
>> (interactive "p")
>> (gnus-summary-put-mark-as-expirable-next n)))
>> (local-set-key "E" 'gnus-summary-edit-article))
>
> I pasted the wrong version. There should also be a call to
> with-current-buffer around gnus-summary-put-mark-as-expirable-next:
>
> (with-current-buffer gnus-summary-buffer
> (gnus-summary-put-mark-as-expirable-next n))
Not quite right, though. I've switched back to:
(local-set-key "e" "MMen")
because typing "e" in an *Article* buffer marks the current article as
expired, but doesn't move to the next one, when I use the lambda to call
directly into `gnus-summary-put-mark-as-expirable-next' :/