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: dired listing (dont display ~ files) Date: 20 Nov 2002 11:16:39 +0000 Organization: IUCr Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1037790999.26351.15.camel@ojuelaite.iucr.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037791018 1144 80.91.224.249 (20 Nov 2002 11:16:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 11:16:58 +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 18ESqm-0000I6-00 for ; Wed, 20 Nov 2002 12:16:56 +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 18ESrm-000829-00; Wed, 20 Nov 2002 06:17:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18ESqe-0006w6-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 06:16:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18ESqX-0006ZL-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 06:16:47 -0500 Original-Received: from ojuelaite.iucr.org ([192.70.242.45]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ESqV-0006QA-00 for help-gnu-emacs@gnu.org; Wed, 20 Nov 2002 06:16:40 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ojuelaite.iucr.org (Postfix) with ESMTP id 518506FCEC for ; Wed, 20 Nov 2002 06:16:39 -0500 (EST) Original-To: help-gnu-emacs@gnu.org 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:3782 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3782 Hi, 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. Below is my .emacs file, I though the line '(dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$|^.*~$") would do it but it doesn't, any ideas, thanks in advance, Dave. (setq viper-mode t) (require 'viper) (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(column-number-mode t) '(dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$|^.*~$") '(dired-omit-files-p t) '(frame-background-mode nil) '(global-font-lock-mode t nil (font-lock)) '(mouse-wheel-mode t nil (mwheel)) '(scroll-bar-mode (quote right)) '(tooltip-mode t nil (tooltip)) '(x-select-enable-clipboard t)) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(font-lock-builtin-face ((((class color) (background light)) (:foreground "steel blue" :weight bold)))) '(font-lock-comment-face ((((class color) (background light)) (:foreground "Firebrick" :slant italic)))) '(font-lock-function-name-face ((((class color) (background light)) (:foreground "brown" :weight extra-bold)))) '(font-lock-keyword-face ((((class color) (background light)) (:foreground "Purple" :weight bold)))) '(font-lock-string-face ((((class color) (background light)) (:foreground "LightSteelBlue4" :slant italic :weight bold)))) '(font-lock-variable-name-face ((((class color) (background light)) (:foreground "blue"))))) -- 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 -- -------------------------------------------------