GNU bug report logs - #6888
mouse-autoselect-window on OS X

Previous Next

Packages: emacs, ns;

Reported by: Éric Martin <emartin <at> cse.unsw.edu.au>

Date: Fri, 20 Aug 2010 13:53:02 UTC

Severity: normal

Tags: help, patch

Found in version 23.2

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Éric Martin <emartin <at> cse.unsw.edu.au>
Subject: bug#6888: closed (Re: bug#6888: Patch for mouse-autoselect-window
 on NextStep platforms)
Date: Wed, 28 Aug 2013 16:22:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#6888: mouse-autoselect-window on OS X

which was filed against the emacs,ns package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6888 <at> debbugs.gnu.org.

-- 
6888: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6888
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Davor Cubranic <cubranic <at> stat.ubc.ca>
Cc: 6888-done <at> debbugs.gnu.org
Subject: Re: bug#6888: Patch for mouse-autoselect-window on NextStep platforms
Date: Wed, 28 Aug 2013 18:21:22 +0200
Hello.

I've checked in a slightly modified version.

	Jan D.

21 aug 2013 kl. 19:08 skrev Davor Cubranic <cubranic <at> stat.ubc.ca>:

> FWIW, I was able to copy the SELECT_WINDOW_EVENT code from X (xterm.c) and Win32 (w32term.c) into nsterm.m, adjusting for a few minor differences in variable naming. Focus-follows-mouse on windows within the active frame when mouse-autoselect-window is not nil now works fine in my (not extensive) use of Emacs on my computer. Patch attached.
> 
> Davor
> <ns-select-window-event.diff>


[Message part 3 (message/rfc822, inline)]
From: Éric Martin <emartin <at> cse.unsw.edu.au>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; Problem with focus-follows-mouse on OS X
Date: Fri, 20 Aug 2010 15:34:52 +0200
[Message part 4 (text/plain, inline)]
With .emacs containing:

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
'(focus-follows-mouse t)
'(mouse-autoselect-window t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
)

it is still necessary to click on a window to select it.
This is a problem that is new in Emacs 23 in contrast to Emacs 22.

Best regards,

Eric Martin.




In GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32)
of 2010-08-20 on new-host.home
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x 2 <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> <menu-bar> 
<help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)


Eric Martin
School of Computer Science and Engineering
UNSW Sydney NSW 2052 Australia
Building K17 Room 409
Email: emartin <at> cse.unsw.edu.au
Phone: +61 2 9385 6936
Fax: +61 2 9385 4936

Disclaimer: http://www.eng.unsw.edu.au/emaildis.htm
Cricos Provider No. 00098G

[Message part 5 (text/html, inline)]

This bug report was last modified 11 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.