[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dired listing (dont display ~ files)
From: |
David Holden |
Subject: |
dired listing (dont display ~ files) |
Date: |
20 Nov 2002 11:16:39 +0000 |
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 <http://journals.iucr.org>
Thanks in advance:-
Please avoid sending me Word or PowerPoint attachments.
See: <http://www.fsf.org/philosophy/no-word-attachments.html>
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 --
-------------------------------------------------
- dired listing (dont display ~ files),
David Holden <=