unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Prompt for files with given extensions
@ 2015-02-11 10:17 Robin Neatherway
  2015-02-11 15:00 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robin Neatherway @ 2015-02-11 10:17 UTC (permalink / raw)
  To: help-gnu-emacs

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?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-16 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 10:17 Prompt for files with given extensions Robin Neatherway
2015-02-11 15:00 ` Drew Adams
2015-02-11 15:35 ` Michael Heerdegen
2015-02-16 10:47   ` Robin Neatherway
2015-02-12  2:41 ` Robert Thorpe

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).