From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Varshavchik Newsgroups: gmane.emacs.help Subject: Re: Change in list-buffers behavior in 24.4 Date: Sun, 12 Apr 2015 23:53:59 -0400 Message-ID: References: <831tjoeohf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=_monster.email-scan.com-31778-1428897239-0002"; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1428897263 32549 80.91.229.3 (13 Apr 2015 03:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Apr 2015 03:54:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 13 05:54:18 2015 Return-path: Envelope-to: geh-help-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 1YhVRy-0000eL-9K for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Apr 2015 05:54:18 +0200 Original-Received: from localhost ([::1]:46966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhVRx-0003P9-D4 for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Apr 2015 23:54:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhVRl-0003Ok-Lg for help-gnu-emacs@gnu.org; Sun, 12 Apr 2015 23:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhVRh-0000EU-Ii for help-gnu-emacs@gnu.org; Sun, 12 Apr 2015 23:54:05 -0400 Original-Received: from www.courier-mta.com ([216.254.115.190]:39659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhVRh-0000Ce-Cd for help-gnu-emacs@gnu.org; Sun, 12 Apr 2015 23:54:01 -0400 Original-Received: from monster.email-scan.com (softdnserr [::ffff:192.168.0.2]) (TLS: TLSv1/SSLv3,256bits,ECDHE-RSA-AES256-SHA) by www.courier-mta.com with ESMTPS; Sun, 12 Apr 2015 23:54:00 -0400 id 000000000024004C.00000000552B3DD8.000002DB Original-Received: from monster.email-scan.com (localhost [127.0.0.1]) (IDENT: uid 1004) by monster.email-scan.com with ESMTP; Sun, 12 Apr 2015 23:53:59 -0400 id 000000000004649B.00000000552B3DD7.00002536 X-Mailer: http://www.courier-mta.org/cone/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 216.254.115.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103676 Archived-At: This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet software does not support MIME signed messages. The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards. --=_monster.email-scan.com-31778-1428897239-0002 Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit Eli Zaretskii writes: > > From: Sam Varshavchik > > Date: Sun, 12 Apr 2015 12:00:16 -0400 > > > > I typically have only one buffer window open, and my programmed muscle > > memory includes the sequence ^X-2-^X-^B. > > > > This used to result in the cursor ending up in one window, and the buffer > > list in the other window. > > > > After upgrading to 24.4, it seems that the cursor now winds up in the > buffer > > list's window. > > I don't see it here, I still see the behavior you are used to. > > Please try in "emacs -Q". If the problem disappears there, then the > culprit is one of your customizations, or maybe some init file brought > by whoever packaged Emacs 24 on your platform. I reviewed my muscle memory again :-) The change in behavior is when there are already two buffers being shown, with different files. So, with two files, a and b: $ emacs -Q a b I get just "b" displayed. ^X^B^Xo, cursor down, Enter. I get the "b" file in the top window, "a" file in the bottom window, with the cursor in the "a" file's window. ^X^B The buffer window now replaces the "a" file, where the cursor was, and the cursor now winds up in the buffer list window. That's the different behavior than what I'm used to. Now, if instead of doing ^X^B at this point, I press ^Xo, moving the cursor back to the "b" file's window, then ^X^B still opens the list buffer in the "a" file's window (also). So, maybe the change in behavior is that list-buffers' window is "sticky", and it tries to open the buffer window in the same window it was previously shown in, apparently. If that window is showing another file buffer, even if the cursor is still in that file buffer the buffer list window still gets opened there, replacing the buffer the cursor was in. So, depending on window history, ^X^B ends up either opening the buffer list window in some other window, than the one the cursor is currently in, or the same window where the cursor is. I'm pretty sure that in earlier versions of emacs, ^X^B never opened the list buffer in the same window the cursor was, at the time the list-buffers command was executed. And that's where my muscle memory is failing me now. I'm used to having multiple windows open; and with the cursor in one of them, ^X^B opening the buffer in some other window, and then typing ^Xo to jump into the buffer list window. Now, depending on where the buffer-list window was previously shown, it will now open in the same window with the cursor, and I realize belatedly, after I already jumped somewhere else with ^Xo. --=_monster.email-scan.com-31778-1428897239-0002 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVKz3XAAoJEGs6Yr4nnb8lSkoP/isGB/obeflKENWTyeffz1ge HmvOv4PgFwWzAnQKfDeRp6q6G3gqXFyW2+lDoREU1wRpkQq5j0Wu8/78w8OaEL6P GCIBjdF62W7TuJwtVxO6HogBMvKzkpWzk/A/GQq6GZTsr+iQ9/ILU7fI3i1N5zhi 2qVswEhBrZ7N2mJGDAheGCRCB2Ymqq6atI0PPTjvmzWUoHltH5OHJPpIOOf+1+aJ sbTjvDESIfgOB5nJDhbgAXMfQR2979DnOSxXtTb+V1RmiITdpyhhJWUvUr02pAKL tUHBm9uQ+eSlPw9KJ7VQHtu8PBJFUYPlJArdGyeV7qggoaY8rDMXQWIVnxhqOvLs 4+JkWvLCpRzFzht+V7O/vqdm/3cXxyxhEpWzS780gJaYfbsZebMvCmxZVgSiaC5f uxpO+Jz84fu4W/qJ8b8FM8EvEmyU71343qnSnNF9NMLaXPn0Hqh42ufJJd3kiRLR 7Yi6PDAP1Ro2cp2ua6fVBRpUIfqnnGa0bJFY2koVI/O0A//SmZBPZId0dSOv1NBw Zg/MaifVZC1G2RiIqcUTYjET7rV2RsNHueiYzaAPRV7CDz/DDdWkIO8UUK3fbexX Jh8iFGGLyy7XH33y4VATXz5K2XeCS3D3ufqIcHZqjQDUAaWDdmy1lvb7XV1yVdSs 28lguvyDm7usLvmnP+0i =unlg -----END PGP SIGNATURE----- --=_monster.email-scan.com-31778-1428897239-0002--