From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Warsaw Newsgroups: gmane.emacs.bugs Subject: bug#14829: 24.3; split-window-keep-point breaks shell tab completion Date: Mon, 8 Jul 2013 17:08:08 -0400 Organization: Damn Crazy Followers of the Horn Message-ID: <20130708170808.555814cb@limelight.wooz.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/3RROFf6j4Zf9y1/1pxbZHUN"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1373318357 7270 80.91.229.3 (8 Jul 2013 21:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 21:19:17 +0000 (UTC) To: 14829@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 08 23:19:18 2013 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 1UwIq1-0002kI-Fa for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2013 23:19:13 +0200 Original-Received: from localhost ([::1]:59394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIq1-0002Im-1l for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2013 17:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIpu-0002IV-7q for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:19:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwIpr-0005q8-4d for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:19:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIpr-0005q0-29 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UwIpq-0003qs-PQ for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Barry Warsaw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2013 21:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14829 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.137331828214678 (code B ref -1); Mon, 08 Jul 2013 21:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jul 2013 21:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:40261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwIoq-0003oX-Fv for submit@debbugs.gnu.org; Mon, 08 Jul 2013 17:18:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwIon-0003o8-R0 for submit@debbugs.gnu.org; Mon, 08 Jul 2013 17:17:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwIof-0005Yf-2R for submit@debbugs.gnu.org; Mon, 08 Jul 2013 17:17:52 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIoe-0005YV-WA for submit@debbugs.gnu.org; Mon, 08 Jul 2013 17:17:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIoc-000240-Et for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:17:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwIoa-0005Xk-1V for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:17:46 -0400 Original-Received: from mail.wooz.org ([216.15.33.194]:33444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwIoZ-0005XV-Rv for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2013 17:17:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.wooz.org (Postfix) with ESMTP id 864DD10803F8 for ; Mon, 8 Jul 2013 17:08:09 -0400 (EDT) Original-Received: from mail.wooz.org ([127.0.0.1]) by localhost (carnies.wooz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ckVJ0s-Lya+s for ; Mon, 8 Jul 2013 17:08:09 -0400 (EDT) Original-Received: from limelight.wooz.org (limelight.wooz.org [192.168.11.41]) by mail.wooz.org (Postfix) with ESMTPSA id 56F8810800C9 for ; Mon, 8 Jul 2013 17:08:09 -0400 (EDT) X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.19; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76094 Archived-At: --Sig_/3RROFf6j4Zf9y1/1pxbZHUN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Start `emacs -Q` (make the window full screen height, 80 columns wide) M-x shell RET (in the shell buffer) $ cd /tmp $ mkdir foo $ cd foo $ touch aa.txt ab.txt cc.txt dd.txt ee.txt ff.txt gg.txt hh.txt ii.txt jj.t= xt kk.txt ll.txt mm.txt nn.txt oo.txt pp.txt qq.txt rr.txt ss.txt tt.txt uu= .txt vv.txt ww.txt xx.txt yy.txt zz.txt $ ls -l $ ls -l (this is just to fill the buffer with output. now your shell prompt should be the last line at the bottom of the frame, if not, hit C-l a few times until it is.) $ cat a With `(setq split-window-keep-point t)` you will see the window split, with the top window scrolled to leave point just after the `a` in the middle of the window. The bottom window will have the completions for aa.txt and ab.txt With `(setq split-window-keep-point nil)` you will not get any window split, but point will jump someplace higher up in the window (e.g. for me it jumps to just after the gg.txt line). In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-06-14 on komainu, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11303000 System Description: Ubuntu Saucy Salamander (development branch) Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk3' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Shell Minor modes in effect: erc-notifications-mode: t delete-selection-mode: t icomplete-mode: t shell-dirtrack-mode: t erc-spelling-mode: t erc-services-mode: t erc-ring-mode: t erc-networks-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-list-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t show-paren-mode: t savehist-mode: t rcirc-track-minor-mode: t global-whitespace-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t --Sig_/3RROFf6j4Zf9y1/1pxbZHUN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBCAAGBQJR2yo4AAoJEBJutWOnSwa/+wQQAJQV2enhhVCXJ5Nk5ThUt1PX 6XtAghknYie5hgzp6SzolivEJfPQJS2mJx8h260eILQ7uvG5avY1GY8lwdHmGaBj M5nBU0vrkMBh12CUDb+MGRb57C7+3ry/vj/chJy+is/PSmrjHqoiapQ/aNaholdx kyFWLnK0MyodYn3N8ROFSSGv5LroSazeqphNSxGc78kpKxJIUAAep7WBF2SFEuLj aLWDw+7jvEKUKhbj5rBJC6Xc5EbuME+oZkCHchN55OG3h4A9cx+QKAzCl2CAcgOz OoQ0IR0QlFdKnSLSXOYelPJUGqP6E/Fr7gqexJPc+tWvzjO/6wHqVM0EgyFwWNvL oLrBbI0FCMN9b10RnSaVv4d9pZqoyz9Q6Qxa1Xhn/yE6MlGN/8iUPzYnITlY3+yB LEVyNqyX8DSgkUHz5PqJ9668ywhbK2bo6ejyqzisBemf1eVN/+fbQ894fLsXXdnW IZVwrR8WZBVoOp88GYc2+j85t9HIW06BHkh9PMzXIZJzPenZglm+EzL4FqRLQiTx uPhO4NjiVfqdmsOD61bUbUtXsZG7vfT9H+lALxAFOXA/rHo8Qqxr9TrQiJC8NSI2 0DsAH+SxpDHHcQmE+XiBws6xsuN17VP/W5kICfl/lEkoicRVUYlz9OjsprMLEah5 2MU3wjU6PFyiMxXmQJYT =D7+W -----END PGP SIGNATURE----- --Sig_/3RROFf6j4Zf9y1/1pxbZHUN--