From unknown Fri Jun 20 07:13:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58282 <58282@debbugs.gnu.org> To: bug#58282 <58282@debbugs.gnu.org> Subject: Status: Distinguishing glasses-mode display Reply-To: bug#58282 <58282@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:41 +0000 retitle 58282 Distinguishing glasses-mode display reassign 58282 emacs submitter 58282 uzibalqa severity 58282 normal tag 58282 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 03 23:38:50 2022 Received: (at submit) by debbugs.gnu.org; 4 Oct 2022 03:38:50 +0000 Received: from localhost ([127.0.0.1]:52075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofYld-0004uR-S9 for submit@debbugs.gnu.org; Mon, 03 Oct 2022 23:38:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:54954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofYlb-0004uI-OO for submit@debbugs.gnu.org; Mon, 03 Oct 2022 23:38:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofYla-0004N9-Nq for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 23:38:47 -0400 Received: from mail-4318.protonmail.ch ([185.70.43.18]:54211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofYjd-0004eM-0R for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 23:38:46 -0400 Date: Tue, 04 Oct 2022 03:36:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664854600; x=1665113800; bh=9vczXc2KsQcp6FvwgsRXs1DEUVzUyXtVjphAyycZqtY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=BjlIOt+2HcG5rL1myRDM4sxg0AB8hknutR93D+zZq6ELFpru2n5iErZg8CvQvJrpT gA6rQduj5UEA0tSD2phjrKlGi0jdoxdjsumEySj2jcOrBlm2zH4xSyIEYyfjVAMm13 HdLWSNpjxssV99gQl1EqpYCWMnGcjQkWUkCCz4LnMypJMl1SBJkL57/UNcpy9KhI9I SYTBBnuZaLIdRYpz92N0bCJvXr63Eg35e+5VlzTXIsuCb39Yr1hmvzUugmnYr/4KfI nSTqzGsc6HzHTdDNHze22K1vuzzJUbZk3Ebw4grpCh2Uv/Lj/XOF5dOKGkL6Xkv8Iv YuPOZ5zFPOdPw== To: "bug-gnu-emacs@gnu.org" From: uzibalqa Subject: Distinguishing glasses-mode display Message-ID: Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.18; envelope-from=uzibalqa@proton.me; helo=mail-4318.protonmail.ch X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I am using "glasses-mode", but It is difficult to distinguish which words = get changed. For instance, if one has a mixture of CamelCase, Under_scores = one would not know which is modified and which is original. Particularly pr= oblematic when one is modifying the code. Could "glasses-mode" be made in such way as to indicate that "glasses-mode"= changed its display, by default. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 03:18:41 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 07:18:42 +0000 Received: from localhost ([127.0.0.1]:52255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofcCP-0004UY-Kl for submit@debbugs.gnu.org; Tue, 04 Oct 2022 03:18:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofcCL-0004UK-6F for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 03:18:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcCF-0002FM-E9; Tue, 04 Oct 2022 03:18:31 -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=4OFcblAiHCd+73jIVDQlpf51DfQn7Ci/nVWgr2tgxo4=; b=mk3uuLVA96uf vVt9op6kFTABepno8b9571TH1NLAn17A8JQioFLDGZCMgChhIgE/AGphyFzmXCQKPndDgIfxxu2YG nlaZNlTUb/bvM/3JZtNjl5kFzodd0/rZDKDxIp3Zic+f1bPs8r4T4bhthINL7fA4H2YJ8wTWmQXon vOZ2UKKhntG9ZT+ews2iJLG0jJcShgOpitKQjWB3505Lfq3n4P/kvq1PT3iPVvv0HBDLGygvcwr9I tMJSJRU9f8MMjWixBqH6Z5uxKk2GczMfRcN0rf+QK/eAuNoZ8C1WOGfnF3lNT/I4tEo331F+SlHPD sqUE18e+gX/7tDVl/tvdRg==; Received: from [87.69.77.57] (port=4452 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 1ofcCA-0005ZL-Ef; Tue, 04 Oct 2022 03:18:27 -0400 Date: Tue, 04 Oct 2022 10:18:22 +0300 Message-Id: <83h70kvyyp.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#58282: Distinguishing glasses-mode display References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 04 Oct 2022 03:36:34 +0000 > From: uzibalqa via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > I am using "glasses-mode", but It is difficult to distinguish which words get changed. For instance, if one has a mixture of CamelCase, Under_scores one would not know which is modified and which is original. Particularly problematic when one is modifying the code. > > Could "glasses-mode" be made in such way as to indicate that "glasses-mode" changed its display, by default. 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 07:01:25 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 11:01:25 +0000 Received: from localhost ([127.0.0.1]:52621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offfw-0004DW-PI for submit@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:25 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offfv-0004DG-LA for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bLwXRo3cRHqU2HTiJ5IXoAxcqWyxltYpLYO1ZU77Qwk=; b=a8HKKagRX503tuqb9GplLbmLdb FpQVFmr2sGRBj+io72bihA4klWij/tBuMOrp4PBAYOyr/4e36a0EF9YgbsX869/KvZcph1larwsYY +hZmfVhRt4UfF9l3w30kQT20d9fX8OwsT2N/hn4JqSciLNGki9Dg4Gtm/6Hl6Nxv4ms4=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1offfm-00035x-G9; Tue, 04 Oct 2022 13:01:16 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#58282: Distinguishing glasses-mode display In-Reply-To: <83h70kvyyp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Oct 2022 10:18:22 +0300") References: <83h70kvyyp.fsf@gnu.org> X-Now-Playing: Propaganda's _A Secret Wish_: "The Last Word-Strength To Dream" Date: Tue, 04 Oct 2022 13:01:13 +0200 Message-ID: <87o7ur3lae.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: 58282@debbugs.gnu.org, uzibalqa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > 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. Also, I think the idea with this mode is to use it in languages where camelCase is the accepted way to write things -- and they never mix camelCase with camel_Case, so changing the defaults here would also be inappropriate. So I don't think there's anything here to be fixed, and I'm closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 07:01:28 2022 Received: (at control) by debbugs.gnu.org; 4 Oct 2022 11:01:28 +0000 Received: from localhost ([127.0.0.1]:52624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offg0-0004Dm-3X for submit@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1offfy-0004DL-HC for control@debbugs.gnu.org; Tue, 04 Oct 2022 07:01:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=egOmlXO/C+EFZ63+XeZdjPtgzcB+KBBIQN66+38zcCY=; b=MuCckXZWNZcLmGbXtV/zyegO+u wj1MzK753UAxr+8lRL9jVpkkwFDaGDq24xtI195W1/qRuj24OlJnedysCSndUOfedaffbM0t9tfHw STveS3//sg4cwSIzjA35JO0KPu3RlgT6Xyn+KO41Stu7LQ7UOY3lSGC61masULjjM+Bs=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1offfq-000364-KG for control@debbugs.gnu.org; Tue, 04 Oct 2022 13:01:20 +0200 Date: Tue, 04 Oct 2022 13:01:18 +0200 Message-Id: <87mtab3la9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58282 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 58282 notabug close 58282 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 58282 notabug close 58282 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 07:47:42 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 11:47:43 +0000 Received: from localhost ([127.0.0.1]:52763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgOk-0003cN-Ji for submit@debbugs.gnu.org; Tue, 04 Oct 2022 07:47:42 -0400 Received: from mout.gmx.net ([212.227.15.18]:43823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofgOi-0003bo-SZ for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 07:47:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664884053; bh=nLJ4xhGh6RMHIOEU7RcjANBric8fC9GnizyoOy36DJs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jQM40PvnUSSZFOvBek05xnck0Ktc9Vv1kt88dRcgKfFh1Ekzp9xOiHSY/S8QOWVnF 7MsfNa5JnDYkKkO3GT1k/qmr29SY3iKgChA+a56ecuT3qoxHdxqD+s3rPenVxXHjam pNDkfg8Mu5yuYOtKirH3GA6puz41Z7jfClLHQrSk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c 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 13:47:33 +0200 MIME-Version: 1.0 Message-ID: From: Christopher Dimech To: Eli Zaretskii Subject: Re: bug#58282: Distinguishing glasses-mode display Content-Type: text/plain; charset=UTF-8 Date: Tue, 4 Oct 2022 13:47:33 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <83h70kvyyp.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:hu0nsKwlm+6MVHrMeQ0AN+S7GGxP03N6XLfVOgMDaNzXKW7O1AMVeH/QMxq4map2j/uEg /uRZ5vvvSIX8vcsUE2jgOWiQJMXgv08vEg/UTw2RdX3EdlayE5wRIywNboUhPy7bLIPb+dLx9xap O/smfBqD6gvHUXwoSF2yH9BBJ8lg5xg/YWhe8TMGWcANKmEVDO1vDo6WLymB/W4tmx3ZQobcEsCZ m/1nxhGMApXZM4WctFW9OT12nCKRplvLUrCQF7b6czpu6cx2YMHKt9g6WghIm0g74HpJLOAZflsq VY= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:aZufuRSz4Es=:7xnVi21DmNCjFn70tPgLMP FC1mAv572gY+JuEhSNCnV23VVi3Y50qQmM2T0jxlv1eLTRzyxgx2BQrfKW03mfmRpsnYN+HaL /TsUg/Jp+Ep0pgERd9nh2vmHNNlkQ2iH0CQJNYJd6d2n3HnvZ7jwtX29CP96Mf9EVN3ABnaNR ocoJVKBtk2k0HcLbqKO52JcGYLZNCx9At1ZVfMs4e9EO4QZZTo2DJTl+uEkvsQZ9is8H+PzcF 4O711+Ykl9PLuvWNNF2TStoIRHboBAWsS0gOnQWz/J+qYL8EikBstWC7/ujHfHiKvOxpjf9QE WEnrsy9Mf/r89sRftICZDmT1WHlu/EATrbJP3ZHISYIbBaDBQHRUOtfrUhbkMs6B0Jspy91uq PXxoF6FQMip4S3e1w3XvhWdaOQiDEgnX9vpWaXfgi343VV/Yujn3qH59spyhsX8+OP8QteWl9 ra5nobpzXmr/ytheWVXQ8E4ONo+K97AUqH8XV2BMWIJmsoKM/PnXLsT4yePD6E6d4RhGLG8cj gYzsd4SjwJDJyS1rpdkazUFZaPhQpWkGrvDdeNuEPjJkzVIYx9IP4RSSNbRhVgJJ5p5tVWG/w SKmH3CJmvqOaXTv2pX/BhaUmQkcgZszAtthUEQgERbpWPeGdNrWVPyoB0dtYtTAqOqf72NWat QNJ3uo8VWZ6NDAE9vupbSihGiMcbMHWxTdMbuHEFdXIfj5e7zAYBs0GNs97fivbxEy1UYRaNT ZFK0oWIycgikixI8JnqM0UbfeeyhZPha0+87oA9bta6f81TYY/mxZC7zyyI76agcwAmfBHH/w r/bW3r7 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58282 Cc: 58282@debbugs.gnu.org, uzibalqa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Sent: Tuesday, October 04, 2022 at 7:18 PM > From: "Eli Zaretskii" > To: "uzibalqa" > Cc: 58282@debbugs.gnu.org > Subject: bug#58282: Distinguishing glasses-mode display > > > Date: Tue, 04 Oct 2022 03:36:34 +0000 > > From: uzibalqa via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > > > 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_s= cores one would not know which is modified and which is original. Particul= arly problematic when one is modifying the code. > > > > Could "glasses-mode" be made in such way as to indicate that "glasses-= mode" changed its display, by default. > > 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. 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? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 08:27:47 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 12:27:47 +0000 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 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 Date: Tue, 04 Oct 2022 12:27:36 +0000 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== To: Christopher Dimech From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: References: <83h70kvyyp.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: Eli Zaretskii , 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 08:43:17 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 12:43:17 +0000 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 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 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==; 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 Date: Tue, 04 Oct 2022 15:43:03 +0300 Message-Id: <83pmf7vjxk.fsf@gnu.org> From: Eli Zaretskii To: Christopher Dimech In-Reply-To: (message from Christopher Dimech on Tue, 4 Oct 2022 13:47:33 +0200) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: 58282@debbugs.gnu.org, uzibalqa@proton.me X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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.) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 10:46:33 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 14:46:33 +0000 Received: from localhost ([127.0.0.1]:54922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofjBp-0000X8-5V for submit@debbugs.gnu.org; Tue, 04 Oct 2022 10:46:33 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:31721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofjBn-0000Wt-18 for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 10:46:32 -0400 Date: Tue, 04 Oct 2022 14:46:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664894784; x=1665153984; bh=C2pw/8cNtFmRPLxD//JzaROBiU3XJP68WqVhmGJrduE=; 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=GiZpdOoAoQ9GzsHjRKch4Ap7V/2/ngpZ3/aEQnM474UTT6S3hpFqhb1OZUwbm2rC5 Pph8WIyj3kLMEAgkuGNI8/lqTOTsO/86FX8A6seFAqVQhxw93CYt6wbeLpFMUpmYeq vwmWl212llVC8hi62TMctQn29484xElCJT7f0eaonAgyJjNRpHpepE+oLNGJaOo6xc PCOYWjeGjpcb9skd+ySxvVqJYZw4xInFEN0fW1nesvW8dda7ZI9bfVgcl0W8ZXknaq gjd3y3Yj9lz263aLOHa9j1Sq+7u2CUUEGNvFWgPIxl9Lsg3ARH96KkhiQ0To3jZinR ISIKY2q+HKxDQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: <83pmf7vjxk.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: Christopher Dimech , 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, October 4th, 2022 at 12:43 PM, Eli Zaretskii wro= te: > > From: Christopher Dimech dimech@gmx.com > > Cc: uzibalqa uzibalqa@proton.me, 58282@debbugs.gnu.org > > Date: Tue, 4 Oct 2022 13:47:33 +0200 > >=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 > > Because I use bold font the default does not work for me. >=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. 'bold' was just > an example of a non-default face; you can use any face there. >=20 > > I want to make the changes in my init file. How can I change the > > foreground and background colour of the glasses matches? >=20 >=20 > 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) >=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. (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? =20 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 10:52:56 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 14:52:56 +0000 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 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 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 MIME-Version: 1.0 Message-ID: From: Christopher Dimech To: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Content-Type: text/plain; charset=UTF-8 Date: Tue, 4 Oct 2022 16:52:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> Content-Transfer-Encoding: quoted-printable 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-Spam-Flag: NO 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 yzO2S4B0jjIJKIJRkshcR0r0om81EDhiF09uozFABUk7lVmbOfeCtHCp9c5IjNhXWWSeDR2kd W5awFek X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58282 Cc: Eli Zaretskii , 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 11:54:18 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 15:54:18 +0000 Received: from localhost ([127.0.0.1]:54988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkFN-0002E9-Oh for submit@debbugs.gnu.org; Tue, 04 Oct 2022 11:54:18 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]:26567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkFJ-0002Dt-2i for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 11:54:16 -0400 Date: Tue, 04 Oct 2022 15:53:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664898846; x=1665158046; bh=Y+WLOZq8q2o7ByWn97adlYxvaetZYvrdLq9aa9FH5TM=; 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=mGXSFIBJ2NWhvDswuYcrgM3b2JomHfnt8/EgDfmPd11etCq15g1agfPU4puZHFBlx f1+1akVneA8fPdyO2PMbyu/cl+QcLfF8ViNzz8r8rpR06qxit6762/gbsh8u+SJY0Z X8THwTrirNDWs7jKi7UHiMSvKefpspI2mBPWD/q8VmQqsShftwuG66ht5W6FWxIKNQ veU4I8+vUV9ahOFUIyMAeY8obl16aHgkcR0w3oQn9nPCkq+NGep/BHu6WF98xi1oJB QfVp/uiOHqqmK3yn2bxmOG4xtj6Ev80p+QX3OsYvBR9A9xL/QTzUBEzRH5PAx8Lu9P uzvD+gX8xZ4tA== To: Christopher Dimech From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: Eli Zaretskii , 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, October 4th, 2022 at 2:52 PM, Christopher Dimech wrote: >=20 >=20 > > Sent: Wednesday, October 05, 2022 at 2:46 AM > > From: "uzibalqa" uzibalqa@proton.me > > To: "Eli Zaretskii" eliz@gnu.org > > Cc: "Christopher Dimech" dimech@gmx.com, 58282@debbugs.gnu.org > > Subject: Re: bug#58282: Distinguishing glasses-mode display > >=20 > > ------- Original Message ------- > > On Tuesday, October 4th, 2022 at 12:43 PM, Eli Zaretskii eliz@gnu.org w= rote: > >=20 > > > > From: Christopher Dimech dimech@gmx.com > > > > Cc: uzibalqa uzibalqa@proton.me, 58282@debbugs.gnu.org > > > > Date: Tue, 4 Oct 2022 13:47:33 +0200 > > > >=20 > > > > > I think we have this already: customize glasses-face to some dist= inct > > > > > face, like 'bold'. Then the capital letters of identifiers where > > > > > glasses.el inserted underscores will be shown in bold, and you ca= n > > > > > visually distinguish them from the original underscores. > > > >=20 > > > > Because I use bold font the default does not work for me. > > >=20 > > > ??? 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. > > >=20 > > > > I want to make the changes in my init file. How can I change the > > > > foreground and background colour of the glasses matches? > > >=20 > > > 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) > > >=20 > > > > Is it possible for users to use a UTF8 Code as separator, and if so= , > > > > how can this be done? > > >=20 > > > Customize the variable glasses-separator. (This has nothing to do > > > with the original bug report, though.) > >=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") >=20 > with the character being a utf8 symbol. =20 I would prefer using utf symbols than changing colours. I am using the following function using hex code for Black Rightwards Arrow= head (defun typex-camelsens () "Splits CamelCase phrases using separator." (interactive) (setq glasses-separator "\u27A4") (glasses-mode)) How can I pass an arbitrary hex code interactively, besides using a default= ? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 12:26:39 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 16:26:39 +0000 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 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 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==; 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 Date: Tue, 04 Oct 2022 19:26:05 +0300 Message-Id: <83ilkzv9lu.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Tue, 04 Oct 2022 14:46:16 +0000) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 12:28:31 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 16:28:31 +0000 Received: from localhost ([127.0.0.1]:55024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkmR-000338-Oz for submit@debbugs.gnu.org; Tue, 04 Oct 2022 12:28:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofkmP-00032u-Gg for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 12:28:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofkmK-0002BD-9Y; Tue, 04 Oct 2022 12:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iVnCXUKQywmKLQmIYE3yLr0u7FGvsPLGuW1+CHLdzvI=; b=IOUr9Ia1Z3I0TRLtcmyw QfTn5WF1hwZ2fyqnKJuMhO/MoJtPLSeVkwXbvL/y0k8P4rbhegGyCVdU1LyFnYfqpqxGTudkRPS3m QB/s/vLFYJLyOt10zfiqR19sdH7bjbxpaJjliBrPCdQF1G1ZmFDQ+Ps1FNS7tk7NF+sRWXJcazKMa Ju/7Eu7Vw8EEsU/g2c0daJXwBX/XV4Z7EJKpc3+sojJfh2mkJmTtLpZChc9Vx/DcbVNMedBU4xcmr ZLrzC6aE0ha636gYlHvwAmrF/pqUZeRkq2UVXePG7kxvzWb9Eszjpzer9jjfXR/HDiJGMG1qCnS3w 9i64xQMNMnYvLg==; Received: from [87.69.77.57] (port=3819 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 1ofkmJ-0001dm-MR; Tue, 04 Oct 2022 12:28:20 -0400 Date: Tue, 04 Oct 2022 19:28:16 +0300 Message-Id: <83h70jv9i7.fsf@gnu.org> From: Eli Zaretskii To: Christopher Dimech In-Reply-To: (message from Christopher Dimech on Tue, 4 Oct 2022 16:52:44 +0200) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: 58282@debbugs.gnu.org, uzibalqa@proton.me X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Christopher Dimech > Cc: Eli Zaretskii , 58282@debbugs.gnu.org > Date: Tue, 4 Oct 2022 16:52:44 +0200 > > > > 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? > > You could just do > > (setq glasses-separator "➾") > > with the character being a utf8 symbol. No, that will not work in general in this case. You must use Customize. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 13:28:41 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 17:28:41 +0000 Received: from localhost ([127.0.0.1]:55100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oflii-0004dX-KT for submit@debbugs.gnu.org; Tue, 04 Oct 2022 13:28:40 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:32173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oflie-0004dI-4G for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 13:28:38 -0400 Date: Tue, 04 Oct 2022 17:28:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664904509; x=1665163709; bh=7E4mtwHU7KAiG2c7knYkG6Yhovm2Km6aABgTlHmz8HE=; 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=TRl4W35tZ3U2ux3GUDAFehANxhvcLVSrkae1+UnrF9C39ujDEhFBF/mk/VZ6/XtQX CQ4dBH596D+40JXFKXeIvQZZCvCHwiwP8hdztWZYQ9cB84zJWXRzXtZyOvQfgByG1S D09E3qiahj7RjhJ7BdkHaZuyCT03ZNWxHbS2wlfr+TWcASIgtu8Oi+t7hNeMtasIxL aQkEwI0Gn9mt8SxBCRppCCOKIforBxkJ88bINsf5SliYUrRLTaxB0ei9nHWmqTVnB4 sB0Rd/NP2BMZBu0LIdZgaRHDGrVIPbzC7hmyvn8/qeM2eAHUq1o7oN+iLJy+7vHpjg ko3pI0TGMAZZQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: <83ilkzv9lu.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, October 4th, 2022 at 4:26 PM, Eli Zaretskii wrot= e: > > Date: Tue, 04 Oct 2022 14:46:16 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: Christopher Dimech dimech@gmx.com, 58282@debbugs.gnu.org > >=20 > > ------- Original Message ------- > > On Tuesday, October 4th, 2022 at 12:43 PM, Eli Zaretskii eliz@gnu.org w= rote: > >=20 > > > > From: Christopher Dimech dimech@gmx.com > > > > Cc: uzibalqa uzibalqa@proton.me, 58282@debbugs.gnu.org > > > > Date: Tue, 4 Oct 2022 13:47:33 +0200 > > > >=20 > > > > > I think we have this already: customize glasses-face to some dist= inct > > > > > face, like 'bold'. Then the capital letters of identifiers where > > > > > glasses.el inserted underscores will be shown in bold, and you ca= n > > > > > visually distinguish them from the original underscores. > > > >=20 > > > > Because I use bold font the default does not work for me. > > >=20 > > > ??? 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. > > >=20 > > > > I want to make the changes in my init file. How can I change the > > > > foreground and background colour of the glasses matches? > > >=20 > > > 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) > > >=20 > > > > Is it possible for users to use a UTF8 Code as separator, and if so= , > > > > how can this be done? > > >=20 > > > Customize the variable glasses-separator. (This has nothing to do > > > with the original bug report, though.) > >=20 > > How can I change the colour of the capital letters or use utf8 using > > elisp commands? >=20 >=20 > I answered both questions above. What is unclear? Been focusing on getting this to work (defun camelsens (hexcode) "Splits CamelCase phrases using separator." (interactive (list=20 (completing-read "Utf8_hex_code: " '("\u27A4" "\u25BA" "\u2192") nil = t "\u2192"))) (setq glasses-separator hexcode) (glasses-mode)) But this only works the first time I call the function. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 14:02:22 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 18:02:22 +0000 Received: from localhost ([127.0.0.1]:55145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmFK-0005Y3-6H for submit@debbugs.gnu.org; Tue, 04 Oct 2022 14:02:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmFI-0005Xq-5T for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 14:02:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofmFC-0002Ey-L1; Tue, 04 Oct 2022 14:02:14 -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=Wj0KrqHayJQMFJunjwmYQK0owGh3SxRMpkiurmD96vA=; b=GWnRJMqqMPKv 3bkR7uFBeQ53dSfmlM2QL2TxDzs7ikyjjb7YIbHsrBJ7aCcqNgBe0NHXlN+UVWAhskDBI7X4dHuLB 0hxzvjtpjXpdwawQI41LbcHa7iWrk5azx/jmZYI7gRjTtcTGBlJmfKAGOKVnp3eVJVHINMIIcXSWu 5caO7NdMK8xe6aqDIwPGqw7wyvU1fxr7kf+tS0p3f+zJJtZT7ULvdEflKUbPyl2mJVvbwvz75Zdcm Hm8tOWz/kgRYYLa7hCwYMx91k6CLqwKO4T19+KI1/+SYOiobZalCwnJV5tNn1yg1/uacbPXmhE2nJ +34ZfwRgETVnyH07+u0yDA==; Received: from [87.69.77.57] (port=2296 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 1ofmFC-0004LD-3m; Tue, 04 Oct 2022 14:02:14 -0400 Date: Tue, 04 Oct 2022 21:02:10 +0300 Message-Id: <83a66bv55p.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Tue, 04 Oct 2022 17:28:21 +0000) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 04 Oct 2022 17:28:21 +0000 > From: uzibalqa > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > > (defun camelsens (hexcode) > > "Splits CamelCase phrases using separator." > > (interactive (list > > (completing-read "Utf8_hex_code: " '("\u27A4" "\u25BA" "\u2192") nil t "\u2192"))) > > (setq glasses-separator hexcode) > > (glasses-mode)) > > But this only works the first time I call the function. You cannot simply assign the value to this variable. Look at its defcustom form to understand what is missing. And anyway, what does this have to do with the bug report? You are asking basic Emacs Lisp questions. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 14:10:15 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 18:10:15 +0000 Received: from localhost ([127.0.0.1]:55165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmMu-0005jo-6k for submit@debbugs.gnu.org; Tue, 04 Oct 2022 14:10:15 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:27601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmMp-0005j9-7W for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 14:10:10 -0400 Date: Tue, 04 Oct 2022 18:09:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1664907001; x=1665166201; bh=AffY5/Cq9OvgF649A/AFuvbOrmTcq4FQlP7zWrUHka8=; 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=iE4suQnC6gLOjNVEi2T75zbxdmc4RCTm+WvmjS+uRr/VYVP55FpACmppX3uQXa7+E rT6TPkUqnfCBBm9Y3zfQOIjOP2WzRxyXXr6/kPf4RI5hoxrlTRffv2YjZqVxJPGW1k OhWeyL8aQMcdtfZcIQ8OF+Hq/L+HzuKH20GTPLpX2njjfS8h0QILt+Nf5WijGQMd+J SJYai7BTCUiRNYI+Vrmi/atDfpdlKDuV4aU19ehDbz3ht50DY+gvdoOza955IPQNiW xspWe4xHHHcfbzKyPx7mo4hzocDgArTD6Ar7tPNUr5nRMWK15/EL2DgutM+kN+yUnV D3qGAK+eNJQgQ== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> In-Reply-To: <83a66bv55p.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> <83a66bv55p.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, October 4th, 2022 at 6:02 PM, Eli Zaretskii wrot= e: > > Date: Tue, 04 Oct 2022 17:28:21 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > >=20 > > (defun camelsens (hexcode) > >=20 > > "Splits CamelCase phrases using separator." > >=20 > > (interactive (list > >=20 > > (completing-read "Utf8_hex_code: " '("\u27A4" "\u25BA" "\u2192") nil t = "\u2192"))) > >=20 > > (setq glasses-separator hexcode) > >=20 > > (glasses-mode)) > >=20 > > But this only works the first time I call the function. >=20 >=20 > You cannot simply assign the value to this variable. Look at its > defcustom form to understand what is missing. >=20 > And anyway, what does this have to do with the bug report? You are > asking basic Emacs Lisp questions. Because I can use utf, I can easily distinguish between code and glasses di= splay. This feature solves my problem. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 14:16:56 2022 Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 18:16:57 +0000 Received: from localhost ([127.0.0.1]:55174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmTQ-0005u7-JH for submit@debbugs.gnu.org; Tue, 04 Oct 2022 14:16:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofmTO-0005tu-OF for 58282@debbugs.gnu.org; Tue, 04 Oct 2022 14:16:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofmTJ-0004Zv-5W; Tue, 04 Oct 2022 14:16:49 -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=0bwDqRbi5DIDUfS39wxLx0r+owbDTxpy67LF1m+emoU=; b=mv5pfKGDsCEk zNFI9/j5camvNTts2mO9vtGHCWo/iN2nL2ZGzlSgzwdC09jMvix9oWoF7HvZoJ6sw+tfpwtMBEQap b5UXME7ULWneP4zft1ok+GLRQmVljfCtcWcLaaToAPH3zxxtxEdCeHzT4qd3KX7L6FCBnwaicTA5u weTY/tIDsHUIWMBlfvgZRoXzhWU0XfO8zbMAc94d60AlH7cvE8hTWWda6pg1+1I8QjuQGEcAVuSVn VAhYXCO7IBNMXogozFyLNX6Q/TjOne56Ok14MxR4Za8qqUSPybtzLjUf9hqU1IaTm/LhXfZjTU56E G/cqkyc9m3ALKlL5sT7kHw==; Received: from [87.69.77.57] (port=3190 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 1ofmTH-0001Nu-9O; Tue, 04 Oct 2022 14:16:48 -0400 Date: Tue, 04 Oct 2022 21:16:44 +0300 Message-Id: <834jwjv4hf.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> (message from uzibalqa on Tue, 04 Oct 2022 18:09:53 +0000) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> <83a66bv55p.fsf@gnu.org> <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 04 Oct 2022 18:09:53 +0000 > From: uzibalqa > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > > > You cannot simply assign the value to this variable. Look at its > > defcustom form to understand what is missing. > > > > And anyway, what does this have to do with the bug report? You are > > asking basic Emacs Lisp questions. > > Because I can use utf, I can easily distinguish between code and glasses display. > This feature solves my problem. So do use it. It is possible and supported, just not by a simple setq. Here's the defcustom of that option from glasses.el: (defcustom glasses-separator "_" "String to be displayed as a visual separator in identifiers. It is used both for adding missing separators and for replacing separators defined by `glasses-original-separator'. If you don't want to add missing separators, set `glasses-separator' to an empty string. If you don't want to replace existent separators, set `glasses-original-separator' to an empty string." :type 'string :set 'glasses-custom-set :initialize 'custom-initialize-default) What does the :set attribute tell you? From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 20:56:24 2022 Received: (at 58282) by debbugs.gnu.org; 6 Oct 2022 00:56:24 +0000 Received: from localhost ([127.0.0.1]:58368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogFBX-0003GG-NT for submit@debbugs.gnu.org; Wed, 05 Oct 2022 20:56:24 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:46667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogFBT-0003Fy-LX for 58282@debbugs.gnu.org; Wed, 05 Oct 2022 20:56:23 -0400 Date: Thu, 06 Oct 2022 00:56:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1665017773; x=1665276973; bh=7Px1JMilo+G97mGNRxCyw97L1poRlwsEu170xIP8z5s=; 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=dGNl+yCV85+2kz7zoWBKIEPBP3leq7dodgFV2jlD1SaYptu8x+ckNHT2mtgIBcUME VQssNNY1ZvJCKpiVRMWR6kmmNxqrERtozPxixGE/k1YBcAj4hrISQkvJLPoDGeEK9L k8fk5Q+IpjhhtgmgUdsN9lB/oJ8PtuCX+BwH1M72Tfh1Zk6sZyYjT9V403FT3ZwcKY DDA3BbbJaItbIubGhBOm3Hf+yl3ySPbhKIpGiNroC6h9yKfnd/Ekn8897oYDNcMJW4 eT49QH5fhzWcvCY5eBi97pWLUEMVnBIuZzX1RjztIP9p71wNly6QFZz9msGXsJWVDS LN2+43/yyDABw== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: <834jwjv4hf.fsf@gnu.org> References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> <83a66bv55p.fsf@gnu.org> <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> <834jwjv4hf.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------- Original Message ------- On Tuesday, October 4th, 2022 at 6:16 PM, Eli Zaretskii wrot= e: > > Date: Tue, 04 Oct 2022 18:09:53 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > >=20 > > > You cannot simply assign the value to this variable. Look at its > > > defcustom form to understand what is missing. > > >=20 > > > And anyway, what does this have to do with the bug report? You are > > > asking basic Emacs Lisp questions. > >=20 > > Because I can use utf, I can easily distinguish between code and glasse= s display. > > This feature solves my problem. >=20 >=20 > So do use it. It is possible and supported, just not by a simple > setq. >=20 > Here's the defcustom of that option from glasses.el: >=20 > (defcustom glasses-separator "_" > "String to be displayed as a visual separator in identifiers. > It is used both for adding missing separators and for replacing separator= s > defined by `glasses-original-separator'. If you don't want to add missing= separators, set` glasses-separator' to an empty string. If you don't want = to > replace existent separators, set `glasses-original-separator' to an empty > string." > :type 'string > :set 'glasses-custom-set > :initialize 'custom-initialize-default) >=20 > What does the :set attribute tell you? I could call (glasses-set-overlay-properties) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 02:36:09 2022 Received: (at 58282) by debbugs.gnu.org; 6 Oct 2022 06:36:09 +0000 Received: from localhost ([127.0.0.1]:58613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogKUH-0003eq-Uw for submit@debbugs.gnu.org; Thu, 06 Oct 2022 02:36:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogKUD-0003eH-9A for 58282@debbugs.gnu.org; Thu, 06 Oct 2022 02:36:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogKU8-0005E7-1l; Thu, 06 Oct 2022 02:35:56 -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=CcgywjAMeK8yoaXNmsaZHiTdQTpNcN6aSh3dOftXCXA=; b=X2wDsTgKBMkU Zz6gCTG24mYIYUvoM44hSKVtNcrdi1el5OzmnlMw9NF/i0c3zhAc4n0n0Igo5vvSXPuF5lt1PMhc5 pG2GlKLIZ1MQD+ZmeFAD5+/uHUO54q8IPczaTZqIEb2qT6ZZ90t+LJCGc4GnAoWbdfwwAItzMENRH FenbzM4//naX2JKKGpDFTQ+3ssLZhesbZkuUNVA2Ao9NnXRmFz+nLZi3U0xTgiqGzTVpsAGA2Losg +xopCIZiCHyNKln+lvbKpAThx9A3RithYPwj4oj6EHJ39ghZg6aU8zvRRCIDLha1dTHPqHnyqGmLB vQvhqwaCIfoA+7ZbYWsd5g==; Received: from [87.69.77.57] (port=2662 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 1ogKU2-0007m3-SP; Thu, 06 Oct 2022 02:35:55 -0400 Date: Thu, 06 Oct 2022 09:35:52 +0300 Message-Id: <83o7upqx13.fsf@gnu.org> From: Eli Zaretskii To: uzibalqa In-Reply-To: (message from uzibalqa on Thu, 06 Oct 2022 00:56:05 +0000) Subject: Re: bug#58282: Distinguishing glasses-mode display References: <83h70kvyyp.fsf@gnu.org> <83pmf7vjxk.fsf@gnu.org> <83ilkzv9lu.fsf@gnu.org> <83a66bv55p.fsf@gnu.org> <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> <834jwjv4hf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 06 Oct 2022 00:56:05 +0000 > From: uzibalqa > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > > > Here's the defcustom of that option from glasses.el: > > > > (defcustom glasses-separator "_" > > "String to be displayed as a visual separator in identifiers. > > It is used both for adding missing separators and for replacing separators > > defined by `glasses-original-separator'. If you don't want to add missing separators, set` glasses-separator' to an empty string. If you don't want to > > replace existent separators, set `glasses-original-separator' to an empty > > string." > > :type 'string > > :set 'glasses-custom-set > > :initialize 'custom-initialize-default) > > > > What does the :set attribute tell you? > > I could call (glasses-set-overlay-properties) That's not really related. What the :set attribute says is that you need to call that function after changing the value, to "install" the new value. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 07:53:53 2022 Received: (at 58282) by debbugs.gnu.org; 6 Oct 2022 11:53:53 +0000 Received: from localhost ([127.0.0.1]:59163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogPRp-00043u-8z for submit@debbugs.gnu.org; Thu, 06 Oct 2022 07:53:53 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:43963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogPRl-00043b-0P for 58282@debbugs.gnu.org; Thu, 06 Oct 2022 07:53:52 -0400 Date: Thu, 06 Oct 2022 11:53:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1665057223; x=1665316423; bh=UTLBq7kmOS+INI5s+BiMjIj3+c9OlwVTDeiiCCfom+I=; 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=cblZCh+NOiZVEmUWSNwqYaKz/tawCbec9MOhXFwR1k4N9W4mfG7ZLCkOBKkHO4eQV wED6Z2jkHO8Uo+35GL6Bhw2rqm8os6F45q9nQB/sZthJwgyn0OZhL1d0nUrboWWYtl Zrgn5JYB7YBK049ZU5OGWzyFERkOLTYJHcGCNVdf7eEZzjvRz1YyV3/B4kOOhrSnFW SyGk7tfHumfrpTu6UOlP+g2EASPbivBfZwtgMyYxcF3dZ/0dHD4DwBpeghn62DxX3E WSFPNONSaoA/CVX1cRWfNZyfTJdnYiD4GcmthsfInXNiLMbiyy6FF/0xEgDPUTHN1b 0921DqdC0se9g== To: Eli Zaretskii From: uzibalqa Subject: Re: bug#58282: Distinguishing glasses-mode display Message-ID: In-Reply-To: <83o7upqx13.fsf@gnu.org> References: <83ilkzv9lu.fsf@gnu.org> <83a66bv55p.fsf@gnu.org> <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> <834jwjv4hf.fsf@gnu.org> <83o7upqx13.fsf@gnu.org> Feedback-ID: 52887082:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58282 Cc: dimech@gmx.com, 58282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sent with Proton Mail secure email. ------- Original Message ------- On Thursday, October 6th, 2022 at 6:35 AM, Eli Zaretskii wro= te: > > Date: Thu, 06 Oct 2022 00:56:05 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: dimech@gmx.com, 58282@debbugs.gnu.org > >=20 > > > Here's the defcustom of that option from glasses.el: > > >=20 > > > (defcustom glasses-separator "_" > > > "String to be displayed as a visual separator in identifiers. > > > It is used both for adding missing separators and for replacing separ= ators > > > defined by `glasses-original-separator'. If you don't want to add mis= sing separators, set` glasses-separator' to an empty string. If you don't w= ant to > > > replace existent separators, set `glasses-original-separator' to an e= mpty > > > string." > > > :type 'string > > > :set 'glasses-custom-set > > > :initialize 'custom-initialize-default) > > >=20 > > > What does the :set attribute tell you? > >=20 > > I could call (glasses-set-overlay-properties) >=20 >=20 > That's not really related. >=20 > What the :set attribute says is that you need to call that function > after changing the value, to "install" the new value. The function "glasses-custom-set"? The documentation also states that "glasses-set-overlay-properties" can also be used. What would be the=20 best code sequence then? From unknown Fri Jun 20 07:13:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Nov 2022 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator