From: Juri Linkov <juri@jurta.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: Is it a mistake to define dired-omit-mode as a minor mode?
Date: Thu, 25 Mar 2010 09:14:34 +0200 [thread overview]
Message-ID: <878w9h3qgt.fsf@mail.jurta.org> (raw)
In-Reply-To: <87iq8mcnqe.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 24 Mar 2010 11:31:33 +0200")
> Maybe the docstring should say what is the preferred way to enable it
> in .emacs? E.g. (add-hook 'dired-mode-hook (lambda () (dired-omit-mode 1)))
=== modified file 'lisp/dired-x.el'
--- lisp/dired-x.el 2010-01-13 08:35:10 +0000
+++ lisp/dired-x.el 2010-03-25 07:14:18 +0000
@@ -163,7 +163,13 @@ (define-minor-mode dired-omit-mode
otherwise. Enabling and disabling is buffer-local.
If enabled, \"uninteresting\" files are not listed.
Uninteresting files are those whose filenames match regexp `dired-omit-files',
-plus those ending with extensions in `dired-omit-extensions'."
+plus those ending with extensions in `dired-omit-extensions'.
+
+To enable omitting in every Dired buffer, you can put in your ~/.emacs
+
+ (add-hook 'dired-mode-hook (lambda () (dired-omit-mode 1)))
+
+See Info node `(dired-x) Omitting Variables' for more information."
:group 'dired-x
(if dired-omit-mode
;; This will mention how many lines were omitted:
--
Juri Linkov
http://www.jurta.org/emacs/
prev parent reply other threads:[~2010-03-25 7:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 20:37 Is it a mistake to define dired-omit-mode as a minor mode? Leo
2010-03-18 21:41 ` Tassilo Horn
2010-03-18 21:48 ` Lennart Borgman
2010-03-19 6:52 ` Tassilo Horn
2010-03-24 9:31 ` Juri Linkov
2010-03-25 7:14 ` Juri Linkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878w9h3qgt.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.com \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.