[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-autoselect-window
From: |
martin rudalics |
Subject: |
Re: mouse-autoselect-window |
Date: |
Wed, 05 Sep 2007 20:04:15 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> I disagree. I'm running Emacs on GNU/Linux under KDE, I have a
> click-to-focus policy but also have mouse-autoselect-window set to t,
> because I want to have autoselection between split windows within a
> single frame. I also observe the same behavior that Drew Adams
> described.
Seems like a bug, indeed. Could you try the attached patch (against
Emacs_22_BASE) with `focus-follows-mouse' nil and
`mouse-autoselect-window' non-nil? We'd also have to remove the
This variable does not have any effect on MS-Windows.
statement in the `focus-follows-mouse' doc-string (and as Drew suggested
update the documentation).
*** window.el.~1.120.2.2.~ Wed Aug 8 23:12:06 2007
--- window.el Wed Sep 5 19:59:54 2007
***************
*** 853,858 ****
--- 853,863 ----
;; Delayed autoselection was temporarily suspended, reenable it.
(mouse-autoselect-window-start mouse-position))
((and window (not (eq window (selected-window)))
+ (or focus-follows-mouse
+ ;; With `focus-follows-mouse' nil, do autoselection
+ ;; if and only if we're within the same frame.
+ (eq (window-frame window)
+ (window-frame (selected-window))))
(or (not (numberp mouse-autoselect-window))
(and (> mouse-autoselect-window 0)
;; If `mouse-autoselect-window' is positive, select
- Re: mouse-autoselect-window, (continued)
- Re: mouse-autoselect-window, Eli Zaretskii, 2007/09/07
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- Re: mouse-autoselect-window, Jeremy Maitin-Shepard, 2007/09/07
- Re: mouse-autoselect-window, martin rudalics, 2007/09/07
- Re: mouse-autoselect-window, Jan Djärv, 2007/09/08
- Re: mouse-autoselect-window, Robert J. Chassell, 2007/09/05
- RE: mouse-autoselect-window, Drew Adams, 2007/09/06
- Re: mouse-autoselect-window,
martin rudalics <=
- RE: mouse-autoselect-window, Drew Adams, 2007/09/05
- Re: mouse-autoselect-window, martin rudalics, 2007/09/06
- RE: mouse-autoselect-window, Drew Adams, 2007/09/06
- Re: mouse-autoselect-window, martin rudalics, 2007/09/06
- RE: mouse-autoselect-window, Drew Adams, 2007/09/06
- Re: mouse-autoselect-window, Jason Rumney, 2007/09/06
- RE: mouse-autoselect-window, Drew Adams, 2007/09/06
- Re: mouse-autoselect-window, Stefan Monnier, 2007/09/06
- Re: mouse-autoselect-window, Leo, 2007/09/07
- Re: mouse-autoselect-window, Andreas Schwab, 2007/09/07