From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Holden Newsgroups: gmane.emacs.help Subject: Re: dired listing (dont display ~ files) Date: 20 Nov 2002 16:14:39 +0000 Organization: IUCr Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1037808879.26346.18.camel@ojuelaite.iucr.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037809211 9464 80.91.224.249 (20 Nov 2002 16:20:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 16:20:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 18EXa9-0002Rx-00 for ; Wed, 20 Nov 2002 17:20:05 +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 18EXVi-0002PU-00; Wed, 20 Nov 2002 11:15:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18EXUz-0001qd-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 11:14:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18EXUv-0001nP-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 11:14:44 -0500 Original-Received: from ojuelaite.iucr.org ([192.70.242.45]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18EXUv-0001mP-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 11:14:41 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ojuelaite.iucr.org (Postfix) with ESMTP id 140046FCEC; Wed, 20 Nov 2002 11:14:40 -0500 (EST) Original-To: Matthias Meulien In-Reply-To: X-Mailer: Ximian Evolution 1.2.0 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:3802 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3802 excellent, just what I needed. Thanks a lot Dave. On Wed, 2002-11-20 at 12:25, Matthias Meulien wrote: > 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 "~"... -- Dr. David Holden. (Systems Developer) check-out : crystallography journals online Thanks in advance:- Please avoid sending me Word or PowerPoint attachments. See: Personal Links:- Recommended reading : http://www.oreilly.com/catalog/dbnationtp/ UK Privacy (R.I.P) : http://www.stand.org.uk/commentary.php3 Public GPG key available on request. -- 99% of politicians give the rest a bad name -- -------------------------------------------------