From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58282: Distinguishing glasses-mode display Date: Tue, 04 Oct 2022 15:43:03 +0300 Message-ID: <83pmf7vjxk.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58282@debbugs.gnu.org, uzibalqa@proton.me To: Christopher Dimech Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 14:54:10 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 1ofhR3-0009Pd-9V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 14:54:09 +0200 Original-Received: from localhost ([::1]:54646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofhR2-0000pg-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 08:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhHI-0005vz-1j for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofhHG-0007M1-Oh for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofhHG-00013j-Jw for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 12:44: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.16648873974014 (code B ref 58282); Tue, 04 Oct 2022 12:44:02 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 12:43:17 +0000 Original-Received: from localhost ([127.0.0.1]:52874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofhGX-00012f-Dp for submit@debbugs.gnu.org; Tue, 04 Oct 2022 08:43:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofhGV-00012R-Nx for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 08:43:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhGO-0007GT-7r; Tue, 04 Oct 2022 08:43:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9iVmXuL3Tujw6y96XAaEijV9mYEmeRidekwE6PhU6KA=; b=CvC8UuvxyItC dcFs/QYv76bnX5707zp/up6Y6mmMv+gtybq/MxR+D0ozzZYqe0QQDz+98N6p6JPS6/D2CEaatwVcO eBsOEAgoLBv47cqXeSGCRgBkviIrTepiJJN0lTthM/QkF65lnu27n2DaVjszMBPQsI3aEiHAdIxAt 3+keKA+Jugqlz1n4tZMjIzAgPKlKa3ON6eoPsnIxxGj6d9V1rlesrJLgvYl4zIRs9konCYKzfQXbv ZWHyRcgucviCVmsi+l9BuzY9ZieHFlOkGz9EmLLIcyryq7t4vTFNmCHIfl1vDZuEkupBw2r97Zw0G 1/pb5WMK/NWgQDoYOlWFcQ==; Original-Received: from [87.69.77.57] (port=4981 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhGM-00071T-Dg; Tue, 04 Oct 2022 08:43:08 -0400 In-Reply-To: (message from Christopher Dimech on Tue, 4 Oct 2022 13:47:33 +0200) 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:244424 Archived-At: > From: Christopher Dimech > Cc: uzibalqa , 58282@debbugs.gnu.org > Date: Tue, 4 Oct 2022 13:47:33 +0200 > > > 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. > > Because I use bold font the default does not work for me. ??? What default? The default is that glasses-face is just nil, so no special face is put on any parts of the identifiers. 'bold' was just an example of a non-default face; you can use any face there. > I want to make the changes in my init file. How can I change the > foreground and background colour of the glasses matches? You can't. 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) > Is it possible for users to use a UTF8 Code as separator, and if so, > how can this be done? Customize the variable glasses-separator. (This has nothing to do with the original bug report, though.)