Lars Magne Ingebrigtsen <la...@gnus.org> writes:

>> Idea #2: Add a command that highlights successive links on repeated
>> invocation, and another command that activates the currently highlighted
>> link.
>
> Sounds nice.  Perhaps TAB in the summary buffer should highlight the
> links successively?  And then RET could "click the link".

Seems to be not so difficult:

--8<---------------cut here---------------start------------->8---
(defun my-alter-summary-map ()
  (local-set-key [tab] '(lambda () (interactive)
                          (gnus-summary-select-article-buffer)
                          (w3m-next-anchor)
                          (w3m-highlight-current-anchor)
                          (gnus-article-show-summary)))
  (local-set-key [C-return] [?h return ?h]))

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

Only the w3m-highlight-current-anchor does not work as expected... :(

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to