unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34665: M-x shell expansion fooled by "\|"
@ 2019-02-26 13:37 積丹尼 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: 積丹尼 Dan Jacobson @ 2019-02-26 13:37 UTC (permalink / raw)
  To: 34665

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>





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-26 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-26 13:37 bug#34665: M-x shell expansion fooled by "\|" 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).