[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuration files vs customization
From: |
Jude DaShiell |
Subject: |
Re: Configuration files vs customization |
Date: |
Sat, 21 Jan 2023 12:24:40 -0500 |
I prefer configuration to customization since once a file is in place it's
shareable so if I get something wrong in configuration it can be checked
by other eyes. With customization especially in the case of the o-p,
there's no way possible to clean that up outside of customization and
likely no way for others to examine current state of customization and
give good advice on how to correct it to get things working.
Jude <jdashiel at panix dot com> "There are four boxes to be used in
defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
.
On Sat, 21 Jan 2023, Dr Rainer Woitok wrote:
> Greetings,
>
> in the course of my transition from XEmacs to Emacs I meanwhile have
> reached the point of getting Vm running under Emacs. But my first at-
> tempt utterly failed. After some experimenting and checking variable
> values with "C-h v" I came to the conclusion that at least in some vari-
> ables' descriptions the remark "You can customize this variable" really
> meant "You HAVE TO customize this variable".
>
> So eventually I removed everything customizable from my ".vm" configu-
> ration file and customized it instead. And then Vm worked as expected.
>
> Why is that? Do I have to use "defvar" rather than "setq" in my ".vm"
> configuration file to mark these variables as dynamically bound?
>
> Personally, I hate this clicky-clicky customization interface because it
> doesn't evaluate the values, even though function "custom-set-variables"
> provides an option to do so. Thus you can't use things like '(getenv
> "HOME")', '(getenv "HOST")' or '(cond ...)'. The lack of this flexibi-
> lity makes configuration rather tricky. And according to the comment
>
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
>
> function "custom-set-variables" writes into my "custom.el" file, putting
> a call to "custom-set-variables" together with the Vm specific customi-
> zation directly into configuration file ".vm" is not expected to work.
>
> So being forced to put more or less all application specific configura-
> tion into one big "custom.el" file which on top of all does only accept
> constants as values is quite a nuisance for me. Originally, having se-
> parate configuration files like ".vm" or ".gnus.el" had the purpose not
> to clutter one's "init.el" file and to save time when firing up Emacs
> without also starting Vm or Gnus.
>
> How do others solve these configuration problems?
>
> Sincerely,
> Rainer
>
>
- Configuration files vs customization, Dr Rainer Woitok, 2023/01/21
- Re: Configuration files vs customization,
Jude DaShiell <=
- Re: Configuration files vs customization, Thibaut Verron, 2023/01/21
- RE: [External] : Configuration files vs customization, Drew Adams, 2023/01/21
- Re: Configuration files vs customization, Tassilo Horn, 2023/01/21
- Re: Configuration files vs customization, Jean Louis, 2023/01/21
- Re: Configuration files vs customization, Eduardo Ochs, 2023/01/21