[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/nonascii.texi
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/nonascii.texi |
Date: |
Mon, 07 Mar 2005 22:07:54 -0500 |
Index: emacs/lispref/nonascii.texi
diff -c emacs/lispref/nonascii.texi:1.44 emacs/lispref/nonascii.texi:1.45
*** emacs/lispref/nonascii.texi:1.44 Tue Feb 17 01:04:35 2004
--- emacs/lispref/nonascii.texi Tue Mar 8 03:07:54 2005
***************
*** 95,103 ****
@defun position-bytes position
@tindex position-bytes
! Return the byte-position corresponding to buffer position @var{position}
! in the current buffer. If @var{position} is out of range, the value
! is @code{nil}.
@end defun
@defun byte-to-position byte-position
--- 95,104 ----
@defun position-bytes position
@tindex position-bytes
! Return the byte-position corresponding to buffer position
! @var{position} in the current buffer. This is 1 at the start of the
! buffer, and counts upward in bytes. If @var{position} is out of
! range, the value is @code{nil}.
@end defun
@defun byte-to-position byte-position
***************
*** 359,364 ****
--- 360,370 ----
special purposes within Emacs.
@end defun
+ @deffn Command list-charset-chars charset
+ This command displays a list of characters in the character set
+ @var{charset}.
+ @end deffn
+
@node Chars and Bytes
@section Characters and Bytes
@cindex bytes and characters
***************
*** 474,479 ****
--- 480,492 ----
coding systems (@pxref{Coding Systems}) are capable of representing all
of the text in question.
+ @defun charset-after &optional pos
+ This function return the charset of a character in the current buffer
+ at position @var{pos}. If @var{pos} is omitted or @code{nil}, it
+ defauls to the current value of point. If @var{pos} is out of range,
+ the value is @code{nil}.
+ @end defun
+
@defun find-charset-region beg end &optional translation
This function returns a list of the character sets that appear in the
current buffer between positions @var{beg} and @var{end}.
***************
*** 673,679 ****
uses one to encode the buffer contents.
You can specify the coding system to use either explicitly
! (@pxref{Specifying Coding Systems}), or implicitly using the defaulting
mechanism (@pxref{Default Coding Systems}). But these methods may not
completely specify what to do. For example, they may choose a coding
system such as @code{undefined} which leaves the character code
--- 686,692 ----
uses one to encode the buffer contents.
You can specify the coding system to use either explicitly
! (@pxref{Specifying Coding Systems}), or implicitly using a default
mechanism (@pxref{Default Coding Systems}). But these methods may not
completely specify what to do. For example, they may choose a coding
system such as @code{undefined} which leaves the character code
- [Emacs-diffs] Changes to emacs/lispref/nonascii.texi,
Richard M . Stallman <=