From unknown Sat Aug 09 01:06:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25807 <25807@debbugs.gnu.org> To: bug#25807 <25807@debbugs.gnu.org> Subject: Status: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it Reply-To: bug#25807 <25807@debbugs.gnu.org> Date: Sat, 09 Aug 2025 08:06:37 +0000 retitle 25807 24.5; List-Directory closes with error when invalid path is t= yped instead of prompting the user to fix it reassign 25807 emacs submitter 25807 Colin severity 25807 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 01:37:38 2017 Received: (at submit) by debbugs.gnu.org; 20 Feb 2017 06:37:38 +0000 Received: from localhost ([127.0.0.1]:46750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfhbN-0006Lm-UP for submit@debbugs.gnu.org; Mon, 20 Feb 2017 01:37:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfhKh-0005t3-0x for submit@debbugs.gnu.org; Mon, 20 Feb 2017 01:20:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfhKa-0002ov-80 for submit@debbugs.gnu.org; Mon, 20 Feb 2017 01:20:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfhKa-0002op-4I for submit@debbugs.gnu.org; Mon, 20 Feb 2017 01:20:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfhKY-0000H4-4W for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 01:20:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfhKW-0002oJ-BB for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 01:20:14 -0500 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:36820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfhKW-0002nu-46 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2017 01:20:12 -0500 Received: by mail-io0-x231.google.com with SMTP id j13so21355797iod.3 for ; Sun, 19 Feb 2017 22:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Ivy7Y0092H0AKuOuFJ0dpLpgxvymr7kuj26OQ4T0aHk=; b=d2DJU14QHL0pHs2JBqcT8lEt6NFwVMd36v9k2hcNBtI9moJtmn5mAQsdpG4wXDSbqG L0fiZXAaXRTsIdwxm1jRIkqvZFZVx69wwtlmQOfgkfTZ6BH0KqSIVdLrJHyrXbJsI3FV uftk6tRUyVqTUnp9ADqY5T98AnY57CPWtu40q+/Tq69EB9zbOWmhrkHCn04jlkZDDPN8 GMrBOGB6oj8DSNvRzug26G9TmQYuP3UHJbqZegD80uK7f7QIXe50nHJsU0IEINtvlgxI bXzbDwjtmY4O2D9+0hqSZlqTJj5ResNOiFzxqR1vwdwhPIfO3TrS3a35BF9ijGlSyDU2 yRmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Ivy7Y0092H0AKuOuFJ0dpLpgxvymr7kuj26OQ4T0aHk=; b=EesbERnoS9//V8wa9sqPD6fQ9zch9IoyJElfQMO5X3aEO/0CDgWBbMa6TZFu5aWS3P MKw/XsTPhUVOAjNse/i0jj3h4gc/qsewuzIDZLo2AOFMpxmNKtdPKmwy2VhTv6GLjg9F q4HNuxZ2ttKBTYGKAa/8la25iZEsoKcguG6zzPRDBQXO+OdSu8lAsNbP2hkZC/thOYeR InHJ1LcvCSmSp6bmTDFDoBmqmrUdDmOvwVBQkBN5Nu6zhr40riZ5rveTSFRyOW9cvkFb 3O4s1ZD3AMdZa9itVIovVsaSedHepDv7ft8NcLxFuvkqVoDmxsxGpm2LR7Riwpo4JsMP yl9w== X-Gm-Message-State: AMke39mDMwcrIM86i/qtQr8z2Ysgu/eU0vm+QcSRzHfjWnLtpRdkwlyxoIEbBA/PxYdeB1oDyXWh/bPz7HRroA== X-Received: by 10.107.28.204 with SMTP id c195mr16492043ioc.223.1487571610828; Sun, 19 Feb 2017 22:20:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.167.74 with HTTP; Sun, 19 Feb 2017 22:20:10 -0800 (PST) From: Colin Date: Mon, 20 Feb 2017 17:20:10 +1100 Message-ID: Subject: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a113fd9a2711df30548f04117 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 20 Feb 2017 01:37:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a113fd9a2711df30548f04117 Content-Type: text/plain; charset=UTF-8 If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: Reading directory: no such file or directory, /tmp/foo` - the prompt has now gone and I'm unable to fix my mistake without repeating the entire process. Originally posted on reddit, other users appear to think this is a bug. Was requested by redit Eli-Zaretskii to report this as a bug. Thread at: https://www.reddit.com/r/emacs/comments/5uxf0x/pet_hate_dired_autocomplete/ -------------------------- In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.9) of 2016-12-13 on hostname='clin' Windowing system distributor `The X.Org Foundation', version 11.0.11804000 System Description: NAME=Gentoo Configured using: `configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-24.5-r3 --htmldir=/usr/share/doc/emacs-24.5-r3/html --libdir=/usr/lib64 --program-suffix=-emacs-24 --infodir=/usr/share/info/emacs-24 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=inotify --enable-acl --with-dbus --with-gpm --without-hesiod --without-kerberos --without-kerberos5 --without-xml2 --without-selinux --with-gnutls --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 GENTOO_PACKAGE=app-editors/emacs-24.5-r3 'CFLAGS=-O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: global-flycheck-mode: t flycheck-mode: t pyvenv-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: [yas] Reloaded everything (snippets will load just-in-time).... For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils py-autopep8 flycheck find-func rx subr-x seq seq-24 dash cl-extra yasnippet help-mode highlight-indentation flymake eldoc company edmacro kmacro pcase elpy advice help-fns pyvenv elpy-refactor python json ido grep compile comint ansi-color files-x etags ring cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib spacemacs-dark-theme spacemacs-common package epg-config site-gentoo time-date 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 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 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 inotify dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 216581 46561) (symbols 48 28891 1) (miscs 40 61 150) (strings 32 48000 30244) (string-bytes 1 1368199) (vectors 16 21744) (vector-slots 8 503564 4880) (floats 8 145 328) (intervals 56 265 131) (buffers 960 11) (heap 1024 52296 909)) --001a113fd9a2711df30548f04117 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If I hit `C-x C-d`, I receive the prompt `List direct= ory (breif): ~/` - if I
type `/tmp/foo` and hit Enter my mess= age buffer shows `insert-directory:
Reading directory: no such fi= le or directory, /tmp/foo` - the prompt has
now gone and I'm = unable to fix my mistake without repeating the entire
process.

