From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58282: Distinguishing glasses-mode display Date: Tue, 04 Oct 2022 12:27:36 +0000 Message-ID: References: <83h70kvyyp.fsf@gnu.org> Reply-To: uzibalqa 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="24869"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 58282@debbugs.gnu.org To: Christopher Dimech Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 14:28:21 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 1ofh25-0006K8-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 14:28:21 +0200 Original-Received: from localhost ([::1]:57702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofh24-0001lB-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 08:28:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofh1m-0001jX-Rx for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofh1m-00071e-Je for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofh1m-0006rw-Fh for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 12:28:02 +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.166488646726368 (code B ref 58282); Tue, 04 Oct 2022 12:28:02 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 12:27:47 +0000 Original-Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofh1X-0006rD-BZ for submit@debbugs.gnu.org; Tue, 04 Oct 2022 08:27:47 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:55433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofh1V-0006r1-Q8 for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 08:27:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664886459; x=1665145659; bh=sk+eZZQcoaNAV+2Tj1luUS6TDBM3voR+E1OwbAVszcA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=eCh3Mzfayiq4RRIqIgHr5p58NpTRn1EXCPtPXN+KehaIiuFvbaO0OgSZLs0W4fTGl QUIUDuLHXSZA+RWfFewqTJYdZ4Kk1Op5KsDaAaiJbO7zaOyc66z+VvPiPo7IJMMAG2 muONnh74Dr6jp5QktPmKfBgnHgrQ8+rWcaOiLZ6wrh6XkvhhgjAwkcLN3+x20TjiXG uqHCuEt81AptOzK0E5xb6boWvs0T9fepZFNFO4/gTuPHYWPkQMvC0FGCVca9vzPU8L K2lpnJucmxl/OgRbHznUa+GkfjuPe6qlIWXRjfhaHePJivAWpwkB1Ll+3XJvWxpZx0 caDTmpmTJ0c7w== In-Reply-To: Feedback-ID: 52887082:user:proton 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:244421 Archived-At: ------- Original Message ------- On Tuesday, October 4th, 2022 at 11:47 AM, Christopher Dimech wrote: > > Sent: Tuesday, October 04, 2022 at 7:18 PM > > From: "Eli Zaretskii" eliz@gnu.org > > To: "uzibalqa" uzibalqa@proton.me > > Cc: 58282@debbugs.gnu.org > > Subject: bug#58282: Distinguishing glasses-mode display > >=20 > > > Date: Tue, 04 Oct 2022 03:36:34 +0000 > > > From: uzibalqa via "Bug reports for GNU Emacs, > > > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org > > >=20 > > > I am using "glasses-mode", but It is difficult to distinguish which w= ords get changed. For instance, if one has a mixture of CamelCase, Under_sc= ores one would not know which is modified and which is original. Particular= ly problematic when one is modifying the code. > > >=20 > > > Could "glasses-mode" be made in such way as to indicate that "glasses= -mode" changed its display, by default. > >=20 > > I think we have this already: customize glasses-face to some distinct > > face, like 'bold'. Then the capital letters of identifiers where > > glasses.el inserted underscores will be shown in bold, and you can > > visually distinguish them from the original underscores. >=20 >=20 > Because I use bold font the default does not work for me. I want to > make the changes in my init file. How can I change the foreground > and background colour of the glasses matches? Is it possible for users > to use a UTF8 Code as separator, and if so, how can this be done? =20 Being able to use unicode for separator would be valuable as the typeface can remain the same, whilst the separator would clearly indicate that the symbol used is not part of the original code.