unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Robin Neatherway <robin.neatherway@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: Prompt for files with given extensions
Date: Wed, 11 Feb 2015 07:00:51 -0800 (PST)	[thread overview]
Message-ID: <e4f4e53f-806c-4457-9d84-f271723e8302@default> (raw)
In-Reply-To: <CALhoy233rv6b4P+Cnzx2PZTyFuC-SEQdL5u2JTHjbcMq3695sA@mail.gmail.com>

> I would like my function to prompt only for files with a given
> extension.

If you use Icicles, you can bind one of these variables in your
function, to control which file-name candidates are presented:

`icicle-file-match-regexp'
`icicle-file-no-match-regexp'
`icicle-file-predicate'

http://www.emacswiki.org/emacs/Icicles_-_Global_Filters#icicle-file-match-regexp




  reply	other threads:[~2015-02-11 15:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11 10:17 Prompt for files with given extensions Robin Neatherway
2015-02-11 15:00 ` Drew Adams [this message]
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=e4f4e53f-806c-4457-9d84-f271723e8302@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=robin.neatherway@gmail.com \
    /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).