unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Documentation for custom-file - is not (load custom-file) needed?
@ 2004-12-23 14:07 LENNART BORGMAN
  2004-12-23 18:05 ` Luc Teirlinck
  2004-12-23 18:34 ` Luc Teirlinck
  0 siblings, 2 replies; 79+ messages in thread
From: LENNART BORGMAN @ 2004-12-23 14:07 UTC (permalink / raw)
  Cc: johnw, rms, emacs-devel

----- Original Message -----
From: Luc Teirlinck <teirllm@dms.auburn.edu>

> Here are my suggested changes for `custom-file'.  Most of them are
> documentation changes.
> 
> The patches keep the defcustom.  However, the user wanting to
> customize it through Custom gets an emphatic warning in the Custom
> buffer, that is nearly impossible to overlook, when he chooses "File"
> from the "Value Menu".

This is fine except for two smaller points:

1) I think that custom-file should not be saved to "the custom file" because of the problems we discussed before when renaming or copying this file. Is there any reason to save custom-file? Could it not just be removed before the actual saving?

2) I believe some "prompt screen" should be shown when custom-file is removed as above.

- Lennart

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Re: Documentation for custom-file - is not (load custom-file) needed?
@ 2004-12-17 15:31 LENNART BORGMAN
  0 siblings, 0 replies; 79+ messages in thread
From: LENNART BORGMAN @ 2004-12-17 15:31 UTC (permalink / raw)
  Cc: johnw, Luc Teirlinck, rms, emacs-devel

----- Original Message -----
From: storm@cua.dk (Kim F. Storm)

> > I really do not want to go on forever about this, but I still 
> want to
> > point out one last time how easy the alternative is:
> >
> > (2)  ... Even better (but this is a
> >      minor issue): leave the defcustom, but put in a not to be 
> missed>      warning in the Custom buffer.  The latter provides 
> full 100%
> >      backward compatibility and helps people who use Custom as a
> >      browser (which means most people).
> 
> 
> IMHO, this is a perfect solution for 21.4 -- it doesn't change any
> functionality which isn't more broken now than it was before.

If this is the way we are going then please put that warning so it can not be missed. In my opinion it should then be when custom-file is saved. At that moment a check should be made if the variable `custom-file' is among those that are beeing saved. It should then be removed from the list of variables that are going to be saved and a warning screen about this should be shown, telling the user how to instead save that variable (for example by editing .emacs).

I previously suggested that it would be in the GUI part, but that is not a very good place. 

- Lennart

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Re: Documentation for custom-file - is not (load custom-file) needed?
@ 2004-12-13 19:51 Richard Stallman
  2004-12-14  0:34 ` Lennart Borgman
                   ` (2 more replies)
  0 siblings, 3 replies; 79+ messages in thread
From: Richard Stallman @ 2004-12-13 19:51 UTC (permalink / raw)


I read the various messages about custom-file, and this
is what I think we should do.

1. We should eliminate custom-file as a defcustom.

2. We should eliminate loading custom-file on startup.
   We should tell users that .emacs should load the appropriate file
   where custom values are stored.

3. Calling custom-set-variables in a file should add that file
   to a list of files that have done so.

4. Evaluating a custom-set-variables call in a buffer should not do
   any such thing.

5. When saving custom variables, if custom-file is set, save in that file.
   Otherwise, if they have only been loaded from one file, save in that
   file.  Otherwise, if they have been loaded from more than one file,
   save in the most recently loaded such file.

6. If the user wants to specify which file to save in,
   he can set custom-file or else just load that file.

7. Eventually, in the future, we might figure out some clean UI for
   specifying which custom files to use and load under which
   conditions, and for moving definitions between them, but that is
   something for later.

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Documentation for custom-file - is not (load custom-file) needed?
@ 2004-12-04  1:53 Lennart Borgman
  2004-12-04 23:35 ` Lennart Borgman
  2004-12-05 15:50 ` John Paul Wallington
  0 siblings, 2 replies; 79+ messages in thread
From: Lennart Borgman @ 2004-12-04  1:53 UTC (permalink / raw)


I believe that (load custom-file) is needed in .emacs to get it to work, but
the documentation does not say so.

- Lennart

^ permalink raw reply	[flat|nested] 79+ messages in thread

