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:08:28 +0800 Message-ID: <87y2ao53qb.5.fsf@jidanni.org> References: <87y2aool7h.5.fsf@jidanni.org> <8335swk4rz.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="21528"; 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:09:10 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 1lzYpy-0005Nn-2j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 08:09:10 +0200 Original-Received: from localhost ([::1]:46072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzYpx-0008AY-4U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 02:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzYpq-00088s-OV for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzYpq-0007uQ-HR for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzYpq-0000Gh-BD for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2021 02:09:02 -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:09:02 +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.1625292519997 (code B ref 49330); Sat, 03 Jul 2021 06:09:02 +0000 Original-Received: (at 49330) by debbugs.gnu.org; 3 Jul 2021 06:08:39 +0000 Original-Received: from localhost ([127.0.0.1]:37787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzYpS-0000G1-Ln for submit@debbugs.gnu.org; Sat, 03 Jul 2021 02:08:38 -0400 Original-Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:26362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzYpP-0000Fr-7Z for 49330@debbugs.gnu.org; Sat, 03 Jul 2021 02:08:37 -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 35E79122220; Sat, 3 Jul 2021 06:08:34 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a36.g.dreamhost.com (100-96-16-83.trex-nlb.outbound.svc.cluster.local [100.96.16.83]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BE7C5122143; Sat, 3 Jul 2021 06:08:33 +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.16.83 (trex/6.3.3); Sat, 03 Jul 2021 06:08:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Slimy-Bored: 20a999aa25463e41_1625292513994_3861755137 X-MC-Loop-Signature: 1625292513994:3251076809 X-MC-Ingress-Time: 1625292513994 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 6956B82D98; Sat, 3 Jul 2021 06:08:33 +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=MC591T4+jqAU1AzuHuqhdIYGjHs=; b=ZYAjp+A6OtvxA xfBVffTgpnCvVYI+VtJXZwWgoB/ER/HN+ke8aZwEijqnoQmwvFPsH/3xQuuwVRK3 okwsB4SPRehH3cSZIOXPAiUTVnpT7Q9HbdQWtLUB94LQCMKC3Cb9l8vHbLL3XXI9 TEvtpgoAP68zmOELW9hhkdjRUfL6IY= 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 D76197F142; Sat, 3 Jul 2021 06:08:32 +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:209344 Archived-At: >>>>> "EZ" == Eli Zaretskii 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)))))