unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ludwig, Mark" <ludwig.mark@siemens.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Allowing wildcards in Find file prompt that resolve to a single file?
Date: Fri, 27 Jun 2014 15:28:36 +0000	[thread overview]
Message-ID: <BC5672F8AD4C054BAF167C9801500D1AF5C9A451@USSLMMBX003.net.plm.eds.com> (raw)

Has anyone made an enhancement or extension that would let a user
specify wildcard(s) in the Find file prompt, as long as the
wildcard(s) resolve to a single file?

The reason I want this is because we have numerous files that
have uniqueness at the tail end (which is why TAB doesn't help).

Consider, for example, that there might be only file in each
directory that ends with ".foo" (made-up example).  I would enter
"dir1/dir2/*.foo" at the Find file prompt and have it find the
one ".foo" file in dir2.  (The file name before ".foo" is a
mangling of "dir1" and "dir2" for historical reasons.)

Hope this makes sense,

Mark Ludwig
Lifecycle Coll
Product Lifecycle Management

Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN  55126 United States
Tel.      :+1 (651) 855-6140
Fax      :+1 (651) 855-6280
ludwig.mark@siemens.com <ludwig.mark@siemens.com%20>
www.siemens.com/plm



             reply	other threads:[~2014-06-27 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-27 15:28 Ludwig, Mark [this message]
2014-06-27 17:46 ` Allowing wildcards in Find file prompt that resolve to a single file? Glenn Morris
2014-06-27 22:33 ` Drew Adams

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=BC5672F8AD4C054BAF167C9801500D1AF5C9A451@USSLMMBX003.net.plm.eds.com \
    --to=ludwig.mark@siemens.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).