[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Names to defun, defvar, defconst
From: |
tpeplt |
Subject: |
Re: Names to defun, defvar, defconst |
Date: |
Mon, 01 Jul 2024 19:21:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
uzibalqa <uzibalqa@proton.me> writes:
> Names to defun, defvar, and defconst, can include numbers (digits). Right?
From:
(info "(elisp) Symbol Type")
"A symbol name can contain any characters whatever. Most symbol names
are written with letters, digits, and the punctuation characters
‘-+=*/’. Such names require no special punctuation; the characters
of the name suffice as long as the name does not look like a number.
(If it does, write a ‘\’ at the beginning of the name to force
interpretation as a symbol.) The characters ‘_~!@$%^&:<>{}?’ are less
often used but also require no special punctuation. Any other
characters may be included in a symbol's name by escaping them with a
backslash. In contrast to its use in strings, however, a backslash in
the name of a symbol simply quotes the single character that follows the
backslash."
There is more in that subsection of the chapter on Lisp data types.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.
- Names to defun, defvar, defconst, uzibalqa, 2024/07/01
- Re: Names to defun, defvar, defconst,
tpeplt <=
- Re: Names to defun, defvar, defconst, CToID, 2024/07/02
- Message not available
- Message not available
- Re: Names to defun, defvar, defconst, CToID, 2024/07/02
- Re: Names to defun, defvar, defconst, uzibalqa, 2024/07/01
- RE: [External] : Re: Names to defun, defvar, defconst, Drew Adams, 2024/07/01
- RE: [External] : Re: Names to defun, defvar, defconst, Drew Adams, 2024/07/01
- Re: [External] : Re: Names to defun, defvar, defconst, Stefan Monnier, 2024/07/01
- RE: [External] : Re: Names to defun, defvar, defconst, Drew Adams, 2024/07/01