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

Re: w3m-session and emacs23



>>>>> In [emacs-w3m : No.10719] Francis Moreau wrote:
>> (defun jao-w3m-go-to-linknum ()
>>  "Turn on link numbers and ask for one to go to."
>>  (interactive)
>>  (require 'w3m-lnum)
>>  (let ((active w3m-link-numbering-mode))

[...]

> BTW any plan to make such function part of emacs-w3m itself ?

It appears to be convenient.  How about mapping the `C-c C-l' key,
for example, to it?  The OP in

http://emacs.wordpress.com/2008/04/12/numbered-links-in-emacs-w3m/

uses the `f' key, however it seems to be too good to use such a
single key stroke (in Japanese, Mottai-Nai), moreover someone has
marked the `f' key as having been reserved in the Info-like map:

(defvar w3m-info-like-map nil
  "Info-like keymap used in emacs-w3m buffers.")
[...]
    (define-key map "f" 'undefined) ;; reserved.

BTW, "jao" stands for "Jose A. Ortega Ruiz", doesn't it?

2008-04-12  Jose A. Ortega Ruiz  <jao (at) abra.uab.es>

	* w3m-lnum.el (w3m-go-to-linknum): New function.

Regards,