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

'Close this tab' loses previous tab cursor position



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".

P.S., it seems tabs and sessions are almost the same things. Maybe the
source code should just say "tab" everywhere!