unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Corwin Brust <corwin@bru.st>,
	"xenodasein@tutanota.de" <xenodasein@tutanota.de>
Cc: "tomas@tuxteam.de" <tomas@tuxteam.de>,
	Emacs developers <emacs-devel@gnu.org>
Subject: RE: [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA
Date: Mon, 10 Jan 2022 19:20:20 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488FCB153B6709ABC347851F3509@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <CAJf-WoSzLGe+=c_u_rz8u88skmAJLuqx87wuQAtpEj7hBLH0ug@mail.gmail.com>

> I would very much prefer to be able to use a single file to contain my
> hand-coded configurations as well as to save customizations.

There's been some misinterpretation, if not
misinformation, about what's actually been
proposed.

Nothing, in what's been proposed, would
prevent anyone from using only their init
file, i.e., continuing to have Customize
save settings to their init file.

[And nothing would prevent someone who
 loads `custom-file' already from loading
 it from wherever, whenever s?he likes, and
 as many times as s?he likes.  You didn't
 mention that need, but I mention it because
 this was another misunderstanding some
 introduced here.]

> I found this a very comfortable way to build an emacs configuration
> without understanding elisp over decades.

Yes, indeed.

> During the last couple of years I have learned more elisp (yay, fun!)
> and I don't find any frustration having to set up my custom-file
> explicitly, now that this is something I prefer doing.

Ditto.  I used to use only my init file, and
at some point I started using `custom-file'.

[In my case, I even load `custom-file' twice
 from my init file.  Getting the same effect
 without using a separate `custom-file' could
 be done, but would be tricky and somewhat
 error-prone.]

Or did you mean the opposite?  By "set up my
custom-file explicitly" did you instead mean
set your customizations in my init file, and
let Customize add customizes there?

> During the "middle years", I knew enough to configure a fresh emacs by
> retyping a minimum set of elisp into a .emacs file to get myself
> started from a fresh install.  (I didn't really understand how this
> code I was typing worked, I just knew it made emacs easier for me to
> use.)

Yes!  I tried to make the point that some
users do exactly that.  That counters the
notion that only knowledgeable users add or
edit code in their init files.  Init files
are for everyone, including novices.

> Once my .emacs was created on the newly setup system I would
> use customize to amend the configuration as I used the editor.

Sounds good.

> From that point, I would migrate my configuration from machine to machine
> until I somehow lost the .emacs file, at which point the process would
> start over.
> 
> Placing customized output into the .emacs file meant I had only one
> file to keep track, trying to keep my 'live configuration settings"
> going.

Yes, that can be a definite advantage in some
such situations.

> I didn't find the mixture of hand and machine authored code in my
> configuration file unexpected.   In fact, I consider that most
> programs with a "control panel" seem to work this way:   if I manually
> edit the rc files that work.  If I use the GUI the program updates my
> rc files for me.   In this light, I see the present approach
> (supporting a single .emacs file with all config/customizations in) as
> rather more elegant and showcasing Emacs' expert manipulation of my
> files.

OK.

> Emacs is one of the only programs I trust to edit files for me
> 
> In any case, I would discourage efforts to complicate the minimum set
> of user-space files required to effect a combination of configuration
> and customizations.   I hope that additional understanding of Emacs
> would not be required to reenable this behavior if my perspective
> isn't common among emacs users.

If you mean re-enable having Customize save
to your init file, then no.  No special
understanding would be needed.  You'd just
explicitly set variable `custom-file' to
your init file (or to nil).

> Finally, it's unclear to me where the level of zeal
> toward changing the current behavior is coming from.

I'm not sure there's any zeal in that
direction.

I proposed the change, and I've tried to
give reasons supporting it, replying to
(sometimes zealous) opposition to the
proposal.  I'm pretty tired of replying,
but I've continued to make an effort.
(I did take the weekend off.)

I don't think I've been zealous about our
making such a change.  But I have tried to
be attentive to answering arguments others
have made.

IOW, it's really not a big deal to me
whether Emacs makes such a change.  I think
it would be helpful if it did, but I won't
cry if it doesn't. In fact (as I've said),
I don't expect Emacs will make such a change.

And I don't need the change for my own
benefit.  Whether I use `custom-file' or
not is irrelevant.  (I use it, but that
doesn't matter at all.)

> I can understand that people may
> well not share my view.   I don't understand the
> sense of urgency and supercilious tone.

I don't think my own tone has been supercilious.

Nor have I expressed any sense of urgency.
In fact, I've made the same proposal (but
without specifying details) in the past -
years ago, and perhaps more than once over
the decades.  It's not as if I've suddenly
come up with this idea and insisted that
Emacs must make such a change immediately.

The point in mentioning the saga of
`transient-mark-mode' is that sometimes it
takes a long time, and perhaps more than
one discussion, for a change to be made.

I'm glad this `custom-file' thing is being
discussed now, even if no change comes from
it.

Why?  For one thing, because I'm sure that
some users who are completely unaware of
`custom-file' will start to use it.  And
for another thing, even if `custom-file'
doesn't get used by default anytime soon,
this discussion might contribute to such a
change being made sometime in the future.

> Perhaps I can ask those who strongly disagree
> with my perspective to also share personal stories of how their
> proposed changes would have improved their own use of Emacs over the
> years.

I don't disagree with your perspective at
all.  Your perspective about your personal
use, and all that you say about it, makes
sense to me.

My summary of the main argument for the proposal:

1. Separate files by default is a better
design, in the abstract.

That is, if we hadn't used the same file by
default for decades then I think there'd be
pretty widespread agreement that the design
should be separate files by default.

(The discussion has borne this out, so far.
Even forceful opponents of making the change
have admitted that IF we were starting from
scratch THEN separate files would make more
sense.)

2. All a user would need to do, to get back
the current behavior, would be to explicitly
set `custom-file' to the init file (or nil).
___

More has been argued, but that about sums it
up.  The benefit is a better default behavior.
The cost is that some users would need to add
a `setq' to their init file.

(Which users?  Not necessarily everyone who
today lets Customize save to their init file
will want or need to add that `setq'.  Some
will do so.)

  parent reply	other threads:[~2022-01-10 19:20 UTC|newest]

Thread overview: 157+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03  6:13 Default custom file was: Re: Propose to add setup-wizard.el to ELPA Pedro Andres Aranda Gutierrez
2022-01-03 14:47 ` Robert Pluim
2022-01-04  6:13   ` Pedro Andres Aranda Gutierrez
2022-01-04  6:45     ` tomas
2022-01-04  7:29       ` Stefan Kangas
2022-01-04 10:10         ` tomas
2022-01-04 16:44           ` [External] : " Drew Adams
2022-01-04 17:09             ` tomas
2022-01-04 17:30               ` Drew Adams
2022-01-04 18:03                 ` tomas
2022-01-04 18:27                   ` Drew Adams
2022-01-04 18:41                     ` tomas
2022-01-05  9:14                   ` Stefan Kangas
2022-01-04 16:44       ` Drew Adams
2022-01-04  7:14     ` Stefan Kangas
2022-01-04 10:11       ` Robert Pluim
2022-01-04 10:30         ` Po Lu
2022-01-04 10:46           ` Robert Pluim
2022-01-04 10:59             ` Po Lu
2022-01-04 13:02               ` Robert Pluim
2022-01-04 11:11         ` Stefan Kangas
2022-01-04 12:23           ` LdBeth
2022-01-04 16:44         ` [External] : " Drew Adams
2022-01-04 13:08       ` Eli Zaretskii
2022-01-04 15:17         ` Stefan Kangas
2022-01-04 15:48           ` Robert Pluim
2022-01-04 15:57             ` Pedro Andres Aranda Gutierrez
2022-01-04 15:54           ` Pedro Andres Aranda Gutierrez
2022-01-04 16:44         ` [External] : " Drew Adams
2022-01-04 16:49           ` Robert Pluim
2022-01-04 17:14             ` Drew Adams
2022-01-04 17:32               ` Pedro Andres Aranda Gutierrez
2022-01-04 17:45                 ` Drew Adams
2022-01-04 17:55                 ` Robert Pluim
2022-01-04 18:24                   ` Pedro Andres Aranda Gutierrez
2022-01-04 17:30             ` Eli Zaretskii
2022-01-04 17:35               ` Pedro Andres Aranda Gutierrez
2022-01-04 17:47                 ` Eli Zaretskii
2022-01-04 17:57                   ` Robert Pluim
2022-01-05  9:14                     ` Stefan Kangas
2022-01-05  1:01             ` Po Lu
2022-01-05  7:03               ` Pedro Andres Aranda Gutierrez
2022-01-05  7:10                 ` Pedro Andres Aranda Gutierrez
2022-01-05  7:22                 ` Po Lu
2022-01-05  7:47                   ` Drew Adams
2022-01-05  7:59                     ` Po Lu
2022-01-05  9:17                       ` LdBeth
2022-01-05  9:26                         ` Robert Pluim
2022-01-05 10:54                           ` Colin Baxter 😺
2022-01-05 11:24                             ` Po Lu
2022-01-05 11:45                             ` Pedro Andres Aranda Gutierrez
2022-01-05 12:09                               ` Colin Baxter 😺
2022-01-05 13:04                               ` Po Lu
2022-01-05 19:10                                 ` Drew Adams
2022-01-05 19:02                               ` Drew Adams
2022-01-05 19:13                                 ` Eli Zaretskii
2022-01-05 19:36                                   ` Drew Adams
2022-01-05  9:35                         ` Po Lu
2022-01-05  9:58                           ` Pedro Andres Aranda Gutierrez
2022-01-05 10:58                             ` xenodasein--- via Emacs development discussions.
2022-01-05 12:09                           ` LdBeth
2022-01-05 12:57                             ` Po Lu
2022-01-05 13:06                         ` Eli Zaretskii
2022-01-05 15:58                           ` Pedro Andres Aranda Gutierrez
2022-01-06  0:37                             ` Po Lu
2022-01-06  7:21                               ` Pedro Andres Aranda Gutierrez
2022-01-06  7:23                                 ` Po Lu
2022-01-06  7:33                                   ` Pedro Andres Aranda Gutierrez
2022-01-06  7:39                                     ` Po Lu
2022-01-06  8:58                                   ` Eli Zaretskii
2022-01-06  9:40                                     ` Po Lu
2022-01-06  9:45                                       ` Robert Pluim
2022-01-06 12:28                                         ` Colin Baxter 😺
2022-01-06 17:20                                           ` Drew Adams
2022-01-06 17:19                                     ` Drew Adams
2022-01-06 20:11                                       ` Tim Cross
2022-01-06 22:09                                         ` Drew Adams
2022-01-06 22:33                                           ` Tim Cross
2022-01-07  4:05                                             ` Drew Adams
2022-01-07  7:13                                               ` Tim Cross
2022-01-07 17:18                                                 ` Drew Adams
2022-01-08  0:29                                                   ` Tim Cross
2022-01-10 22:01                                                     ` Drew Adams
2022-01-11  6:23                                                       ` Tim Cross
2022-01-11 12:01                                                         ` xenodasein--- via Emacs development discussions.
2022-01-11 12:10                                                           ` Po Lu
2022-01-11 12:25                                                             ` xenodasein--- via Emacs development discussions.
2022-01-11 12:42                                                               ` tomas
     [not found]                                                                 ` <dbc302f1-a769-24d4-294d-e291b015229b@mnet-mail.de>
     [not found]                                                                   ` <Yd2W5BaccjjbJ6+q@tuxteam.de>
2022-01-11 15:23                                                                     ` xenodasein--- via Emacs development discussions.
     [not found]                                                                       ` <Yd2kAPRoYd37qCaN@tuxteam.de>
2022-01-11 16:05                                                                         ` xenodasein--- via Emacs development discussions.
2022-01-11 16:11                                                                           ` tomas
2022-01-12  0:46                                                               ` Po Lu
2022-01-11 12:35                                                           ` Tim Cross
2022-01-11 15:05                                                             ` xenodasein--- via Emacs development discussions.
2022-01-11 20:57                                                               ` Tim Cross
2022-01-11 13:27                                                           ` Jean Louis
2022-01-07  0:52                                           ` Po Lu
2022-01-07  4:09                                             ` Drew Adams
2022-01-07  4:46                                               ` Po Lu
2022-01-07  5:58                                                 ` Drew Adams
2022-01-07  7:04                                                   ` Po Lu
2022-01-07 18:06                                                     ` Drew Adams
2022-01-08  0:54                                                       ` Po Lu
2022-01-08  3:13                                                         ` LdBeth
2022-01-08  3:26                                                           ` Po Lu
2022-01-08  7:19                                                           ` Eli Zaretskii
2022-01-08 13:32                                                             ` Add list of useful settings to setup wizard was: Re: Default custom file LdBeth
2022-01-08 14:12                                                               ` Eli Zaretskii
2022-01-08 14:50                                                                 ` LdBeth
2022-01-08 14:39                                                               ` Stefan Kangas
2022-01-08 15:30                                                                 ` LdBeth
2022-01-08 15:05                                                               ` John Yates
2022-01-08  8:03                                                         ` [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA tomas
2022-01-08  9:38                                                           ` Po Lu
2022-01-08 10:39                                                             ` xenodasein--- via Emacs development discussions.
2022-01-08 11:14                                                               ` Po Lu
2022-01-08 12:35                                                                 ` xenodasein--- via Emacs development discussions.
2022-01-08 12:44                                                                   ` Po Lu
2022-01-08 12:59                                                                     ` xenodasein--- via Emacs development discussions.
2022-01-08 13:16                                                                       ` Po Lu
2022-01-08 13:24                                                                         ` xenodasein--- via Emacs development discussions.
2022-01-08 13:33                                                                           ` Po Lu
2022-01-08 13:44                                                                             ` xenodasein--- via Emacs development discussions.
2022-01-08 14:32                                                                               ` tomas
2022-01-08 14:46                                                                                 ` xenodasein--- via Emacs development discussions.
2022-01-08 17:17                                                                                   ` Corwin Brust
2022-01-08 18:26                                                                                     ` xenodasein--- via Emacs development discussions.
     [not found]                                                                                       ` <MtgbBbx--B-2@tutanota.de>
     [not found]                                                                                         ` <MtqtDSN--3-2@tutanota.de>
2022-01-20 14:25                                                                                           ` Corwin Brust
2022-01-10 19:20                                                                                     ` Drew Adams [this message]
2022-01-09  0:48                                                                               ` [External] : " Po Lu
2022-01-08 13:35                                                                           ` =?gb18030?B?u9i4tKO6IFtFeHRlcm5hbF0gOiBSZTogRGVmYXVsdCBjdXN0b20gZmlsZSB3YXM6IFJlOiBQcm9wb3NlIHRvIGFkZCBzZXR1cC13aXphcmQuZWwgdG8gRUxQQQ==?= =?gb18030?B?emVyb2xlZQ==?=
2022-01-08 14:28                                                                       ` [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA tomas
2022-01-08 14:48                                                                         ` xenodasein--- via Emacs development discussions.
2022-01-08 11:42                                                               ` tomas
2022-01-08 12:28                                                                 ` xenodasein--- via Emacs development discussions.
2022-01-10 19:17                                                           ` Drew Adams
2022-01-10 22:02                                                         ` Drew Adams
2022-01-12  4:55                                                           ` Richard Stallman
2022-01-12  8:58                                                             ` xenodasein--- via Emacs development discussions.
2022-01-12 13:18                                                               ` Eli Zaretskii
2022-01-12  5:09                                                           ` Po Lu
2022-01-07  0:49                                       ` Po Lu
2022-01-07  4:09                                         ` Drew Adams
2022-01-07  4:42                                           ` Po Lu
2022-01-07  6:38                                             ` Pedro Andres Aranda Gutierrez
2022-01-07  8:43                                               ` Robert Pluim
2022-01-07  9:38                                                 ` Pedro Andres Aranda Gutierrez
2022-01-07 17:17                                                 ` Drew Adams
2022-01-07 17:12                                               ` Drew Adams
2022-01-06 17:19                                   ` Drew Adams
2022-01-07  0:48                                     ` Po Lu
2022-01-07  4:09                                       ` Drew Adams
2022-01-07  6:18                                         ` tomas
2022-01-07 18:06                                           ` Drew Adams
2022-01-06 16:17                                 ` Drew Adams
2022-01-05  7:43                 ` Drew Adams
2022-01-04 16:43     ` Drew Adams

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=SJ0PR10MB5488FCB153B6709ABC347851F3509@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=corwin@bru.st \
    --cc=emacs-devel@gnu.org \
    --cc=tomas@tuxteam.de \
    --cc=xenodasein@tutanota.de \
    /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).