From unknown Sat Aug 16 18:40:26 2025 X-Loop: don@donarmstrong.com Subject: bug#499: 23.0.60; minibuffer tab completion regression Reply-To: James Cloos , 499@debbugs.gnu.org Resent-From: James Cloos Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 29 Jun 2008 10:55:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 499 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121473659316254 (code B ref -1); Sun, 29 Jun 2008 10:55:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 29 Jun 2008 10:49:53 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5TAnh58016248 for ; Sun, 29 Jun 2008 03:49:45 -0700 Received: from mail.gnu.org ([199.232.76.166]:54078 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KCuTK-0004Qz-3q for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 06:49:30 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KCuTS-0000Q4-Jx for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 06:49:42 -0400 Received: from eagle.jhcloos.com ([207.210.242.212]:1999) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KCuTS-0000Pi-7y for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 06:49:38 -0400 Received: by eagle.jhcloos.com (Postfix, from userid 10) id 73888402A4; Sun, 29 Jun 2008 10:49:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1214736576; bh=cApefi49VoCIr7wHAtxovlfAGAeUs/fZdUrtfnc5a MQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=j9qaQ505aHojRZ2JfpFOEk8GmOQXxFEL41b7PXvHzaZj6yP0JQGaPujHKJtd3os9w V+j2+FAd7OrMFK6onK22MDqtvOPeDSe5tZGrZzYV8IpfaQ2IaED/74lZqmchk9H5bpv Yd5w8MfLuO2vFRCMfQ2IoQPsk9oIchbxOrY1h68= Received: by lugabout.jhcloos.org (Postfix, from userid 500) id E3F5221068A; Sun, 29 Jun 2008 10:05:33 +0000 (UTC) From: James Cloos To: emacs-pretest-bug@gnu.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2008 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Sun, 29 Jun 2008 06:05:10 -0400 Message-ID: Lines: 110 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Sometime in the last week tab completion of pathnames in the minibuffer when running commands like gnus-mime-save-part has broken. Before, it would give a prompt for the specified filename in the last directory I'd saved something to (or ~/ the first time it is called) and I could simply type in the pathname with tab completion just like in bash. Now, the tab completion seems to treat the proffered filename as part of what it should be completing, rather than ignoring it as it used to. In short, pathname tab completion used to ignore everything at and right of point whereas now it does not. It worked with a build from the 14th; I /think/ also with one from the 21st. It is broken with a build from the 27th. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-06-27 on lugabout Windowing system distributor `The X.Org Foundation', version 11.0.10599001 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--without-carbon' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--enable-font-backend' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=athena' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CC=i686-pc-linux-gnu-gcc' 'CFLAGS=-march=pentium3 -O2 -Wno-error' 'LDFLAGS= -Wl,--as-needed,-O1,--hash-style=gnu,--sort-common '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: SPC n n = c y A m i n b o x M-g 4 3 g 4 3 l M-< M-> s p p p p p p p p p p p p p p p SPC / . SPC W S SPC SPC q p SPC SPC q p p p p p p SPC SPC * SPC SPC SPC SPC SPC n n n SPC * n n SPC * q SPC SPC q b C-g C-g 4 3 l M-< M-> p p p p SPC ^ C-n C-n C-n C C-x b M-g p SPC SPC q p p p p p p p p p p p p p p p M-g n M-g M-g p p SPC SPC q SPC SPC n n n n n 2 K o h * SPC n c SPC M-x r e p o r b Recent messages: Retrieving newsgroup: nnimap+lugabout:emacs-commit@gnu.org... nnimap: Updating info for nnimap+lugabout:emacs-commit@gnu.org...done Fetching headers for nnimap+lugabout:emacs-commit@gnu.org...done Retrieving newsgroup: nnimap+lugabout:emacs-devel@gnu.org... nnimap: Updating info for nnimap+lugabout:emacs-devel@gnu.org...done Fetching headers for nnimap+lugabout:emacs-devel@gnu.org...done Wrote /home/cloos/incoming/2008/06/visual-line.el Mark all unread articles as read? (y or n) No more unread articles Making completion list... From unknown Sat Aug 16 18:40:26 2025 X-Loop: don@donarmstrong.com Subject: bug#499: 23.0.60; minibuffer tab completion regression Reply-To: Stefan Monnier , 499@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 29 Jun 2008 12:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 499 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12147417516500 (code B ref -1); Sun, 29 Jun 2008 12:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 29 Jun 2008 12:15:51 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5TCFlAr006486 for ; Sun, 29 Jun 2008 05:15:49 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59703) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KCvoc-00072V-66 for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 08:15:34 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KCvol-0003SL-Bi for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 08:15:47 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:14000 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCvol-0003SH-4i for emacs-pretest-bug@gnu.org; Sun, 29 Jun 2008 08:15:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsFABsaZ0hFxIdG/2dsb2JhbACBW60NgXo X-IronPort-AV: E=Sophos;i="4.27,722,1204520400"; d="scan'208";a="23734488" Received: from 69-196-135-70.dsl.teksavvy.com (HELO pastel.home) ([69.196.135.70]) by ironport2-out.teksavvy.com with ESMTP; 29 Jun 2008 08:15:42 -0400 Received: by pastel.home (Postfix, from userid 20848) id A96AB835A; Sun, 29 Jun 2008 08:15:41 -0400 (EDT) From: Stefan Monnier To: James Cloos Cc: 499@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-ID: References: Date: Sun, 29 Jun 2008 08:15:41 -0400 In-Reply-To: (James Cloos's message of "Sun, 29 Jun 2008 06:05:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-CrossAssassin-Score: 2 > In short, pathname tab completion used to ignore everything at and right > of point whereas now it does not. Indeed, it does now: it constrains the list of possible completions to those that include the text after point. E.g. if your minibuffer is "/foo/bat.c" you can place point after "bat" and hit TAB to complete to a filename among "bat*.c". You can get the old behavior with one of the following: - C-k TAB C-y - customizing completion-styles: you can for example replace `basic' by `emacs22' to get back Emacs-22's behavior. Note that if you select `emacs21' you won't get this behavior since Emacs-21 (and all previous Emacs) did not ignore the text after point. Stefan