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: Thu, 06 Oct 2022 00:56:05 +0000 Message-ID: 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> 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="8478"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dimech@gmx.com, 58282@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 02:57:46 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 1ogFCr-00024f-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 02:57:45 +0200 Original-Received: from localhost ([::1]:33192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogFCq-0001iJ-N9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 20:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogFCA-0000ka-UN for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 20:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogFCA-0001ru-M2 for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 20:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogFCA-0003H6-5V for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 20:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 00:57: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.166501778412544 (code B ref 58282); Thu, 06 Oct 2022 00:57:02 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 6 Oct 2022 00:56:24 +0000 Original-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 Original-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 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== In-Reply-To: <834jwjv4hf.fsf@gnu.org> 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:244582 Archived-At: ------- 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)