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 19:26:05 +0300 Message-ID: <83ilkzv9lu.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dimech@gmx.com, 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 19:11:27 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 1oflS2-0007KE-J1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 19:11:26 +0200 Original-Received: from localhost ([::1]:58994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oflS0-0007Ha-9j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 13:11:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofkl5-0000mb-1m for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 12:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofkl4-0000Ca-KV for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 12:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofkl4-000303-F4 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 12:27: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 16:27: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.166490079911503 (code B ref 58282); Tue, 04 Oct 2022 16:27:02 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 16:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:55008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkkh-0002zT-EM for submit@debbugs.gnu.org; Tue, 04 Oct 2022 12:26:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkkf-0002zG-SW for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 12:26:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofkka-0008Vf-I5; Tue, 04 Oct 2022 12:26:32 -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=uFzTCm/ZTuUzqmvnropn1Dob91S22SykG8JlLSkODDs=; b=e/2onH2fR00P MxxxG8ulY6v7M1Aqvyy60XDWVqisB3TgCPgsWgGnUXGshVU/gYYaqE6xe0yZJD6TB+u18cNt5sUyy 1eW5BcmXCX9BdQVcXGglWgdzZJ0rQrv+SSbOgXSUwHoP7A35zbTA83Q7Vg3Mj05zbLFrXXWG3a6Uk gZY3vaC9CXup3XFekQ/iWGHIHsICiW4qnuhYMjmeppCe3zCY7vwLHDBcDXxtp31f1tX8it+MGPYxM RuSCKefBSuSTe4AKuY0/vTE/zMZo7+XtO128YsTCceV+dY6lCpenQs01vnx5qxHAiFoROBmBMsCnl tWzNe0x0AmyqfRwByK3qqg==; Original-Received: from [87.69.77.57] (port=3687 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 1ofkkD-00009R-8v; Tue, 04 Oct 2022 12:26:30 -0400 In-Reply-To: (message from uzibalqa on Tue, 04 Oct 2022 14:46:16 +0000) 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:244453 Archived-At: > Date: Tue, 04 Oct 2022 14:46:16 +0000 > From: uzibalqa > Cc: Christopher Dimech , 58282@debbugs.gnu.org > > ------- Original Message ------- > On Tuesday, October 4th, 2022 at 12:43 PM, Eli Zaretskii wrote: > > > > > From: Christopher Dimech dimech@gmx.com > > > Cc: uzibalqa uzibalqa@proton.me, 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.) > > How can I change the colour of the capital letters or use utf8 using > elisp commands? I answered both questions above. What is unclear?