unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthias Meulien <meulien@club.lemonde.fr>
Subject: Re: dired listing (dont display ~ files)
Date: 20 Nov 2002 13:25:37 +0100	[thread overview]
Message-ID: <m23cpw5sxq.fsf@clarinde.localdomain> (raw)
In-Reply-To: mailman.1037791078.30881.help-gnu-emacs@gnu.org

David Holden <dh@iucr.org> wrote:

>  Does anyone know how I can get emacs Dired not to display files with ~
> on the end, e.g. backup files in the C-f listing of a directory.

Dear David,

The `dired-x.el' file provides "extra" features for dired mode. Read
the info nodes `(dired-x)Installation' and `(dired-x)Omitting Files'
for more informations.

You need to load this elisp file (`M-x load-library RET dired-x RET').
To do load it at startup, add the following in emacs init file :

(add-hook 'dired-load-hook
               (lambda ()
                 (load "dired-x")))

Then you toggle omitting of files with `dired-omit-toggle' bounded to
`M-o'.

To turn it on automagically for each dired buffer, add the following
to emacs init file :

(add-hook 'dired-mode-hook
               (lambda ()
                 (setq dired-omit-files-p t)))

The default value of `dired-omit-extensions' contains the elements of
`completion-ignored-extensions',  apriori it contains "~"...
-- 
Matthias

  parent reply	other threads:[~2002-11-20 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1037791078.30881.help-gnu-emacs@gnu.org>
2002-11-20 11:48 ` dired listing (dont display ~ files) Edric M Ellis
2002-11-20 12:25 ` Matthias Meulien [this message]
2002-11-20 16:14   ` David Holden
2002-11-20 11:16 David Holden

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=m23cpw5sxq.fsf@clarinde.localdomain \
    --to=meulien@club.lemonde.fr \
    /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).