Mercurial > emacs
diff doc/lispref/nonascii.texi @ 103264:b269cabac20c
* syntax.texi (Position Parse): Document rationale for ignored
arguments to syntax-ppss-flush-cache.
* processes.texi (Input to Processes): Mark PROCESS arg to
process-running-child-p as optional.
(Network Options): Document NO-ERROR arg to
set-network-process-option.
* buffers.texi (Indirect Buffers): Mark clone-indirect-buffer as a
command.
* searching.texi (POSIX Regexps): Mark posix-search-forward and
posix-search-backward as commands.
* os.texi (Killing Emacs): Mark kill-emacs as a command.
(Suspending Emacs): Mark suspend-emacs as a command.
(Processor Run Time): Mark emacs-uptime and emacs-init-time as
commands.
(Terminal Output): Remove obsolete function baud-rate. Document
TERMINAL arg for send-string-to-terminal.
* nonascii.texi (Terminal I/O Encoding): Document TERMINAL arg for
terminal-coding-system and set-terminal-coding-system.
(Explicit Encoding): Mark DESTINATION arg of decode-coding-region
as optional.
(Character Sets): Document RESTRICTION arg of char-charset.
(Character Codes): Mark POS argument to get-byte as optional.
* minibuf.texi (Minibuffer Misc): Document ARGS arg for
minibuffer-message.
* files.texi (Create/Delete Dirs): Mark make-directory and
delete-directory as commands.
* abbrevs.texi (Abbrev Tables): Fix arglist for make-abbrev-table.
* text.texi (Base 64): Mark base64-decode-string and
base64-encode-string as commands.
(Columns): Mark move-to-column as a command.
(Mode-Specific Indent): Document RIGID arg to
indent-for-tab-command.
(Region Indent): Mark TO-COLUMN arg to indent-region as optional.
Mark indent-code-rigidly as a command.
(Substitution): Mark translate-region as a command.
* frames.texi (Size and Position): Remove obsolete functions
screen-height and screen-width.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 20 May 2009 02:56:33 +0000 |
parents | 01f2551ebd1b |
children | c32ec20d0ab5 |
line wrap: on
line diff
--- a/doc/lispref/nonascii.texi Wed May 20 02:35:45 2009 +0000 +++ b/doc/lispref/nonascii.texi Wed May 20 02:56:33 2009 +0000 @@ -328,7 +328,7 @@ @end example @end defun -@defun get-byte pos &optional string +@defun get-byte &optional pos string This function returns the byte at character position @var{pos} in the current buffer. If the current buffer is unibyte, this is literally the byte at that position. If the buffer is multibyte, byte values of @@ -573,10 +573,15 @@ This function makes @var{charsets} the highest priority character sets. @end defun -@defun char-charset character +@defun char-charset character &optional restriction This function returns the name of the character set of highest priority that @var{character} belongs to. @acronym{ASCII} characters are an exception: for them, this function always returns @code{ascii}. + +If @var{restriction} is non-@code{nil}, it should be a list of +charsets to search. Alternatively, it can be a coding system, in +which case the returned charset must be supported by that coding +system (@pxref{Coding Systems}). @end defun @defun charset-plist charset @@ -1621,7 +1626,7 @@ operation is trivial. The result of encoding is a unibyte string. @end defun -@deffn Command decode-coding-region start end coding-system destination +@deffn Command decode-coding-region start end coding-system &optional destination This command decodes the text from @var{start} to @var{end} according to coding system @var{coding-system}. To make explicit decoding useful, the text before decoding ought to be a sequence of byte @@ -1706,15 +1711,20 @@ terminal. @xref{Multiple Terminals}. @end deffn -@defun terminal-coding-system +@defun terminal-coding-system &optional terminal This function returns the coding system that is in use for encoding -terminal output---or @code{nil} for no encoding. +terminal output from @var{terminal}---or @code{nil} if the output is +not encoded. If @var{terminal} is a frame, it means that frame's +terminal; if it is @code{nil}, that means the currently selected +frame's terminal. @end defun -@deffn Command set-terminal-coding-system coding-system +@deffn Command set-terminal-coding-system coding-system &optional terminal This command specifies @var{coding-system} as the coding system to use -for encoding terminal output. If @var{coding-system} is @code{nil}, -that means do not encode terminal output. +for encoding terminal output from @var{terminal}. If +@var{coding-system} is @code{nil}, terminal output is not encoded. If +@var{terminal} is a frame, it means that frame's terminal; if it is +@code{nil}, that means the currently selected frame's terminal. @end deffn @node MS-DOS File Types