* Re: ignored files during TAB expansion
[not found] <mailman.1573.1075407758.928.bug-gnu-emacs@gnu.org>
@ 2004-01-29 23:03 ` Barry Margolin
2004-01-29 23:46 ` Juri Linkov
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Barry Margolin @ 2004-01-29 23:03 UTC (permalink / raw)
In article <mailman.1573.1075407758.928.bug-gnu-emacs@gnu.org>,
Dan Jacobson <jidanni@jidanni.org> wrote:
> $ ls -d1 T*
> Taiwan
> The Art & Skill of Radio-Telegraphy 3rd edition 4-02.pdf
> $ emacs -q --no-site-file -nw
> C-x C-f T TAB
> We get Taiwan as only choice. The Art & Skill.... is ignored.
> Probably the "&"
>
>
See the variable completion-ignored-extensions. ".pdf" is in its
default setting.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ignored files during TAB expansion
2004-01-29 23:03 ` ignored files during TAB expansion Barry Margolin
@ 2004-01-29 23:46 ` Juri Linkov
[not found] ` <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>
2004-01-30 19:46 ` Dan Jacobson
2 siblings, 0 replies; 7+ messages in thread
From: Juri Linkov @ 2004-01-29 23:46 UTC (permalink / raw)
Cc: Dan Jacobson
Barry Margolin <barmar@alum.mit.edu> writes:
> In article <mailman.1573.1075407758.928.bug-gnu-emacs@gnu.org>,
> Dan Jacobson <jidanni@jidanni.org> wrote:
>> $ ls -d1 T*
>> Taiwan
>> The Art & Skill of Radio-Telegraphy 3rd edition 4-02.pdf
>> $ emacs -q --no-site-file -nw
>> C-x C-f T TAB
>> We get Taiwan as only choice. The Art & Skill.... is ignored.
>> Probably the "&"
>
> See the variable completion-ignored-extensions. ".pdf" is in its
> default setting.
That is why I have in .emacs:
(delete-from-list 'completion-ignored-extensions ".pdf")
(delete-from-list 'completion-ignored-extensions ".dvi")
(delete-from-list 'completion-ignored-extensions ".log")
OK, .log was recently removed from completion-ignored-extensions in
Emacs CVS. Perhaps, .pdf and .dvi should be removed too, because
these extensions are quite interesting for users. But more
importantly that they would be removed from dired-omit-extensions
which is constructed from the completion-ignored-extensions list.
--
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>]
* Re: ignored files during TAB expansion
[not found] ` <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>
@ 2004-01-30 2:31 ` Barry Margolin
2004-01-31 7:51 ` Richard Stallman
0 siblings, 1 reply; 7+ messages in thread
From: Barry Margolin @ 2004-01-30 2:31 UTC (permalink / raw)
In article <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>,
Juri Linkov <juri@jurta.org> wrote:
> OK, .log was recently removed from completion-ignored-extensions in
> Emacs CVS. Perhaps, .pdf and .dvi should be removed too, because
> these extensions are quite interesting for users.
I think maybe a better solution is for completion in shell commands
*not* to use this list. It was designed to filter out files that you
wouldn't want to read with find-file. But when you're specifying
filename arguments to shell commands, the set of useful files is
dependent on the command you're applying to them. If it's a basic
command like mv or rm, there's no reason to filter out anything.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ignored files during TAB expansion
2004-01-29 23:03 ` ignored files during TAB expansion Barry Margolin
2004-01-29 23:46 ` Juri Linkov
[not found] ` <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>
@ 2004-01-30 19:46 ` Dan Jacobson
[not found] ` <E1AniIm-0001f5-Vj@fencepost.gnu.org>
2 siblings, 1 reply; 7+ messages in thread
From: Dan Jacobson @ 2004-01-30 19:46 UTC (permalink / raw)
B> See the variable completion-ignored-extensions.
Oh. BTW, (setq completion-ignored-extensions nil) caused any dired to
loop eating 100% CPU until killall emacs. But only when appended to my
http://jidanni.org/comp/emacs.txt, not in the general case.
$ strace emacs . gives lots of:
--- SIGALRM (Alarm clock) @ 0 (0) ---
gettimeofday({1075491878, 323218}, NULL) = 0
gettimeofday({1075491878, 323315}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 5522}}, NULL) = 0
sigreturn() = ? (mask now [])
I'll try the other example. Oops,
Symbol's function definition is void: delete-from-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* ignored files during TAB expansion
@ 2004-01-29 4:24 Dan Jacobson
0 siblings, 0 replies; 7+ messages in thread
From: Dan Jacobson @ 2004-01-29 4:24 UTC (permalink / raw)
$ ls -d1 T*
Taiwan
The Art & Skill of Radio-Telegraphy 3rd edition 4-02.pdf
$ emacs -q --no-site-file -nw
C-x C-f T TAB
We get Taiwan as only choice. The Art & Skill.... is ignored.
Probably the "&"
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-02 22:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1573.1075407758.928.bug-gnu-emacs@gnu.org>
2004-01-29 23:03 ` ignored files during TAB expansion Barry Margolin
2004-01-29 23:46 ` Juri Linkov
[not found] ` <mailman.1585.1075420294.928.bug-gnu-emacs@gnu.org>
2004-01-30 2:31 ` Barry Margolin
2004-01-31 7:51 ` Richard Stallman
2004-01-30 19:46 ` Dan Jacobson
[not found] ` <E1AniIm-0001f5-Vj@fencepost.gnu.org>
2004-02-02 22:49 ` Dan Jacobson
2004-01-29 4:24 Dan Jacobson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.