From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.help Subject: Re: dired listing (dont display ~ files) Date: 20 Nov 2002 13:25:37 +0100 Organization: ...!#$@~? Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037795379 15643 80.91.224.249 (20 Nov 2002 12:29:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 12:29:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ETz6-00043o-00 for ; Wed, 20 Nov 2002 13:29:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ETvw-0003S5-00; Wed, 20 Nov 2002 07:26:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!proxad.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail Mail-Copies-To: never Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 32 Original-NNTP-Posting-Date: 20 Nov 2002 13:24:35 MET Original-NNTP-Posting-Host: 62.147.139.235 Original-X-Trace: 1037795075 news2-1.free.fr 2145 62.147.139.235 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:107230 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3785 David Holden 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