[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: elisp: Text-based file-chooser
From: |
Drew Adams |
Subject: |
RE: elisp: Text-based file-chooser |
Date: |
Mon, 3 Jan 2011 13:49:44 -0800 |
> What I'm trying to do here is replace the GUI file selector
> with a more general (and mouseless) text-mode hierarchical
> file-selector that I can use both in a GUI and at a text-only
> console. My lisp code often uses the GUI file selector to
> select files that I want to process in other
> ways besides editing, so I need its replacement to only return the
> filename and let me decide for myself what action to take.
So I guess you're saying that you do not want (necessarily) to visit the file,
you just want to read a file name. But you do not want to use the "GUI file
selector", by which I suppose you mean a file-selection dialog box. Is that it?
If all you want is to read a file name without using a dialog box, then just use
`read-file-name' with `use-file-dialog' bound to `t'.
(let ((use-file-dialog t))
(read-file-name ...)...)
- Re: elisp: Text-based file-chooser, (continued)
- Re: elisp: Text-based file-chooser, Richard Riley, 2011/01/02
- Re: elisp: Text-based file-chooser, Tim X, 2011/01/02
- Re: elisp: Text-based file-chooser, Richard Riley, 2011/01/02
- Re: elisp: Text-based file-chooser, suvayu ali, 2011/01/03
- Re: elisp: Text-based file-chooser, Richard Riley, 2011/01/03
- Re: elisp: Text-based file-chooser, suvayu ali, 2011/01/03
- Message not available
- Re: elisp: Text-based file-chooser, Tim X, 2011/01/03
Re: elisp: Text-based file-chooser, rusi, 2011/01/02
- Re: elisp: Text-based file-chooser, Thierry Volpiatto, 2011/01/03
- Message not available
- Re: elisp: Text-based file-chooser, Larry Kohlman, 2011/01/03
- RE: elisp: Text-based file-chooser,
Drew Adams <=
- Re: elisp: Text-based file-chooser, Thierry Volpiatto, 2011/01/03
- Message not available
- Re: elisp: Text-based file-chooser, Larry Kohlman, 2011/01/05
- Re: elisp: Text-based file-chooser, Thierry Volpiatto, 2011/01/05
- RE: elisp: Text-based file-chooser, Drew Adams, 2011/01/05
- Message not available
- Re: elisp: Text-based file-chooser, Larry Kohlman, 2011/01/05
- Re: elisp: Text-based file-chooser, suvayu ali, 2011/01/05
- RE: elisp: Text-based file-chooser, Drew Adams, 2011/01/05
Message not availableRe: elisp: Text-based file-chooser, Larry Kohlman, 2011/01/05
Re: elisp: Text-based file-chooser, Thierry Volpiatto, 2011/01/06
Re: elisp: Text-based file-chooser, Thierry Volpiatto, 2011/01/06