home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!corton!tls-cs!cros
- From: cros@tls-cs.cert.fr (Patrice Cros)
- Newsgroups: comp.emacs
- Subject: sorting in dired
- Message-ID: <411@tls-cs.cert.fr>
- Date: 21 Jul 92 09:50:09 GMT
- Sender: news@tls-cs.cert.fr
- Organization: CERT Toulouse Dept of Computer Science, FRANCE
- Lines: 18
-
- In GNU Emacs 18.58,
-
- (defun local-dired-by-date (dirname)
- (interactive (list default-directory))
- (let ((dired-listing-switches "-lc"))
- (switch-to-buffer (dired-noselect dirname))))
-
-
- Have a look and notice that Emacs-Lisp apply dynamic binding
- (Not Common-Lisp), in this way you can change flags without
- save-restore for variable.
-
- Patrice Cros E-mail: cros@tls-cs.cert.fr
- CERT/DERI Tel: +33 61 55 70 61
- Department of Computer Science
- 2, av. Edouard Belin Fax: +33 61 55 71 72
- B.P. 4025 Telex: 521596 F
- 31055 TOULOUSE Cedex France
-