From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/scanning-charsets.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devdocs/elisp/scanning-charsets.html (limited to 'devdocs/elisp/scanning-charsets.html') diff --git a/devdocs/elisp/scanning-charsets.html b/devdocs/elisp/scanning-charsets.html new file mode 100644 index 00000000..ae68e483 --- /dev/null +++ b/devdocs/elisp/scanning-charsets.html @@ -0,0 +1,14 @@ +

Scanning for Character Sets

Sometimes it is useful to find out which character set a particular character belongs to. One use for this is in determining which coding systems (see Coding Systems) are capable of representing all of the text in question; another is to determine the font(s) for displaying that text.

Function: charset-after &optional pos +

This function returns the charset of highest priority containing the character at position pos in the current buffer. If pos is omitted or nil, it defaults to the current value of point. If pos is out of range, the value is nil.

+
Function: find-charset-region beg end &optional translation +
+

This function returns a list of the character sets of highest priority that contain characters in the current buffer between positions beg and end.

The optional argument translation specifies a translation table to use for scanning the text (see Translation of Characters). If it is non-nil, then each character in the region is translated through this table, and the value returned describes the translated characters instead of the characters actually in the buffer.

+
+
Function: find-charset-string string &optional translation +

This function returns a list of character sets of highest priority that contain characters in string. It is just like find-charset-region, except that it applies to the contents of string instead of part of the current buffer.

+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Scanning-Charsets.html +

+
-- cgit v1.2.3