From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Andreas Schwab <schwab@suse.de>
Cc: 22577@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#22577: 25.0.50; vc-git-grep fails when searching for `all' files
Date: Mon, 08 Feb 2016 17:22:44 +0100 [thread overview]
Message-ID: <878u2vxjcb.fsf@wanadoo.es> (raw)
In-Reply-To: <mvmsi131mgp.fsf@hawking.suse.de> (Andreas Schwab's message of "Mon, 08 Feb 2016 12:16:22 +0100")
Andreas Schwab <schwab@suse.de> 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:
oscar@qcore:~/dev/emacs/emacs$ ls ..?*
ls: cannot access ..?*: No such file or directory
oscar@qcore:~/dev/emacs/emacs$ mkdir ..foo
oscar@qcore:~/dev/emacs/emacs$ ls ..?*
oscar@qcore:~/dev/emacs/emacs$ rmdir ..foo
oscar@qcore:~/dev/emacs/emacs$ touch ..foo
oscar@qcore:~/dev/emacs/emacs$ ls ..?*
..foo
This is also puzzling to me:
oscar@qcore:~/dev/emacs/emacs$ ls .?
build dbuild old-emacs ses.patch tooltip_pos.diff
build.script emacs pmodes-tests tooltip_pos2.diff
oscar@qcore:~/dev/emacs/emacs$ ls ?
ls: cannot access ?: No such file or directory
next prev parent reply other threads:[~2016-02-08 16:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-07 3:17 bug#22577: 25.0.50; vc-git-grep fails when searching for `all' files Óscar Fuentes
2016-02-08 4:46 ` Dmitry Gutov
2016-02-08 5:59 ` Óscar Fuentes
2016-02-08 11:16 ` Andreas Schwab
2016-02-08 16:10 ` Óscar Fuentes
2016-02-08 16:22 ` Óscar Fuentes [this message]
2016-02-08 16:28 ` Andreas Schwab
2016-02-08 18:14 ` Dmitry Gutov
2016-02-08 18:41 ` Andreas Schwab
2016-02-14 15:24 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u2vxjcb.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=22577@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).