[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: |
tomas |
Subject: |
Re: Is there a way of setting a variable only when it exists? |
Date: |
Tue, 15 Mar 2022 08:49:05 +0100 |
On Tue, Mar 15, 2022 at 09:58:25AM +0300, Jean Louis wrote:
[...]
> I am trying to understand:
>
> - what is user option?
Small extract from the Fine Emacs Lisp manual:
15.3 Defining Customization Variables
=====================================
“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’ (*note Defining Variables::), 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.
(C-h i is your friend there).
> - you probably mean a variable that cannot be customized by M-x customize?
>
> - because every Emacs variable is user option for me, anything can be
> customized; I do not know if there are any static variables that
> cannot be changed, probably.
You can, of course, make up your own terminology. But this might make
communication wit others... interesting :)
Cheers
--
t
signature.asc
Description: PGP signature
- Is there a way of setting a variable only when it exists?, Marcin Borkowski, 2022/03/14
- Re: Is there a way of setting a variable only when it exists?, Eli Zaretskii, 2022/03/14
- Re: Is there a way of setting a variable only when it exists?, Stefan Monnier, 2022/03/14
- Re: Is there a way of setting a variable only when it exists?, Emanuel Berg, 2022/03/14
- Re: Is there a way of setting a variable only when it exists?,
tomas <=
- Re: Is there a way of setting a variable only when it exists?, Jean Louis, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, tomas, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, Jean Louis, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, tomas, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, Emanuel Berg, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, Emanuel Berg, 2022/03/15
- RE: [External] : Re: Is there a way of setting a variable only when it exists?, Drew Adams, 2022/03/15
- Re: Is there a way of setting a variable only when it exists?, Emanuel Berg, 2022/03/15
- RE: [External] : Re: Is there a way of setting a variable only when it exists?, Drew Adams, 2022/03/15
- Re: [External] : Re: Is there a way of setting a variable only when it exists?, Marcin Borkowski, 2022/03/16