From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joel James Adamson Newsgroups: gmane.emacs.bugs Subject: bug#6786: 23.2; Ido-mode switch-to-buffer switches frames Date: Tue, 03 Aug 2010 14:35:48 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1280860737 23891 80.91.229.12 (3 Aug 2010 18:38:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 18:38:57 +0000 (UTC) To: 6786@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 03 20:38:55 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OgMO3-0002zR-NU for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 20:38:52 +0200 Original-Received: from localhost ([127.0.0.1]:48854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgMO2-0003AF-VY for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 14:38:51 -0400 Original-Received: from [140.186.70.92] (port=56209 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgMNo-00037a-Mk for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:38:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgMNg-00064p-4W for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:38:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34823) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgMNg-00064l-2i for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:38:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OgMLK-0003u0-CJ; Tue, 03 Aug 2010 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joel James Adamson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Aug 2010 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6786 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.128086054314989 (code B ref -1); Tue, 03 Aug 2010 18:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Aug 2010 18:35:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgML0-0003ti-QX for submit@debbugs.gnu.org; Tue, 03 Aug 2010 14:35:43 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgMKy-0003tb-2w for submit@debbugs.gnu.org; Tue, 03 Aug 2010 14:35:41 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:33782) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OgMLO-0002fh-6D for submit@debbugs.gnu.org; Tue, 03 Aug 2010 14:36:06 -0400 Original-Received: from [140.186.70.92] (port=55752 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgMLI-0002ZV-5D for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgMLC-0005dw-K8 for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:36:00 -0400 Original-Received: from chondestes.bio.unc.edu ([152.2.67.61]:50519) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgMLC-0005dX-Cw for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:35:54 -0400 Original-Received: from chondestes.bio.unc.edu (chondestes.bio.unc.edu [127.0.0.1]) by chondestes.bio.unc.edu (8.14.4/8.14.3) with ESMTP id o73IZqJH003796 for ; Tue, 3 Aug 2010 14:35:52 -0400 Original-Received: (from joel@localhost) by chondestes.bio.unc.edu (8.14.4/8.14.4/Submit) id o73IZp5I003795; Tue, 3 Aug 2010 14:35:51 -0400 X-Authentication-Warning: chondestes.bio.unc.edu: joel set sender to adamsonj@email.unc.edu using -f User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 Aug 2010 14:36:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39209 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable emacs -Q; open a new frame using "C-x 5 2" and switch to that frame. Then switch from *scratch* to *Messages* in the first frame. Enable ido-mode using "M-x ido-mode". Switch to the second frame and try switching to *Messages*. The point (and focus) move to the other window. Setting the ido-mode variables `ido-default-file-method' and `ido-default-buffer-method' to 'selected-window does not change this behavior. This is infuriating! I should be able to switch to whatever buffer I want with multiple frames and not have the focus change. Let me give you an example: I have a gdb session running, so I have several frames, one for output, one for backtrace and one for the gdb controller. For some reason the gdb frame was split into two windows and I accidentally deleted the wrong one and now the Separate IO is going into the gdb buffer. However, when I try to to switch back to the *gud* buffer, it puts the point in a completely different window. I don't want *gud* in that frame, I want it in the one I'm trying to put it in! NOTE: THIS BEHAVIOR PERSISTS EVEN AFTER SWITCHING OUT OF IDO-SWITCH-BUFFER BY PRESSING "C-b".=20=20 In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1) of 2010-05-13 on x86-07.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.10802000 configured using `configure '--build=3Dx86_64-redhat-linux-gnu' '--host=3D= x86_64-redhat-linux-gnu' '--program-prefix=3D' '--disable-dependency-tracki= ng' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' '--sbind= ir=3D/usr/sbin' '--sysconfdir=3D/etc' '--datadir=3D/usr/share' '--includedi= r=3D/usr/include' '--libdir=3D/usr/lib64' '--libexecdir=3D/usr/libexec' '--= localstatedir=3D/var' '--sharedstatedir=3D/var/lib' '--mandir=3D/usr/share/= man' '--infodir=3D/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg'= '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with= -x-toolkit=3Dgtk' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_alias=3Dx86= _64-redhat-linux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_= FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector --param=3Dssp-buffer-size= =3D4 -m64 -mtune=3Dgeneric'' 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: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t auto-insert-mode: t global-auto-complete-mode: t diff-auto-refine-mode: t which-function-mode: t show-paren-mode: t savehist-mode: t epa-global-mail-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: =20 =20 C-s w i n d o w M-: i d o=20 =2D d e f a u l t - f i l e - m e t h o d M-:=20 M-p M-f M-f M-f M-D b u f f e r i d m=20 i d e m a c s =20 i i d o =20 C-x b C-b M-x c u s t o m i z e C-g v=20 s w i t c h M-D s w i t c h =20 C-g f s w i t c h SPC SPC SPC C-g M-x c=20 u s t o m i z e SPC g r SPC w i n d o w s=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-b =20 =20 =20 =20 =20 =20 =20 =20 =20 C-x C-b =20 C-x b=20 =20 =20 =20 C-p C-p C-n C-j C-l C-j C-l C-k C-j C-;=20 C-l C-k C-j C-; C-l C-k C-j C-a=20 =20 M-x r e p o r t SPC e m a SPC SPC Recent messages: Creating group state... Creating group... done Creating customization items ...done Resetting customization items...done Creating customization setup...done byte-code: Beginning of buffer [2 times] Updating buffer list... Formats have changed, recompiling...done Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help Load-path shadows: /usr/share/emacs/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/h= ex-util /usr/share/emacs/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4 /usr/share/emacs/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1 /usr/share/emacs/site-lisp/ruby-mode/ruby-mode hides /usr/share/emacs/23.2/= lisp/progmodes/ruby-mode /usr/share/emacs/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/s= asl /usr/share/emacs/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/n= et/hmac-def /usr/share/emacs/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/n= et/hmac-md5 /usr/share/emacs/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lis= p/net/sasl-digest /usr/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/= net/sasl-ntlm /usr/share/emacs/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/= net/sasl-cram /usr/share/emacs/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/n= tlm Features: (shadow emacsbug winner windmove follow warnings doc-view ps-mode crm cus-edit gnus-cite smiley mail-extr gnus-bcklg gnus-async gnus-dup gnus-uu yenc sort gnus-ml utf-7 utf7 disp-table woman man asm-mode thingatpt conf-mode newcomment dabbrev cmuscheme scheme sh-script executable gdb-ui bindat json gud image-mode image-file image-dired locate gnuplot-gui gnuplot info-look help-mode view info timezone nnfolder nnagent nnml nnimap imap nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 sha1-el hex-util hashcash gnus-win gnus gnus-ems nnheader mule-util cal-move parse-time jka-compr cal-iso compile make-mode multi-isearch vc-dispatcher vc-svn cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars vc-hg footnote flyspell ispell org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb tramp-imap tramp-gw tramp-gvfs zeroconf url-parse url-vars mm-util mail-prsvr dbus xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc password-cache format-spec tramp-compat trampver shell comint autoinsert org-clock org org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline speedbar sb-image ezimage dframe assoc server appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs ansi-color xcscope idomenu ido c-eldoc cc-defs eldoc auto-complete-config auto-complete popup ibuf-ext ibuffer preview prv-emacs latex tex-style tex-buf tex reftex reftex-vars uniquify dired-x dired-aux supercite sendmail regi psvn byte-opt bytecomp byte-compile advice help-fns advice-preload edmacro kmacro log-edit ring pcvs-util add-log diff-mode easy-mmode pp elp ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired regexp-opt midnight which-func imenu paren savehist avoid epa-mail mail-utils epa derived epg epg-config time cus-start cus-load preview-latex color-theme easymenu wid-edit cl cl-19 bbdb-autoloads tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting 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 dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) =2D-=20 Joel J. Adamson Servedio Lab University of North Carolina at Chapel Hill FSF Member #8164 http://www.unc.edu/~adamsonj --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iF4EAREIAAYFAkxYYYcACgkQp61eY7lvATJtUQEAju9YPsjOi2Nykib7IYr76cL2 NGsUSErevA6vjgipH64BAIN8rkNEOL7iLxaLfw7wUiXvVypx8TWsiaVvGL14kz02 =qz4K -----END PGP SIGNATURE----- --=-=-=--