unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Hansen <larsh@math.ku.dk>
Cc: emacs-devel@gnu.org
Subject: Re: desktop.el and minor modes
Date: Tue, 08 Jun 2004 08:49:37 +0200	[thread overview]
Message-ID: <40C56181.2090602@math.ku.dk> (raw)
In-Reply-To: <87zn7fbxh2.fsf@mail.jurta.org>

Juri Linkov wrote:

>However, this change is not backward compatible.  I can't tell how serious
>this problem is, but users who have the old variable `dired-omit-files-p'
>customized in their .emacs may discover that it doesn't work anymore.
>The reason is that old `dired-omit-files-p' was a global variable
>defined by defcustom, but `dired-omit-mode' is a minor mode defined
>without `:global t' argument.
>  
>
I don't see the problem. dired-omit-files-p was buffer-local before my 
changes just as dired-omit-mode is now.
According to my test (with vanilla Emacs 21.2 and vanilla CVS Emacs), 
things work the same way when dired-omit-files-p is set in .emacs:
With the following two lines in .emacs

  (require 'dired-x)
  (setq-default dired-omit-files-p t)

omit mode is turned on globally. Observe that setq won't work.

  reply	other threads:[~2004-06-08  6:49 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 [this message]
2004-06-08  8:02     ` Juri Linkov
2004-06-08 16:10       ` Lars Hansen
2004-06-08 18:43         ` Juri Linkov
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40C56181.2090602@math.ku.dk \
    --to=larsh@math.ku.dk \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).