end of thread, other threads:[~2004-12-28 17:25 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-23 14:07 Documentation for custom-file - is not (load custom-file) needed? LENNART BORGMAN
2004-12-23 18:05 ` Luc Teirlinck
2004-12-28  1:06   ` Lennart Borgman
2004-12-28  4:28     ` Luc Teirlinck
2004-12-28 17:25       ` Richard Stallman
2004-12-23 18:34 ` Luc Teirlinck
  -- strict thread matches above, loose matches on Subject: below --
2004-12-17 15:31 LENNART BORGMAN
2004-12-13 19:51 Richard Stallman
2004-12-14  0:34 ` Lennart Borgman
2004-12-14 23:20   ` Richard Stallman
2004-12-14  1:50 ` Luc Teirlinck
2004-12-14 23:20   ` Richard Stallman
2004-12-15  2:51     ` Luc Teirlinck
2004-12-15 23:20       ` Richard Stallman
2004-12-16  0:48         ` Luc Teirlinck
2004-12-16  4:51           ` Luc Teirlinck
2004-12-17  0:54           ` Richard Stallman
2004-12-17  5:41             ` Luc Teirlinck
2004-12-17 13:20               ` Kim F. Storm
2004-12-20 10:56               ` Richard Stallman
2004-12-21  0:48                 ` Luc Teirlinck
2004-12-23  0:53                 ` Luc Teirlinck
2004-12-25 15:13                   ` Richard Stallman
2004-12-26  2:31                     ` Luc Teirlinck
2004-12-14  4:14 ` Luc Teirlinck
2004-12-04  1:53 Lennart Borgman
2004-12-04 23:35 ` Lennart Borgman
2004-12-05 21:52   ` Richard Stallman
2004-12-06  0:24     ` Luc Teirlinck
2004-12-06 14:10       ` Richard Stallman
2004-12-07  2:40         ` Luc Teirlinck
2004-12-08  4:40           ` Richard Stallman
2004-12-06  2:56     ` Luc Teirlinck
2004-12-07  4:23       ` Richard Stallman
2004-12-05 15:50 ` John Paul Wallington
2004-12-05 17:07   ` Lennart Borgman
2004-12-05 17:33     ` Luc Teirlinck
2004-12-05 22:07       ` Lennart Borgman
2004-12-06  0:46         ` Luc Teirlinck
2004-12-06  1:21           ` Lennart Borgman
2004-12-06  4:02             ` Luc Teirlinck
2004-12-06 13:04               ` Stefan
2004-12-06 18:34                 ` Luc Teirlinck
2004-12-06 18:54                   ` Stefan Monnier
2004-12-06 21:53                     ` Lennart Borgman
2004-12-07  2:34                       ` Luc Teirlinck
2004-12-07  9:39                         ` Kim F. Storm
2004-12-07  3:27                       ` Luc Teirlinck
2004-12-07  2:56                     ` Luc Teirlinck
2004-12-08  4:40                       ` Richard Stallman
2004-12-07  3:50                     ` Luc Teirlinck
2004-12-07  4:23               ` Richard Stallman
2004-12-07  5:39                 ` Luc Teirlinck
2004-12-08  0:44                   ` Lennart Borgman
2004-12-08  4:35                     ` Luc Teirlinck
2004-12-08 17:52                       ` Lennart Borgman
2004-12-08  4:42                     ` Juri Linkov
2004-12-08 13:27                       ` Juri Linkov
2004-12-08 17:52                         ` Lennart Borgman
2004-12-08 18:04                           ` Stefan Monnier
2004-12-08 19:56                             ` Lennart Borgman
2004-12-08 20:20                               ` Stefan Monnier
2004-12-08 22:16                                 ` Lennart Borgman
2004-12-08  4:40                   ` Richard Stallman
2004-12-09  2:20                     ` Luc Teirlinck
2004-12-09  2:24                       ` Luc Teirlinck
2004-12-09 22:06                       ` Richard Stallman
2004-12-10  5:54                         ` Juri Linkov
2004-12-10 15:51                           ` Lennart Borgman
2004-12-10 17:05                             ` Stefan Monnier
2004-12-10 18:36                               ` Lennart Borgman
2004-12-10 20:40                                 ` Stefan Monnier
2004-12-11  1:00                                   ` Lennart Borgman
2004-12-11  3:38                                   ` Luc Teirlinck
2004-12-11  3:56                                   ` Luc Teirlinck
2004-12-11  4:11                                   ` Luc Teirlinck
2004-12-13  3:49                                   ` Luc Teirlinck
2004-12-13  9:01                                     ` Juri Linkov
2004-12-13 15:55                                       ` Luc Teirlinck

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).