From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#49330: Customization buffer should also offer printing code snippets Date: Sat, 03 Jul 2021 14:38:41 +0800 Message-ID: <87r1gf6gwe.5.fsf@jidanni.org> References: <87y2aool7h.5.fsf@jidanni.org> <8335swk4rz.fsf@gnu.org> <87y2ao53qb.5.fsf@jidanni.org> <83sg0vj4g5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35662"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49330@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 03 08:39:30 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzZJJ-000959-WB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 08:39:30 +0200 Original-Received: from localhost ([::1]:56242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzZJH-0008GO-TT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 02:39:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzZIv-0008Fp-CF for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:39:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzZIs-000799-2S for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:39:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzZIr-0000zo-U3 for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:39:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y2aool7h.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jul 2021 06:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49330 X-GNU-PR-Package: emacs Original-Received: via spool by 49330-submit@debbugs.gnu.org id=B49330.16252943323813 (code B ref 49330); Sat, 03 Jul 2021 06:39:01 +0000 Original-Received: (at 49330) by debbugs.gnu.org; 3 Jul 2021 06:38:52 +0000 Original-Received: from localhost ([127.0.0.1]:37821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzZIi-0000zQ-4Y for submit@debbugs.gnu.org; Sat, 03 Jul 2021 02:38:52 -0400 Original-Received: from bumble.maple.relay.mailchannels.net ([23.83.214.25]:48209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzZIf-0000zF-Gb for 49330@debbugs.gnu.org; Sat, 03 Jul 2021 02:38:50 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4B5D7321F09; Sat, 3 Jul 2021 06:38:48 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (100-96-27-210.trex.outbound.svc.cluster.local [100.96.27.210]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1C127321BD9; Sat, 3 Jul 2021 06:38:47 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.27.210 (trex/6.3.3); Sat, 03 Jul 2021 06:38:48 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Company-Juvenile: 67ad8fd541091fbc_1625294328154_452885631 X-MC-Loop-Signature: 1625294328154:1846321320 X-MC-Ingress-Time: 1625294328154 Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTP id A29B682D99; Sat, 3 Jul 2021 06:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=vLj3xbQ9BOzf8oFg9madO0zcsu8=; b=h/DfK6xxGr527 bI95KYZQH8gSnu6L0ZELeXfwsJnBrgIF0yMBdDYXKmexoJdL7ERURk90e0mbbTgx N6wxKsIvtYFi7Q32loarGZz9bH1ir+AxQ/lR+IJqP8Fpae0wf7LvCNb/g5ePL9g0 F+zXUrpm3k8XiXtlAkm/vElNYV4Fqs= Original-Received: from jidanni.org (36-234-69-177.dynamic-ip.hinet.net [36.234.69.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a36.g.dreamhost.com (Postfix) with ESMTPSA id 17B2C82D98; Sat, 3 Jul 2021 06:38:45 +0000 (UTC) X-DH-BACKEND: pdx1-sub0-mail-a36 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209349 Archived-At: >>>>> "EZ" == Eli Zaretskii 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 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. 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."