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 #14 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:29:14 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 49330 <at> debbugs.gnu.org
> Date: Sat, 03 Jul 2021 14:08:28 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> EZ> What is that "code snippet" that you'd like to see?  If you want to
> EZ> see the effect of customizing the face, then the Customize Face buffer
> EZ> includes a "[sample]" part, which dynamically shows the results of
> EZ> your customizations.
> 
> Yes, but that "sample" is not code.
> 
> Here is a standalone code snippet:
> (custom-set-faces
>  '(hl-line ((t (:underline t)))))

You mean, what Emacs will write into the init file to save your
customizations?  Why is that needed?  If you want to customize your
faces in Lisp, the recommended way is to use set-face-attribute
instead, not custom-set-faces.




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.