GNU bug report logs - #49330
Customization buffer should also offer printing code snippets

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 2 Jul 2021 15:55:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 49330 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 49330 <at> debbugs.gnu.org
Subject: Re: bug#49330: Customization buffer should also offer printing code
 snippets
Date: Sat, 03 Jul 2021 09:49:18 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 49330 <at> debbugs.gnu.org
> Date: Sat, 03 Jul 2021 14:38:41 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> EZ> You mean, what Emacs will write into the init file to save your
> EZ> customizations?
> 
> Yes.
> 
> EZ> Why is that needed?
> 
> So the user can be in full control. RMS knows the feeling.

The user _is_ in control, you are just annoyed by the way this can be
done now.

> The user wants a piece of code that he can stick into his .emacs,
> safe from having to fight with a robot on who can edit a file.
> The user wants to put it into a file that only he is editing.

See the variable custom-file, through which you can control into which
file Emacs will write the customization form when you click Save.

> EZ> If you want to customize your
> EZ> faces in Lisp, the recommended way is to use set-face-attribute
> EZ> instead, not custom-set-faces.
> 
> OK, good. then have the snippet be a set-face-attribute snippet.
> 
> The documentation would be: "Here is a snippet you can paste into your
> .emacs file manually, if you don't feel comfortable allowing the robot
> maintain your customizations."

Sounds like too much effort for very little gain to me.




This bug report was last modified 4 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.