Originally posted on reddit, other users appear to t= hink this is a bug.
Was requested by redit Eli-Zaretskii to repor= t this as a bug.
---------= -----------------

In GNU Emacs 24.5.1 (x86_64-pc-l= inux-gnu, GTK+ Version 3.20.9)
=C2=A0of 2016-12-13 on hostname=3D= 'clin'
Windowing system distributor `The X.Org Foundation= ', version 11.0.11804000
System Description: NAME=3DGentoo

Configured using:
=C2=A0`configure --prefix=3D/= usr --build=3Dx86_64-pc-linux-gnu
=C2=A0--host=3Dx86_64-pc-linux-= gnu --mandir=3D/usr/share/man
=C2=A0--infodir=3D/usr/share/info -= -datadir=3D/usr/share --sysconfdir=3D/etc
=C2=A0--localstatedir= =3D/var/lib --disable-dependency-tracking
=C2=A0--disable-silent-= rules --docdir=3D/usr/share/doc/emacs-24.5-r3
=C2=A0--htmldir=3D/= usr/share/doc/emacs-24.5-r3/html --libdir=3D/usr/lib64
=C2=A0--pr= ogram-suffix=3D-emacs-24 --infodir=3D/usr/share/info/emacs-24
=C2= =A0--localstatedir=3D/var
=C2=A0--enable-locallisppath=3D/etc/ema= cs:/usr/share/emacs/site-lisp
=C2=A0--with-gameuser=3D:gamestat -= -without-compress-install
=C2=A0--with-file-notification=3Dinotif= y --enable-acl --with-dbus --with-gpm
=C2=A0--without-hesiod --wi= thout-kerberos --without-kerberos5 --without-xml2
=C2=A0--without= -selinux --with-gnutls --without-wide-int --with-zlib
=C2=A0--wit= h-sound=3Dalsa --with-x --without-ns --without-gconf
=C2=A0--with= out-gsettings --without-toolkit-scroll-bars --with-gif
=C2=A0--wi= th-jpeg --with-png --with-rsvg --with-tiff --with-xpm
=C2=A0--wit= h-imagemagick --with-xft --without-libotf --without-m17n-flt
=C2= =A0--with-x-toolkit=3Dgtk3 GENTOO_PACKAGE=3Dapp-editors/emacs-24.5-r3
=
=C2=A0'CFLAGS=3D-O2 -pipe' CPPFLAGS=3D 'LDFLAGS=3D-Wl,-O1 = -Wl,--as-needed''

