GNU bug report logs - #58282
Distinguishing glasses-mode display

Previous Next

Package: emacs;

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 #60 received at 58282 <at> debbugs.gnu.org (full text, mbox):

From: uzibalqa <uzibalqa <at> proton.me>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: dimech <at> gmx.com, 58282 <at> debbugs.gnu.org
Subject: Re: bug#58282: Distinguishing glasses-mode display
Date: Thu, 06 Oct 2022 11:53:35 +0000




Sent with Proton Mail secure email.

------- Original Message -------
On Thursday, October 6th, 2022 at 6:35 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:


> > Date: Thu, 06 Oct 2022 00:56:05 +0000
> > From: uzibalqa uzibalqa <at> proton.me
> > Cc: dimech <at> gmx.com, 58282 <at> 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.

The function "glasses-custom-set"?  The documentation also states that
"glasses-set-overlay-properties" can also be used.  What would be the 
best code sequence then?





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.