unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49330: Customization buffer should also offer printing code snippets
@ 2021-07-02 14:16 積丹尼 Dan Jacobson
  2021-07-02 17:24 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-07-02 14:16 UTC (permalink / raw)
  To: 49330

The *Customize Face* buffer looks like:

  For help using this buffer, see Easy Customization in the Emacs manual.

  Operate on all settings in this buffer:
  Revert...   Apply   Apply and Save
  1^^^^^^^^^^^2^^^^^^^3^^^^^^^^^^^^^

OK, but add a fourth menu item:
"Print code snippet" or
"Just print code snippet" or just
"Print"!

Else currently one must
1. cp .emacs-custom.el /tmp
2. click "Apply and Save"
3. exit emacs #as we are about to replace a dot file it uses.
4. diff /tmp .emacs-custom.el #obtain the code snippet.
5. mv /tmp/.emacs-custom ~
6. restart emacs
Just to obtain the code snippet!

Let's compare
https://overpass-turbo.eu/s/177G
As you see, just like RMS wants:
code produced shown to the user,
and not need six whole steps to
"dig it back out and have a look".





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-08  8:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 14:16 bug#49330: Customization buffer should also offer printing code snippets 積丹尼 Dan Jacobson
2021-07-02 17:24 ` Eli Zaretskii
2021-07-03  6:08   ` 積丹尼 Dan Jacobson
2021-07-03  6:29     ` Eli Zaretskii
2021-07-03  6:38       ` 積丹尼 Dan Jacobson
2021-07-03  6:49         ` Eli Zaretskii
2021-07-04 14:02           ` Lars Ingebrigtsen
2021-07-08  8:03           ` 積丹尼 Dan Jacobson

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).