Important settings:
=C2=A0 value of $LANG: en_US.utf8
=C2=A0 locale-coding-syst= em: utf-8-unix

Major mode: Lisp Interaction
<= div>
Minor modes in effect:
=C2=A0 global-flycheck-= mode: t
=C2=A0 flycheck-mode: t
=C2=A0 pyvenv-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 file-name-shadow-mode: = t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode= : t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition= -mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-com= pression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 tran= sient-mark-mode: t

Recent messages:
[yas= ] Reloaded everything (snippets will load just-in-time)....
For i= nformation about GNU Emacs and the GNU system, type C-h C-a.

=
Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message for= mat-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-pa= rse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2= 045 ietf-drums mm-util
mail-prsvr mail-utils py-autopep8 flycheck= find-func rx subr-x seq
seq-24 dash cl-extra yasnippet help-mode= highlight-indentation flymake
eldoc company edmacro kmacro pcase= elpy advice help-fns pyvenv
elpy-refactor python json ido grep c= ompile comint ansi-color files-x
etags ring cus-edit easymenu cus= -start cus-load wid-edit cl-loaddefs
cl-lib spacemacs-dark-theme = spacemacs-common package epg-config
site-gentoo time-date tooltip= electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-w= in x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-l= ist newcomment lisp-mode prog-mode register page
menu-bar rfn-esh= adow timer select scroll-bar mouse jit-lock font-lock
syntax face= menu font-core frame cham georgian utf-8-lang misc-lang
vietnames= e tibetan thai tai-viet lao korean japanese hebrew greek
romanian= slovak czech european ethiopic indian cyrillic chinese
case-tabl= e epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
lo= addefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hasht= able-print-readable backquote make-network-process dbusbind inotify
dynamic-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

Memory information:
= ((conses 16 216581 46561)
=C2=A0(symbols 48 28891 1)
= =C2=A0(miscs 40 61 150)
=C2=A0(strings 32 48000 30244)
= =C2=A0(string-bytes 1 1368199)
=C2=A0(vectors 16 21744)
=C2=A0(vector-slots 8 503564 4880)
=C2=A0(floats 8 145 328)
=C2=A0(intervals 56 265 131)
=C2=A0(buffers 960 11)
=C2=A0(heap 1024 52296 909))

