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 21:16:44 +0300 Message-ID: <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40113"; 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 20:18:08 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 1ofmUZ-000ACD-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 20:18:07 +0200 Original-Received: from localhost ([::1]:33832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofmUX-0003Gm-Oi for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 14:18:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofmTW-0003GQ-TI for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 14:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofmTW-0004fN-L6 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 14:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofmTW-0005uU-Fe for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 14:17: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 18:17: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.166490741722704 (code B ref 58282); Tue, 04 Oct 2022 18:17:02 +0000 Original-Received: (at 58282) by debbugs.gnu.org; 4 Oct 2022 18:16:57 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: <99xitOu83kpIWgFvyzyVed04AAl2JEN4tMQvxP2zDw0PmAxIk0oZQ2Z-cbBhRv_SW4hFMI0PfbcXtlHTphED2jHSuTW9Phx1MQw6ki7YXdk=@proton.me> (message from uzibalqa on Tue, 04 Oct 2022 18:09:53 +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:244466 Archived-At: > 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?