From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16681: mouse-autoselect-window missing when switching frames Date: Fri, 07 Feb 2014 09:18:37 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391782818 8857 80.91.229.3 (7 Feb 2014 14:20:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 14:20:18 +0000 (UTC) To: 16681@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 15:20:25 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBmI3-0005Cg-UR for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 15:20:24 +0100 Original-Received: from localhost ([::1]:41961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmI3-00071F-F7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 09:20:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmHs-000714-RI for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:20:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBmHl-0003o3-JA for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:20:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmHl-0003mb-GS for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:20:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBmHj-0002B3-8n for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:20:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13917827438279 (code B ref -1); Fri, 07 Feb 2014 14:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2014 14:19:03 +0000 Original-Received: from localhost ([127.0.0.1]:54461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBmGk-00029R-Qu for submit@debbugs.gnu.org; Fri, 07 Feb 2014 09:19:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBmGh-00028x-Da for submit@debbugs.gnu.org; Fri, 07 Feb 2014 09:19:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBmGZ-000360-H3 for submit@debbugs.gnu.org; Fri, 07 Feb 2014 09:18:58 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmGZ-00035w-Ek for submit@debbugs.gnu.org; Fri, 07 Feb 2014 09:18:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmGT-0005xf-2U for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:18:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBmGM-00030g-Md for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:18:45 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:16949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBmGM-00030c-GR for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 09:18:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGcGYFegxWBUQ X-IPAS-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGcGYFegxWBUQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47000192" Original-Received: from 69-165-144-70.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.70]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2014 09:18:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 580C66054A; Fri, 7 Feb 2014 09:18:37 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84819 Archived-At: Package: Emacs Version: 24.3.50 In a system with "focus follows mouse" do the following: % src/emacs -Q --eval '(setq mouse-autoselect-window t)' C-x 5 2 C-x 2 C-x 2 Now move mouse "in circle": - top-left window, then top-right window, then bottom-right window, then bottom-left window, and if you like it, you can keep doing it for a while. notice how this *should* select each one of the four windows in each cycle, but instead only 2 of those windows are selected: when crossing from one frame to the other the new frame is selected, but that frame's selected window is used as the new selected window instead of using that the window into which the mouse just entered. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.22) of 2014-02-02 on pastel Repository revision: monnier@iro.umontreal.ca-20140130214249-81biuubr7j6wwc30 Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -O0 -Wno-pointer-sign'' Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-s C-w C-w C-w C-s C-s C-a C-e C-h v m o u - a u t C-a C-k C-y C-a C-M-SPC C-e M-x r e p - e m - b u Recent messages: uncompressing autoload.el.gz...done Note: file is write protected Warning: turn-on-eldoc-mode is obsolete! Mark saved where search started [2 times] uncompressing package.el.gz...done Note: file is write protected Warning: turn-on-eldoc-mode is obsolete! Mark saved where search started [2 times] Making completion list... Load-path shadows: /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monnier/src/emacs/elpa/packages/js2-mode/.dir-locals /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/work/lisp/progmodes/ada-mode /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monnier/src/emacs/work/lisp/gnus/.dir-locals Features: (qp rect sort mail-extr emacsbug log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mail-utils mailheader pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir smerge-mode bug-reference add-log whitespace diff-mode vc vc-dispatcher xscheme unsafep trace testcover shadow scheme re-builder profiler pcase inf-lisp ielm pp gmm-utils ert ewoc debug elp edebug cl-indent eieio-opt speedbar sb-image ezimage dframe completion autorevert filenotify bbdb-com mailabbrev bbdb timezone sgml-mode reftex-dcr reftex reftex-vars tex-mode compile shell latexenc org-protocol org-mouse org-mobile org-agenda org-indent org-feed org-crypt org-capture org-attach vc-git org-id cus-edit cus-start cus-load wid-edit org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func misearch multi-isearch executable copyright view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs warnings cal-french vc-bzr filecache vlf diary-lib diary-loaddefs mule-util cal-move cal-menu calendar cal-loaddefs server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode elec-pair url-handlers url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs gv cl pg-vars time-date savehist minibuf-eldef disp-table edmacro kmacro cl-loaddefs cl-lib info easymenu byte-opt bytecomp byte-compile cconv advice help-fns package bbdb-autoloads agda2 vm-autoloads tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)