[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How global is a define-global-minor-mode mode?
From: |
Chong Yidong |
Subject: |
Re: How global is a define-global-minor-mode mode? |
Date: |
Sun, 28 Jan 2007 14:53:58 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
David Kastrup <address@hidden> writes:
>> The only way for Emacs to know which source file to :require, for a
>> third-party package, is to look at the custom-set-variables
>> declaration in .emacs.
>
> Uh, wouldn't the file to require be load-file-name at the time
> define-global-minor-mode is loaded or executed via autoload?
That breaks if you move a third-party package to another directory or
another file name. More importantly, this kind of behavior is
different from similar existing Emacs mechanisms. For instance, when
you write define-minor-mode and defcustom statements, it does not
automagically :require the current load-file.
I really don't see why it's a problem having to separately specify the
requisite load-file.
- Re: How global is a define-global-minor-mode mode?, (continued)
- Re: How global is a define-global-minor-mode mode?, Stefan Monnier, 2007/01/25
- Re: How global is a define-global-minor-mode mode?, Lennart Borgman (gmail), 2007/01/25
- Re: How global is a define-global-minor-mode mode?, Lennart Borgman (gmail), 2007/01/25
- Re: How global is a define-global-minor-mode mode?, Stefan Monnier, 2007/01/25
- Re: How global is a define-global-minor-mode mode?, Chong Yidong, 2007/01/27
- Re: How global is a define-global-minor-mode mode?, Stefan Monnier, 2007/01/25
- Re: How global is a define-global-minor-mode mode?, Richard Stallman, 2007/01/28
- Re: How global is a define-global-minor-mode mode?, Richard Stallman, 2007/01/28
- Re: How global is a define-global-minor-mode mode?, Chong Yidong, 2007/01/28
- Re: How global is a define-global-minor-mode mode?, David Kastrup, 2007/01/28
- Re: How global is a define-global-minor-mode mode?,
Chong Yidong <=
- Re: How global is a define-global-minor-mode mode?, Stefan Monnier, 2007/01/28