[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-new-session-in-background t doesn't behave conveniently
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Fri, 11 Jan 2013 09:15:00 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11956
- References: <87wqvlyofz.fsf@xxxxxx> <b4msj68vbee.fsf@xxxxxxx>
In [emacs-w3m : No.11955] Katsumi Yamaoka wrote:
(B> In [emacs-w3m : No.11954] Michael Heerdegen wrote:
(B>> This has always bothered me: Set `w3m-new-session-in-background' to t.
(B>> Now, if you use <S-return> or <S-mouse-2> to open a link in the
(B>> background, W3m creates a new tab, switches to this new tab, waits until
(B>> the new page is completely rendered, and not before that is done, it
(B>> jumps back to the old tab.
(B> Thanks. But I cannot reproduce this.
(BOops, I can reproduce it. Maybe I was half asleep, sorry.
(BCould you try the attached patch? I'll install it in CVS later.
--- w3m.el~ 2012-12-17 11:34:22.000000000 +0000
(B+++ w3m.el 2013-01-11 00:12:50.629614000 +0000
(B@@ -6912,7 +6912,8 @@
(B (setq buffer (current-buffer)))
(B (let (handler)
(B- (success (w3m-goto-url url reload nil nil w3m-current-url handler))
(B+ (success (w3m-goto-url url reload nil nil w3m-current-url handler
(B+ nil w3m-new-session-in-background))
(B (set-window-hscroll (selected-window) 0)
(B ;; Delete the newly created buffer if it's been made empty.
(B (when (and pos