[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error upon load and tab navigation [PATCH included]
In [emacs-w3m : No.12745]
On Thu, 13 Jul 2017 08:33:06 -0400, Boruch Baum wrote:
> For example, `C-x m' (browse-url-at-point) does not work without the
> patch, but does with the patch.
I made sure that w3m.elc is not loaded, and then tried this
(setq browse-url-browser-function 'w3m-browse-url)
and invoked `M-x browse-url-at-point RET' on a url string.
However, nothing happened other than having launched emacs-w3m
normally. Isn't this procedure the same as yours? Isn't any
message shown in the echo area (or logged in the *Messages*
buffer) then?
Note: The value of `post-command-hook' in a w3m-mode buffer would
normally be (w3m-check-current-position t), in which the local
part `w3m-check-current-position' runs `w3m-print-this-url', etc.
But Emacs will make it (t) if an error once occurs by a function
listed in the variable `w3m-after-cursor-move-hook', i.e.,
`w3m-highlight-current-anchor', `w3m-show-form-hint',
`w3m-print-this-url' and `w3m-auto-show' by default. In my case,
`post-command-hook' didn't get changed through the above test.