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

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

focus-follows-mouse should be nil by default on MS Windows


From: Drew Adams
Subject: focus-follows-mouse should be nil by default on MS Windows
Date: Tue, 11 Jul 2006 09:17:41 -0700

Why is focus-follows-mouse t by default on MS Windows? The doc string says: 

"Non-nil if window system changes focus when you move the mouse.
You should set this variable to tell Emacs how your window manager
handles focus, since there is no way in general for Emacs to find out
automatically."

Since MS Windows does not change focus when you move the mouse, the
value should be nil, by default. Is there "no way in general for Emacs
to find out automatically" that one is running Windows and set the
default value of this to nil?

There is plenty of platform-specific code in Emacs - it automatically
DTRT (as a default, at least) for several common platforms.


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2006-03-20 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <down-mouse-1> <mouse-1> C-x 
5 2 <switch-frame> C-x 5 o C-x 5 o C-h k C-x 5 o <help-echo> 
<help-echo> <help-echo> <down-mouse-2> <mouse-2> C-x 
1 <wheel-down> <double-wheel-down> <triple-wheel-down> 
<down-mouse-1> <mouse-1> <double-down-mouse-1> <double-mouse-1> 
M-w <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <wheel-up> <down-mouse-1> <mouse-movement> 
<mouse-1> C-h v <return> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Loading dired...
Loading regexp-opt...done
Loading dired...done
Loading help-mode...done
Loading help-fns...done
Type C-x 1 to remove help window.  
Loading vc-cvs...done
Loading pp...done
Type C-x 1 to remove help window.  
Loading emacsbug...done





reply via email to

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