From: Robin Neatherway <robin.neatherway@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Prompt for files with given extensions
Date: Wed, 11 Feb 2015 10:17:50 +0000 [thread overview]
Message-ID: <CALhoy233rv6b4P+Cnzx2PZTyFuC-SEQdL5u2JTHjbcMq3695sA@mail.gmail.com> (raw)
I would like my function to prompt only for files with a given
extension. I have a source file, say foo.c, and would like to load the
corresponding test results file, say foo.results. However, if there
are multiple tests for foo.c, then they may have different filenames.
At the moment I use `read-file-name` with `foo.results` as a default,
but I would like to filter the possible completions by file extension.
Is this possible?
next reply other threads:[~2015-02-11 10:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 10:17 Robin Neatherway [this message]
2015-02-11 15:00 ` Prompt for files with given extensions Drew Adams
2015-02-11 15:35 ` Michael Heerdegen
2015-02-16 10:47 ` Robin Neatherway
2015-02-12 2:41 ` Robert Thorpe
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=CALhoy233rv6b4P+Cnzx2PZTyFuC-SEQdL5u2JTHjbcMq3695sA@mail.gmail.com \
--to=robin.neatherway@gmail.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).