[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One window configuration for Gnus?
From: |
Reinhard Tartler |
Subject: |
Re: One window configuration for Gnus? |
Date: |
Mon, 04 Sep 2006 16:20:12 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Tassilo Horn <heimdall@uni-koblenz.de> writes:
> Reinhard Tartler <siretart@tauware.de> writes:
>
>> Thats nice. Any way I can make the 'x' key
>> (gnus-summary-limit-to-unread) issue the '=' key (command
>> gnus-summary-expand-window) as well?
>
> This should do the trick:
>
> --8<---------------cut here---------------start------------->8---
> (add-hook 'gnus-summary-mode-hook
> (lambda ()
> (local-set-key (kbd "x")
> (lambda ()
> (gnus-summary-limit-to-unread)
> (gnus-summary-expand-window)))))
> --8<---------------cut here---------------end--------------->8---
Thank you for your fast response. I tried that, but I get this error
message when trying to use it:
Wrong type argument: commandp, (lambda nil
(gnus-summary-limit-to-unread) (gnus-summary-expand-window))
Seems like I have to seriously teach myself elisp some time...
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4