GNU bug report logs -
#58282
Distinguishing glasses-mode display
Previous Next
Reported by: uzibalqa <uzibalqa <at> proton.me>
Date: Tue, 4 Oct 2022 03:39:01 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #54 received at 58282 <at> debbugs.gnu.org (full text, mbox):
------- Original Message -------
On Tuesday, October 4th, 2022 at 6:16 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Tue, 04 Oct 2022 18:09:53 +0000
> > From: uzibalqa uzibalqa <at> proton.me
> > Cc: dimech <at> gmx.com, 58282 <at> 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)
This bug report was last modified 2 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.