[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-clear-display-while-reading vs w3m-view-header on link
Boruch Baum <boruch_baum@xxxxxxx> writes:
>
> How could I reproduce your bug? When I open a buffer to google.com and
> press =
Yes, just that. Emacs 25.2 -Q, cvs emacs-w3m and say
(w3m-browse-url "http://www.google.com.au/search?q=emacs-w3m")
point on a link, and in "=" expect current page url and also
"Current Anchor:" with url of the link destination. It does it for me
on either a remote or local page. If point on an image then expect
"Image:" url too.
Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
>
> I could confirm that the point moved to min. only when I traced
> `w3m-process-stop' using edebug. Although I don't know why it
> doesn't happen in the normal use case on me, I made the following
> change in `w3m-process-stop' in CVS. Does this do the trick?
Yes. Beaut. Would save-excursion suit there? Good for me.
--- w3m-proc.el.~1.88.~ 2018-02-01 16:04:50.574530855 +1100
+++ w3m-proc.el 2018-05-18 18:03:47.096949238 +1000
@@ -298,7 +298,7 @@
(if w3m-process-queue
(w3m-process-start-queued-processes)
(when (and w3m-clear-display-while-reading
- (progn
+ (save-excursion
(goto-char (point-min))
(looking-at "\n* *Reading [^\n]+\\.\\.\\.\\'")))
(let ((inhibit-read-only t))
--
I once met a man so superstitious that when stuck in a lift with
13 strippers on their way to rehearsal he pushed the alarm button.