--001a113fd9a2711df30548f04117-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 09:16:25 2017 Received: (at 25807) by debbugs.gnu.org; 24 Feb 2017 14:16:25 +0000 Received: from localhost ([127.0.0.1]:53682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chGfY-0003N8-V2 for submit@debbugs.gnu.org; Fri, 24 Feb 2017 09:16:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chGfX-0003Mv-MR for 25807@debbugs.gnu.org; Fri, 24 Feb 2017 09:16:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chGfO-0008VP-9d for 25807@debbugs.gnu.org; Fri, 24 Feb 2017 09:16:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chGfO-0008V9-63; Fri, 24 Feb 2017 09:16:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1803 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chGfN-00034r-Bg; Fri, 24 Feb 2017 09:16:13 -0500 Date: Fri, 24 Feb 2017 16:15:45 +0200 Message-Id: <83mvdbsmi6.fsf@gnu.org> From: Eli Zaretskii To: Colin In-reply-to: (message from Colin on Mon, 20 Feb 2017 17:20:10 +1100) Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Colin > Date: Mon, 20 Feb 2017 17:20:10 +1100 > > If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I > type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: > Reading directory: no such file or directory, /tmp/foo` - the prompt has > now gone and I'm unable to fix my mistake without repeating the entire > process. Could someone knowledgeable about completion please suggest a way to do better in these use cases, or perhaps propose a patch? We are looking for a way to reject non-existing directories, but accept existing ones and wildcards, when the user types RET in these cases. There is "permissive completion with confirmation", but that requires the user to type TAB before it kicks in, which IMO is sub-optimal (and counter-intuitive) in this case. TIA From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 04 05:23:28 2017 Received: (at 25807) by debbugs.gnu.org; 4 Mar 2017 10:23:28 +0000 Received: from localhost ([127.0.0.1]:39151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck6qW-0001RM-GQ for submit@debbugs.gnu.org; Sat, 04 Mar 2017 05:23:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ck6qU-0001R7-Tp for 25807@debbugs.gnu.org; Sat, 04 Mar 2017 05:23:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ck6qM-0006Dq-O7 for 25807@debbugs.gnu.org; Sat, 04 Mar 2017 05:23:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ck6qM-0006Dm-L5; Sat, 04 Mar 2017 05:23:18 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3663 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ck6qL-0004EU-M1; Sat, 04 Mar 2017 05:23:18 -0500 Date: Sat, 04 Mar 2017 12:23:04 +0200 Message-Id: <838toll4s7.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier , Dmitry Gutov In-reply-to: <83mvdbsmi6.fsf@gnu.org> (message from Eli Zaretskii on Fri, 24 Feb 2017 16:15:45 +0200) Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: <83mvdbsmi6.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org, my.old.email.sucked@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ping! > Date: Fri, 24 Feb 2017 16:15:45 +0200 > From: Eli Zaretskii > Cc: 25807@debbugs.gnu.org > > > From: Colin > > Date: Mon, 20 Feb 2017 17:20:10 +1100 > > > > If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I > > type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: > > Reading directory: no such file or directory, /tmp/foo` - the prompt has > > now gone and I'm unable to fix my mistake without repeating the entire > > process. > > Could someone knowledgeable about completion please suggest a way to > do better in these use cases, or perhaps propose a patch? We are > looking for a way to reject non-existing directories, but accept > existing ones and wildcards, when the user types RET in these cases. > > There is "permissive completion with confirmation", but that requires > the user to type TAB before it kicks in, which IMO is sub-optimal (and > counter-intuitive) in this case. > > TIA From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 25 12:16:23 2017 Received: (at 25807) by debbugs.gnu.org; 25 Mar 2017 16:16:23 +0000 Received: from localhost ([127.0.0.1]:44489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1croMY-0006nD-NF for submit@debbugs.gnu.org; Sat, 25 Mar 2017 12:16:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1croMX-0006n0-0k for 25807@debbugs.gnu.org; Sat, 25 Mar 2017 12:16:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1croMR-0004BI-5M for 25807@debbugs.gnu.org; Sat, 25 Mar 2017 12:16:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1croML-00049Y-IP; Sat, 25 Mar 2017 12:16:09 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1croMK-0005E5-FJ; Sat, 25 Mar 2017 12:16:08 -0400 Date: Sat, 25 Mar 2017 19:16:04 +0300 Message-Id: <83h92hbad7.fsf@gnu.org> From: Eli Zaretskii To: monnier@iro.umontreal.ca, dgutov@yandex.ru In-reply-to: <838toll4s7.fsf@gnu.org> (message from Eli Zaretskii on Sat, 04 Mar 2017 12:23:04 +0200) Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: <83mvdbsmi6.fsf@gnu.org> <838toll4s7.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org, my.old.email.sucked@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ping! Ping! > Date: Sat, 04 Mar 2017 12:23:04 +0200 > From: Eli Zaretskii > Cc: 25807@debbugs.gnu.org, my.old.email.sucked@gmail.com > > Ping! > > > Date: Fri, 24 Feb 2017 16:15:45 +0200 > > From: Eli Zaretskii > > Cc: 25807@debbugs.gnu.org > > > > > From: Colin > > > Date: Mon, 20 Feb 2017 17:20:10 +1100 > > > > > > If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I > > > type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: > > > Reading directory: no such file or directory, /tmp/foo` - the prompt has > > > now gone and I'm unable to fix my mistake without repeating the entire > > > process. > > > > Could someone knowledgeable about completion please suggest a way to > > do better in these use cases, or perhaps propose a patch? We are > > looking for a way to reject non-existing directories, but accept > > existing ones and wildcards, when the user types RET in these cases. > > > > There is "permissive completion with confirmation", but that requires > > the user to type TAB before it kicks in, which IMO is sub-optimal (and > > counter-intuitive) in this case. > > > > TIA From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 25 15:28:40 2017 Received: (at 25807) by debbugs.gnu.org; 25 Mar 2017 19:28:40 +0000 Received: from localhost ([127.0.0.1]:44620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crrMe-0004nA-G5 for submit@debbugs.gnu.org; Sat, 25 Mar 2017 15:28:40 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:44566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crrMc-0004mv-CH for 25807@debbugs.gnu.org; Sat, 25 Mar 2017 15:28:39 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 57E8F179B2D2; Sat, 25 Mar 2017 20:28:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1490470099; bh=BBa5NDasz8z2wmFpK3ltNb/Y2Q0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=bX6ir89yFF52IY9JzhuUeFSpHnXxK5Urghz0cpAQIwCQ9cXPNoSf2Rl7swSMHi8V1 JHmwJdUeGlnCYAy42ceaTlFgSm7YS1DopmAHxEj5Bg8iOAEFPDqr6pIP0Nz3u2oTc3 qlzK6H2CS9CCn7759ts2mfPHnzR1/II//MHtm2Ic= From: Andreas Politz To: Eli Zaretskii Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: <83mvdbsmi6.fsf@gnu.org> Date: Sat, 25 Mar 2017 20:28:18 +0100 In-Reply-To: <83mvdbsmi6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Feb 2017 16:15:45 +0200") Message-ID: <871stldulp.fsf@luca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org, Colin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Eli Zaretskii writes: > [...] We are looking for a way to reject non-existing directories, but > accept existing ones and wildcards, when the user types RET in these > cases. I think in order to do that we would have to figure out whether a given filename expands to some existing filenames or not, and this also for handled ones. The last part of which seems to be difficult. A more simpler and less general approach would be the addition of a user-option, i.e. list-directory-use-wildcards. -ap From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 25 15:45:29 2017 Received: (at 25807) by debbugs.gnu.org; 25 Mar 2017 19:45:29 +0000 Received: from localhost ([127.0.0.1]:44628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crrcv-0005EN-AH for submit@debbugs.gnu.org; Sat, 25 Mar 2017 15:45:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crrct-0005EB-7s for 25807@debbugs.gnu.org; Sat, 25 Mar 2017 15:45:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crrck-00012k-TD for 25807@debbugs.gnu.org; Sat, 25 Mar 2017 15:45:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crrck-00012O-QV; Sat, 25 Mar 2017 15:45:18 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2169 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1crrck-0005zT-29; Sat, 25 Mar 2017 15:45:18 -0400 Date: Sat, 25 Mar 2017 22:45:14 +0300 Message-Id: <834lyhb0ol.fsf@gnu.org> From: Eli Zaretskii To: Andreas Politz In-reply-to: <871stldulp.fsf@luca> (message from Andreas Politz on Sat, 25 Mar 2017 20:28:18 +0100) Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: <83mvdbsmi6.fsf@gnu.org> <871stldulp.fsf@luca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org, my.old.email.sucked@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Andreas Politz > Cc: Colin , 25807@debbugs.gnu.org > Date: Sat, 25 Mar 2017 20:28:18 +0100 > > Eli Zaretskii writes: > > > [...] We are looking for a way to reject non-existing directories, but > > accept existing ones and wildcards, when the user types RET in these > > cases. > > I think in order to do that we would have to figure out whether a given > filename expands to some existing filenames or not, and this also for > handled ones. The last part of which seems to be difficult. Why is the last part difficult? directory-files already supports that, doesn't it? And completion examines matching files as part of its thing, so I hoped there's already an option to get that for free. > A more simpler and less general approach would be the addition of a > user-option, i.e. list-directory-use-wildcards. The function in question already supports widlcards, so moving that support to a new option would be a step backward, I think. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 14:16:55 2021 Received: (at 25807) by debbugs.gnu.org; 1 Dec 2021 19:16:55 +0000 Received: from localhost ([127.0.0.1]:45654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msV67-0000U3-GY for submit@debbugs.gnu.org; Wed, 01 Dec 2021 14:16:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msV65-0000To-2f for 25807@debbugs.gnu.org; Wed, 01 Dec 2021 14:16:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4vfZ1ES69LO74Owad3+k/YV7jkjpbmYeIPZZhWzpviY=; b=P5w1wFps8EOPcoBwX9gNJvqiII 2FxodIgJFtcPK5EhtHPP4Vm5IuVBqIvwK3kIWP/BPPkZHrtWWGJ1Upurml9npaMo9RS9t1L8PoH5E iBFcyXGa3e1wUkUY3+rJEIyTOnDCsAK4qgQEAnl2sH3o0v84Gh0cSx+0wYt4D3GaMD4w=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msV5w-0001p6-5A; Wed, 01 Dec 2021 20:16:46 +0100 From: Lars Ingebrigtsen To: Colin Subject: Re: bug#25807: 24.5; List-Directory closes with error when invalid path is typed instead of prompting the user to fix it References: X-Now-Playing: DJ Rupture's _Curiosity Slowdown_: "Curiosity Slowdown (part 3)" Date: Wed, 01 Dec 2021 20:16:43 +0100 In-Reply-To: (Colin's message of "Mon, 20 Feb 2017 17:20:10 +1100") Message-ID: <87y254gmp0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Colin writes: > If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I > type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: > Reading directory: no such file or directory [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25807 Cc: 25807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Colin writes: > If I hit `C-x C-d`, I receive the prompt `List directory (breif): ~/` - if I > type `/tmp/foo` and hit Enter my message buffer shows `insert-directory: > Reading directory: no such file or directory, /tmp/foo` - the prompt has > now gone and I'm unable to fix my mistake without repeating the entire > process. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 14:17:01 2021 Received: (at control) by debbugs.gnu.org; 1 Dec 2021 19:17:01 +0000 Received: from localhost ([127.0.0.1]:45657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msV6C-0000UN-NY for submit@debbugs.gnu.org; Wed, 01 Dec 2021 14:17:00 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msV6A-0000Tv-Ei for control@debbugs.gnu.org; Wed, 01 Dec 2021 14:16:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YMx5wd4qw/PoGBZZGqQWt6Bt5jCTtxkEFpYIlr1xWEM=; b=FSDOq2o5OPyUqHw7j6zSnN2Bb+ rG5EdSI5F3jOjBPt4L/s8gQvcxhnvmMkGajH3tK5Tnh21PWKjUxUPht6y+Ccj2g1cxhAhGdM2xWsz 5XUoeENgb4GFQbyAJYK1qPYlRyu1v5YG/0IYhmaIWK6U5cI9y8M+np6hjJMdy5P/IEHQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msV62-0001pE-NI for control@debbugs.gnu.org; Wed, 01 Dec 2021 20:16:53 +0100 Date: Wed, 01 Dec 2021 20:16:50 +0100 Message-Id: <87wnkogmot.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25807 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 25807 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 25807 29.1 quit From unknown Sat Aug 09 01:06:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Dec 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator