[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Select-buffer by number
- From: Memnon Anon <gegendosenfleisch@xxxxxxxxxxxxxx>
- Date: Fri, 15 Oct 2010 19:56:20 +0000 (UTC)
- X-ml-name: emacs-w3m
- X-mail-count: 11392
Hi,
`C-c C-s' is my favorite way to navigate my w3m buffers, but with lots
of buffers, using <up> and <down> can be a little bit tedious.
I found no obvious way to navigate to buffer n with a number prefix,
so I quickly tried this and it seems to work:
--8<---------------cut here---------------start------------->8---
(define-key w3m-select-buffer-mode-map "g"
(lambda (arg)
(interactive "p")
(goto-line arg)
(w3m-select-buffer-show-this-line)))
--8<---------------cut here---------------end--------------->8---
But I am still puzzled that this does not seem to work out of the box.
Did I miss anything in the documentation?
Memnon