bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22577: 25.0.50; vc-git-grep fails when searching for `all' files


From: Óscar Fuentes
Subject: bug#22577: 25.0.50; vc-git-grep fails when searching for `all' files
Date: Mon, 08 Feb 2016 17:22:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> What about file names starting with ".."?

Is there a way to accept them while rejecting the parent directory? If
not, I opt for ignoring those rather than having commands that fail when
used with the default parameters suggested by Emacs.

We could add "..?*" but that doesn't match directories:

address@hidden:~/dev/emacs/emacs$ ls ..?*
ls: cannot access ..?*: No such file or directory
address@hidden:~/dev/emacs/emacs$ mkdir ..foo
address@hidden:~/dev/emacs/emacs$ ls ..?*
address@hidden:~/dev/emacs/emacs$ rmdir ..foo
address@hidden:~/dev/emacs/emacs$ touch ..foo
address@hidden:~/dev/emacs/emacs$ ls ..?*
..foo


This is also puzzling to me:

address@hidden:~/dev/emacs/emacs$ ls .?
build         dbuild  old-emacs     ses.patch          tooltip_pos.diff
build.script  emacs   pmodes-tests  tooltip_pos2.diff
address@hidden:~/dev/emacs/emacs$ ls ?
ls: cannot access ?: No such file or directory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]