bug-gnu-emacs
[Top][All Lists]
Advanced

[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 11:53:35 +0000





Sent with Proton Mail secure email.

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


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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]