[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-name-shadow-mode
From: |
Luc Teirlinck |
Subject: |
Re: file-name-shadow-mode |
Date: |
Thu, 17 Mar 2005 22:55:36 -0600 (CST) |
Stefan Monnier wrote:
Assuming it's still considered a good idea to make sure that loading a file
does not have any other side effect,
I personally very much believe it is a bad idea. _However_ it is the
_general_ default :initialize function (`custom-initialize-reset')
that has this problem and _not_ `custom-initialize-set' (note the
missing `re'). It is `custom-initialize-set' that I propose to use if
:init-value is non-nil.
By the way, quoting from my original message:
Passing an explicit :initialize keyword to
`define-minor-mode' does not seem to help: it gets ignored.
Actually, no. After macroexpansion, :initialize occurs _twice_ in the
defcustom, once as `custom-initialize-default' and once as
`custom-initialize-set', but then Custom apparently ignores the latter.
Sincerely,
Luc.
- file-name-shadow-mode, David Kastrup, 2005/03/17
- Re: file-name-shadow-mode, Matt Hodges, 2005/03/17
- Re: file-name-shadow-mode, Miles Bader, 2005/03/17
- Re: file-name-shadow-mode, Nick Roberts, 2005/03/17
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/17
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/18
- Re: file-name-shadow-mode,
Luc Teirlinck <=
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/18
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/18
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, David Kastrup, 2005/03/19
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/19
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20