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

Re: Cannot open load file: cl



Hi Robert.

# late replry 2nd...X-<

2007/5/9, Robert J. Chassell <bob@xxxxxxxxxxxxxxx>:
Your suggestion works fine, I just tested it, but it does not do what
I wanted.  `C-c C-a' switches me to the same or to another *w3m*
buffer.  As I said earlier,
[snip]

I known it.

# You are using iswtichb? and other?

Please try it

1. boot emacs without user config : emacs -q
2. check keybind                                : in normal buffer, C-h b
3. load w3m                                        : (require 'w3m) and (w3m)
4. check keybind                                : in normal buffer, C-h b

C-x b:
switch-to-buffer change to w3m-switch-to-buffer?

If it so, emacs-w3m is fine. And it is youre customize code override
switch-to-buffer remap?
But otherwise ... ??? please report.

== target code in emacs-w3m ==

Old code (release emacs-w3m 1.4.4 w3m-e21.el)
(defun w3m-e21-subst-switch-to-buffer-keys ()
 "Substitute keys for `switch-to-buffer' with `w3m-e21-switch-to-buffer'."
 (substitute-key-definition 'switch-to-buffer 'w3m-e21-switch-to-buffer
                            w3m-mode-map global-map))

New Code (CVS HEAD w3m-ems.el)
(defun w3m-subst-switch-to-buffer-keys ()
 "Substitute keys for `switch-to-buffer' with `w3m-switch-to-buffer'."
 (substitute-key-definition 'switch-to-buffer 'w3m-switch-to-buffer
			     w3m-mode-map global-map))
===================================================
Thanks.
CHO.