unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dired local ignore file extensions
@ 2017-09-11  6:09 Sivaram Neelakantan
  2017-09-11  6:29 ` Emanuel Berg
       [not found] ` <mailman.301.1505111388.14750.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Sivaram Neelakantan @ 2017-09-11  6:09 UTC (permalink / raw)
  To: help-gnu-emacs


While working on latex beamer, I'd like to ignore additional file
extensions.  I created a .dired_local.el  file with the following
entries,

((dired-mode
  (completion-ignored-extensions . ".out")
  (completion-ignored-extensions . ".vrb")
  (dired-omit-mode . t)))

This doesn't seem to ignore the files ending with the above extensions
though omit-mode becomes enabled.

I created the first ignored entry using M-x add-dir-local-variable and
repeated the generated form.  How do I get to ignore *additional* file
extensions apart from what completion-ignored-extensions already
generates that is directory specific?


sivaram
-- 


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

* Re: dired local ignore file extensions
  2017-09-11  6:09 dired local ignore file extensions Sivaram Neelakantan
@ 2017-09-11  6:29 ` Emanuel Berg
       [not found] ` <mailman.301.1505111388.14750.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg @ 2017-09-11  6:29 UTC (permalink / raw)
  To: help-gnu-emacs

Sivaram Neelakantan wrote:

> While working on latex beamer, I'd like to
> ignore additional file extensions. I created
> a .dired_local.el file with the following
> entries,
>
> ((dired-mode (completion-ignored-extensions .
> ".out") (completion-ignored-extensions .
> ".vrb") (dired-omit-mode . t)))
>
> This doesn't seem to ignore the files ending
> with the above extensions though omit-mode
> becomes enabled.

(setq completion-ignored-extensions
      (nconc completion-ignored-extensions (list ".bcf" ".run.xml")) )

-- 
underground experts united
http://user.it.uu.se/~embe8573




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

* Re: dired local ignore file extensions
       [not found] ` <mailman.301.1505111388.14750.help-gnu-emacs@gnu.org>
@ 2017-09-12  3:22   ` Sivaram Neelakantan
  0 siblings, 0 replies; 3+ messages in thread
From: Sivaram Neelakantan @ 2017-09-12  3:22 UTC (permalink / raw)
  To: help-gnu-emacs

On Mon, Sep 11 2017,Emanuel Berg wrote:


[snipped 14 lines]

>
> (setq completion-ignored-extensions
>       (nconc completion-ignored-extensions (list ".bcf" ".run.xml")) )

Thanks.  This doesn't seem to work if I add it to .dir-locals.el
file.  How do I get per directory customisation?


sivaram
-- 


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

end of thread, other threads:[~2017-09-12  3:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-11  6:09 dired local ignore file extensions Sivaram Neelakantan
2017-09-11  6:29 ` Emanuel Berg
     [not found] ` <mailman.301.1505111388.14750.help-gnu-emacs@gnu.org>
2017-09-12  3:22   ` Sivaram Neelakantan

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