[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'Close this tab' loses previous tab cursor position
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 26 Aug 2013 19:46:53 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12129
- References: <87ob8lykbz.fsf@xxxxxxxxxxx>
In [emacs-w3m : No.12126] jidanni@xxxxxxxxxxx wrote:
> This works fine,
> C-c C-w runs the command w3m-delete-buffer, which is an interactive
> compiled Lisp function in `w3m.el'.
> It is bound to C-c C-w.
> (w3m-delete-buffer &optional FORCE)
> Delete the current emacs-w3m buffer and switch to the previous one.
> If however the user instead uses the mouse menu item "Close this tab",
> the previous tab's cursor position is lost and we are put back at its
> top.
> Test with: scroll far down a page and open a link in another session.
> Then in that session use the menu item "Close this tab".
> Note how all our scrolling far down is wasted! If we had used C-c C-w
> instead there would be no problem. emacs-w3m-version "1.4.517".
That's a mystery. But I've added a workaround to the CVS trunk.
> P.S., it seems tabs and sessions are almost the same things. Maybe the
> source code should just say "tab" everywhere!
Agreed. But they are too many to replace (if we do it, we have
to replace them in not only Lisp files but also English and
Japanese Info files). When I used the term `session', there was
no tab feature in emacs-w3m yet.