info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to click article buttons without leaving the summary buffer?


From: Peter Münster
Subject: Re: Any way to click article buttons without leaving the summary buffer?
Date: Tue, 04 Jan 2011 10:27:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

pmlists@free.fr (Peter Münster) writes:

> I'm just working on my-alter-summary-map and my-alter-article-map to get
> this behaviour.

Here some ideas:

--8<---------------cut here---------------start------------->8---
(defun my-alter-group-map ()
  (local-set-key [right] 'gnus-group-select-group))

(defun my-alter-summary-map ()
  (local-set-key [left] 'gnus-summary-exit)
  (local-set-key [right] '(lambda () (interactive)
                            (gnus-summary-show-article)
                            (gnus-summary-select-article-buffer)
                            (delete-other-windows)))
  (local-set-key "s" '(lambda () (interactive)
                        (gnus-summary-move-article)
                        (next-line)))
  (local-set-key "d" [?M ?M ?e ?e down]))

(defun my-alter-article-map ()
  (local-set-key [left] '(lambda () (interactive)
                           (gnus-article-show-summary)
                           (delete-other-windows)))
  (local-set-key "s" '(lambda () (interactive)
                        (gnus-summary-move-article)
                        (gnus-summary-next-unread-article)
                        (gnus-summary-show-article)
                        (gnus-summary-select-article-buffer)
                        (delete-other-windows)))
  (local-set-key "d" "MMeeN"))

(add-hook 'gnus-group-mode-hook 'my-alter-group-map)
(add-hook 'gnus-summary-mode-hook 'my-alter-summary-map)
(add-hook 'gnus-article-mode-hook 'my-alter-article-map)
--8<---------------cut here---------------end--------------->8---

(delete-other-window) is just personal taste.
s: save message
d: delete message

When you read your messages without leaving the article buffer (using
"n", "space" and so on), you can immediatly jump to the URLs with TAB.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]