[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way of setting a variable only when it exists?

From: Emanuel Berg
Subject: Re: Is there a way of setting a variable only when it exists?
Date: Tue, 15 Mar 2022 09:14:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

tomas wrote:

> "Customizable variables", also called "user options", are
> global Lisp variables whose values can be set through the
> Customize interface. Unlike other global variables, which
> are defined with `defvar' [...] customizable variables are
> defined using the `defcustom' macro. In addition to calling
> `defvar' as a subroutine, `defcustom' states how the
> variable should be displayed in the Customize interface, the
> values it is allowed to take, etc.

So an interface is used so that an interface can be displayed
... and those interfaces are ... the same?

You hear how it sounds.

Hands of data! There can be many ways to set data. But after
the data is set nothing should be left _how_ and no special
treatment should later be allowed based on what interface was
used ...

interface |~| data |#| programming logic (code)
           ↑        ↑
           ↑        ↑
           ↑   reinforced
           ↑    concrete
           ↑      wall

underground experts united

reply via email to

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