GNU bug report logs -
#78822
28.2; Debian 12 GNU Emacs Custom custom-set-variables and init.el
Previous Next
To reply to this bug, email your comments to 78822 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78822
; Package
emacs
.
(Wed, 18 Jun 2025 02:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Barry Davidson <m4 <at> danwin1210.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 18 Jun 2025 02:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
I manually added in init.el, custom-set-variables:
`(backup-directory-alist
'(,(cons ".*" (concat user-emacs-directory "bkup/"))))
It worked well until I added some settings through Custom.
I added this through Customize interface, Custom wrote:
'(speedbar-highlight-face ((t (:background "yellow")))))
and Custom went and rewrote both custom-set-faces and
custom-set-variables and my manually added text was
replaced by:
'(backup-directory-alist '((".*" . "~/.emacs.d/bkup/")))
Is it a bug or intended feature?
There is some ambiguous information on the web about init.el,
therefore the question I have is:
If my init file is byte-compiled, do I need to use
(eval '(setq ...
instead of
(setq ... ?
Thanks!
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.