[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58282: Distinguishing glasses-mode display
From: |
uzibalqa |
Subject: |
bug#58282: Distinguishing glasses-mode display |
Date: |
Thu, 06 Oct 2022 00:56:05 +0000 |
------- Original Message -------
On Tuesday, October 4th, 2022 at 6:16 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Tue, 04 Oct 2022 18:09:53 +0000
> > From: uzibalqa uzibalqa@proton.me
> > 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?
I could call (glasses-set-overlay-properties)
- bug#58282: Distinguishing glasses-mode display, (continued)
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, uzibalqa, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, Christopher Dimech, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, uzibalqa, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, uzibalqa, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, uzibalqa, 2022/10/04
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/04
- bug#58282: Distinguishing glasses-mode display,
uzibalqa <=
- bug#58282: Distinguishing glasses-mode display, Eli Zaretskii, 2022/10/06
- bug#58282: Distinguishing glasses-mode display, uzibalqa, 2022/10/06