From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: desktop.el and minor modes
Date: Tue, 08 Jun 2004 21:43:29 +0300 [thread overview]
Message-ID: <87r7sp28mm.fsf@mail.jurta.org> (raw)
In-Reply-To: <40C5E4F6.3080409@math.ku.dk> (Lars Hansen's message of "Tue, 08 Jun 2004 18:10:30 +0200")
Lars Hansen <larsh@math.ku.dk> writes:
> Yes it does, but you have to load dired-x first somehow. You may
> considered it a bug in the old version of dired-x that
> dired-omit-files-p wasn't declared with :require 'dired-x or had an
> autoload cookie. Anyway, you had to load dired-x before the
> custom-set-variables call, just as with the new version of dired-x. So
> in this respect, nothing is changed.
It works if dired-x is loaded before custom-set-variables, but this
requires modifications of existing .emacs to move loading dired-x
before custom-set-variables. And since users should modify .emacs anyway,
they rather could replace the obsolete variable `dired-omit-files-p'
with `dired-omit-mode' and `dired-mode-hook'. `dired-mode-hook' is
defined by `defcustom', so `dired-omit-mode' can be easily added to it
via Customize which results in adding to user's .emacs something like:
(custom-set-variables
...
'(dired-mode-hook (quote (dired-omit-mode)))
...)
which is good from the point of view of easy customization.
So all what I suggest is to write an appropriate entry in NEWS
with explanations that `dired-omit-files-p' is obsoleted by
`dired-omit-mode' minor mode which can be customized now by
adding `dired-omit-mode' to `dired-mode-hook'.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2004-06-08 18:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-05 17:59 desktop.el and minor modes Lars Hansen
2004-06-05 18:03 ` David Kastrup
2004-06-05 18:14 ` Lars Hansen
2004-06-05 18:47 ` Juri Linkov
2004-06-07 8:09 ` Juri Linkov
2004-06-08 6:49 ` Lars Hansen
2004-06-08 8:02 ` Juri Linkov
2004-06-08 16:10 ` Lars Hansen
2004-06-08 18:43 ` Juri Linkov [this message]
2004-06-08 19:24 ` Lars Hansen
2004-06-08 20:11 ` Juri Linkov
2004-06-08 20:22 ` Lars Hansen
2004-06-08 20:32 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2004-05-30 20:11 Juri Linkov
2004-05-31 10:20 ` Lars Hansen
2004-05-31 13:16 ` Lars Hansen
2004-05-31 13:52 ` Juri Linkov
2004-05-31 16:38 ` Lars Hansen
2004-05-31 19:26 ` Miles Bader
2004-05-31 21:22 ` Lars Hansen
2004-05-31 13:52 ` Juri Linkov
2004-05-31 21:48 ` Lars Hansen
[not found] ` <87vfici4md.fsf@mail.jurta.org>
2004-06-01 6:22 ` Lars Hansen
2004-06-01 16:34 ` Juri Linkov
2004-06-02 5:50 ` Lars Hansen
2004-06-05 1:05 ` Juri Linkov
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=87r7sp28mm.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.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.