GNU bug report logs - #34665
M-x shell expansion fooled by "\|"

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 26 Feb 2019 13:38:02 UTC

Severity: minor

Tags: confirmed

To reply to this bug, email your comments to 34665 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#34665; Package emacs. (Tue, 26 Feb 2019 13:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 26 Feb 2019 13:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: M-x shell expansion fooled by "\|"
Date: Tue, 26 Feb 2019 21:37:01 +0800
M-x shell
$ grep -l \| o<TAB> #Here it thinks we are piping, because it didn't
notice the backslash, so offers bin/* completions, not ./* completions.
$ grep -l \| x o<TAB> #Here I need to add the x to get it to finally
expand filenames.
$ grep -l '|' x x x o<TAB> #Here no amount of x's will finally let us
expand anything!
P.S., "grep -l" doesn't matter, you could even just use ":" (null
command).
By the way,
$ grep string <TAB> #Doesn't expand anything, also doesn't give a list of
completions. One has to help it get started:
$ grep string o<TAB>




Added tag(s) confirmed. Request was from Bhavin Gandhi <bhavin7392 <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 05 Apr 2019 17:42:02 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.