emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 b7d7c2d9e9: Add cross-reference to alternative syntaxes for Uni


From: Robert Pluim
Subject: emacs-28 b7d7c2d9e9: Add cross-reference to alternative syntaxes for Unicode
Date: Fri, 14 Oct 2022 11:15:14 -0400 (EDT)

branch: emacs-28
commit b7d7c2d9e98ffd3c01e2276d8aaaaf9bcc6f2d1c
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    Add cross-reference to alternative syntaxes for Unicode
    
    These alternative syntaxes allow you to specify Unicode codepoints
    using only ASCII, which helps avoid decoding issues.
    
    * doc/emacs/custom.texi (Init Non-ASCII): Add cross reference to
    "General Escape Syntax" in the Emacs Lisp Reference Manual.
---
 doc/emacs/custom.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 2d63b2a717..2bc1d3820d 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -2792,6 +2792,12 @@ strings incorrectly.  You should then avoid adding Emacs 
Lisp code
 that modifies the coding system in other ways, such as calls to
 @code{set-language-environment}.
 
+  An alternative to using non-@acronym{ASCII} characters directly is
+to use one of the character escape syntaxes described in
+@pxref{General Escape Syntax,,, elisp, The Emacs Lisp Reference
+Manual}, as they allow all Unicode codepoints to be specified using
+only @acronym{ASCII} characters.
+
   To bind non-@acronym{ASCII} keys, you must use a vector (@pxref{Init
 Rebinding}).  The string syntax cannot be used, since the
 non-@acronym{ASCII} characters will be interpreted as meta keys.  For



reply via email to

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