From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.bugs Subject: bug#58282: Distinguishing glasses-mode display Date: Tue, 4 Oct 2022 16:52:44 +0200 Message-ID: References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 58282@debbugs.gnu.org To: uzibalqa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 17:24:58 2022 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 1ofjn0-0002s0-HL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 17:24:58 +0200 Original-Received: from localhost ([::1]:57162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofjmz-0001Vo-Hn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 11:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofjI6-0002AV-Gb for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 10:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofjI6-0000bi-6z for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 10:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofjI5-0000iT-OQ for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 10:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Dimech Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 14:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58282 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 58282-submit@debbugs.gnu.org id=B58282.16648951762739 (code B ref 58282); Tue, 04 Oct 2022 14:53:01 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 14:52:56 +0000 Original-Received: from localhost ([127.0.0.1]:54934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofjI0-0000i7-AE for submit@debbugs.gnu.org; Tue, 04 Oct 2022 10:52:56 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:40369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofjHx-0000hs-Nv for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 10:52:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664895164; bh=j1O/EXyZJ9BQsbeCcdnUhtG7ZA78Dti8331OK44IUtA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=B8n6ImOhOFmf3XaCIXYfUdwP5Tq33pmaIKQ6dQjeRUc8DZMizzVuHAMX9s/48Bueh Emv52+8gyLMraCfwk1EZ3/24hdVyw7nphyH6V02M9euQDi2NHhEDpYXHmo/KUrGcyG 3IGezma1q3CFga05NFVx4RiHgwClHsaaySElsDY0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Tue, 4 Oct 2022 16:52:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:4UrNgRMUV1iyYlClp5Cyq3A90B+DHp1Dz8itH5OhUv7MiLFuLe4vs4NL5MApAMdpCy+NZ 4m6u77SjVTe0W0ZeO+vkhm6dB784O6/fqrTOQ/F07QOEKVNSRiGO8eN6ACc7Qck/2beC0JgNvQr8 nQZsKKZ7V+Uzilw9/uVL0dWfPsVPzHYrMxVYXGkHF/lpWbzF2UqBWS37EPUPwfqJsRydV/SIyVCc jEekp77sB19qyVxdV+cjeAZRmZG6gO+ZQNGq6F+owltQvujfbemAM4Jppxoyx81p8hMZ3DGjzXk2 SM= X-UI-Out-Filterresults: notjunk:1;V03:K0:xYo/g/hBxU8=:B74zL3R2AlxGbhTBGa6/EG hwHt+Ahs3xM9XyvAANnZk3aSFVQkiE/5DB8saxWL7bRGyalzC/+i7S5T3NYcoTWwVu6vI2HrN OMVRab3ykS6Uadb0ZRgEIKGNAv7baDZzdkas48aW8F0/W99/7BC1bWNgDvHCCwlHO9vBQKVou M9NhFBGa74Jj8NAdeV3aEqDvns6WnA1K499o5hGsA45KSR9lV7rBr7FRfX8/4Mli2AhmjIjl6 QHqoODhgknCDDBLncVgnu/2OC5JIUgHaVTCZpGp0q1a8kJlkCmlz/ma4kvzB55CAa0Sly7NnS 3E72or3Mx8yjr6RWPQf5lIynGH0B9jVD0gttUSISd5e/zV8GAnXFoRor18DBNkoTa+aHRw6GC 4GWmyZ101vQzvTqQBf2+oqiOYcHbPNVLh0kD4jR/rVpIH21FZvKdPTstE+O3hqKZ9BjXLgxJM IDlpU7DfG9c6FKlFO5KmIz9lWeCE+mI4QQXg6ynj1tjCe7j0pMvTdVnNfzZkarA3Bbf2GCP5R J3LCeOksOc0hr0QsGzderJf4r7PRIEjBsu0cu/VmtsDUmg/In++Y6U1In9rZvAYtwX/6GuXPj bpdYrpTyVnlxUIRxMKtdDKnpnSuxBBkkJIZ6TV6+wSXHen/Z3ln/u6Lr8YSx4pkx2TVo7fh6l 7lCYtyFifRq8qMdoCjRzlle+9Wq4R58cC3mewdTa5eh6X54U9tIxOb67nyFGPHfz4tyKMmNIT yzO2S4B0jjIJKIJRkshcR0r0om81EDhiF09uozFABUk7lVmbOfeCtHCp9c5IjNhXWWSeDR2k 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:244444 Archived-At: > Sent: Wednesday, October 05, 2022 at 2:46 AM > From: "uzibalqa" > To: "Eli Zaretskii" > Cc: "Christopher Dimech" , 58282@debbugs=2Egnu=2Eorg > Subject: Re: bug#58282: Distinguishing glasses-mode display > > ------- Original Message ------- > On Tuesday, October 4th, 2022 at 12:43 PM, Eli Zaretskii wrote: >=20 >=20 > > > From: Christopher Dimech dimech@gmx=2Ecom > > > Cc: uzibalqa uzibalqa@proton=2Eme, 58282@debbugs=2Egnu=2Eorg > > > Date: Tue, 4 Oct 2022 13:47:33 +0200 > > >=20 > > > > I think we have this already: customize glasses-face to some disti= nct > > > > face, like 'bold'=2E Then the capital letters of identifiers where > > > > glasses=2Eel inserted underscores will be shown in bold, and you c= an > > > > visually distinguish them from the original underscores=2E > > >=20 > > > Because I use bold font the default does not work for me=2E > >=20 > >=20 > > ??? What default? The default is that glasses-face is just nil, so no > > special face is put on any parts of the identifiers=2E 'bold' was just > > an example of a non-default face; you can use any face there=2E > >=20 > > > I want to make the changes in my init file=2E How can I change the > > > foreground and background colour of the glasses matches? > >=20 > >=20 > > You can't=2E This face is not about changing the matches, it is about > > changing the appearance of the capital letters in identifiers where > > glasses-mode adds the separator (which is underscore _ by default) > >=20 > > > Is it possible for users to use a UTF8 Code as separator, and if so, > > > how can this be done? > >=20 > >=20 > > Customize the variable glasses-separator=2E (This has nothing to do > > with the original bug report, though=2E) >=20 > How can I change the colour of the capital letters or use utf8 using > elisp commands? =20 =20 You could just do=20 (setq glasses-separator "=E2=9E=BE") with the character being a utf8 symbol=2E