emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: address@hidden: *Buffer List* column headers don't sort unless selec


From: Richard Stallman
Subject: Re: address@hidden: *Buffer List* column headers don't sort unless select buffer first]
Date: Tue, 19 Oct 2004 12:45:36 -0400

                            (define-key map [header-line mouse-2]
                              `(lambda (e)
                                 (interactive "e")
                                 (if e (set-buffer (window-buffer (posn-window 
(event-end e)))))
                                 (Buffer-menu-sort ,column)))

    now it sorts well enough, no matter what window is active.  But, when 
clicked
    with a different window active, the point, which I painstakingly saved in
    yesterday's fix, gets set to 1.  Heaven knows by whom -- it is correct when 
I
    leave this command, and then afterwards something happens.

Try putting save-buffer around the body of that function.
Does that make it work?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]