From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47686: Live preview of setting face color Date: Sat, 10 Apr 2021 13:49:15 +0200 Message-ID: References: Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12972"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) Cc: laszlomail@protonmail.com To: 47686@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 10 13:50:12 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 1lVC7w-0003E0-Ht for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 13:50:12 +0200 Original-Received: from localhost ([::1]:52490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVC7u-0002Jw-VK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Apr 2021 07:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVC7m-0002Je-7x for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 07:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVC7m-00046s-0b for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 07:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVC7l-00041c-VK for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 07:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2021 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47686 X-GNU-PR-Package: emacs X-Debbugs-Original-To: scame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: scame , 47686@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161805536915421 (code B ref -1); Sat, 10 Apr 2021 11:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Apr 2021 11:49:29 +0000 Original-Received: from localhost ([127.0.0.1]:51551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVC7F-00040f-6L for submit@debbugs.gnu.org; Sat, 10 Apr 2021 07:49:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVC7D-00040Y-Sh for submit@debbugs.gnu.org; Sat, 10 Apr 2021 07:49:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVC7D-0002Fu-Ia for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 07:49:27 -0400 Original-Received: from sonic302-20.consmr.mail.ir2.yahoo.com ([87.248.110.83]:45293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVC7B-0003lG-5R for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2021 07:49:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1618055358; bh=Vn2Cdoca4i5UkX8RelTW6DGV+W7/vDEsiYWScs0k/9s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=mWwFcrNaANOS0yokx9xQ8T7c/Z7aMZTIXD3Xrl+AJZ50lT9VXZDqqS4uvBBHfu3Qr9IhypOEoN7OKzDEeAP7LmII39UMtb4192GJocjQUFmU+OvQ3PcCl0tcVp2GxGZZx+N5kC7MNybnuutnvYOBMccHA3f0OuYSIdGUO9PBLRkptpEpWk0OBjkLDK+Elx3ysvUejC1n7h6fg8/yvnG2GJXvmXSjNNYOWU+rXYDc6dsBDtWI1X9WVcLiaPx+E1vJv8B54lXIA/HvZYXrusXvwWLbJTE78CVCr8Lrddd2WdjGc0zsFiobIasO5LMMet7P5johGhQPOnbzGavdXVv83Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1618055358; bh=Tx+d0MEfxn5Lu7fD2Xe+TyzXIevfcUwBIpbc2gVLh+X=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=V5jJUxQMwUV2Xq3BanQzps8xu03KVOpMW9oUBFEuiksGr20lFK4j/Yo97izX5M94xfe/8GpXI3Ohho7wLBilW17D3AWHQoe3vLLwEBRRJ1dPPvpkJ2z/YC6SKsAhJY8uBNy323wszUpOLKeWo1wGzBhttys8319Lm28FlYajzY9aHmXMqWQdpRMZg0tmluPPzZqvuagWSxX0QH20UGbkMpVxoiWDIy2F7a4HI1hNzB0BHOC2fQTY+keYJJfOjdU+RFNOXQjtkZ50M88ZAb7Ur077uQM8xYUKXqjl92wXMX2jfSSkYHVyE5q3kqR9VOUPiq3kR48llPY3vnEwRb8nmQ== X-YMail-OSG: Lx1dC68VM1m4XB.K8LAGnEiFmEI.AIBucR7ZZ3wueZ8EPmKVJvs38Jv7CNL4PnR 6gA_OU3QB0z4FqR5TJFnnOIClcLC8o1qtY4p3UNUFNp0489T0WFdYAj1QFh2KgnMCN6T0Fx9KeES cos7xE3FZ5m.iEvm0U7MrRFqppJyDS_rcQVEE_GZBhGc3nR95Uu_ZPd2whRIrlDysrkV4bZDwZ8n oIBsdixN4Tvu4GfGHB0npAsOW.xFf_IKOdDD9F2__3ybEZSBYSPF7HtT0nU3Vmq0mq_1lCNB6F_w fQ5rzwloGUk1HS9aStdyK9z3BZiV.uoShBqcahKQcQT16tGv4KB.JDFtBPzAluycpjSOf32uP1cc X8R7k51k7oOQfj0VWGsDVQqRKEzmm2eshhBiGaJG57MvdAdiqYxMe8Qa3mrhFYxA5Pw78l99Vskx FWsu7hHQcv.hgRlWrFPkYOr8kHmpW81zJ6U20Q8BmIdb2Lyb3K2Gd0UQgXCcajnsBBM9a.O3KZO2 YVmK8mJrAdWdb8XibNcCw7QGEivDlDjGHjLTg94BqPNcPi3pyGi2W8owVxYk91PWtybfyoU6S8ri 0KOhfDwHtfdz60_60PWwAtMokW2O6veFBWDjdQx1Uvrv0juQricvrpUPQgWKWzBQCbn6ET0oFD_V J_75BHh2Nj0_vvcdSnMEu1Ad_w9kUVlElLh70XVQ5K08eDGtitFG90DR4JwjmiX_h7yn..HjKFkY exj0hNz7qKx2kechBe4ZYPyv43L8Z3o0O0JAxIPF5dzEuzcrZ09Iu7j2i_j19rx17forfn0wv.E7 ta0O_CUCbliMWcp2W4VZpOp6CkUUx77.K5a4SIKyVz X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Sat, 10 Apr 2021 11:49:18 +0000 Original-Received: by kubenode539.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 784f7d85e08c9e815f7533331afe1874; Sat, 10 Apr 2021 11:49:16 +0000 (UTC) In-Reply-To: (scame via's message of "Sat, 10 Apr 2021 04:37:43 +0000") X-Mailer: WebService/1.1.18121 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Received-SPF: pass client-ip=87.248.110.83; envelope-from=mardani29@yahoo.es; helo=sonic302-20.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:203791 Archived-At: scame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > The other day I changed the color of a face and usually it's an > uncomfortable process, because only in the real context together with > other colors it shows how well the color works, the small sample text > is usually not enough. So it's choosing some some color, changing the > face color, going to the real context to see if it's right and > repeating until it is. > [...] > It works, but it occured to me it could be easy to add something like this to the *Colors* buffer > which I can get with M-x list-colors-display. > > That buffer does nothing by itself, just show colors, so keys could be bind for it to set face color: > > f - read a facename and set its foreground color on the fly as the user moves in the *Colors*buffer as seen on the gif above > b - the same for face background color > c - cancel the live preview and restore the face's colors > s - set the selected colors of face using customize > An alternative way to do what you want is the following: - Place the point on the desired text whose face you want to change. - M-x customize-face-other-window - Accept the default. For there, you can use the Customize interface to apply or revert changes and see the results in the other window, instantly.