aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2011-03-19 14:49:31 -0400
committerChong Yidong2011-03-19 14:49:31 -0400
commitb14e3e21ec6702d27257a1400681fc36ee10282f (patch)
treeb57ce354a1ca3637a4cad3fe1fcc6f42bfc2efa5 /doc
parent4525ce3eb56a1f4b7c50eac9217854bbd170f660 (diff)
parent20f5695598d3137257e24802479d003ea82eb5f9 (diff)
downloademacs-b14e3e21ec6702d27257a1400681fc36ee10282f.tar.gz
emacs-b14e3e21ec6702d27257a1400681fc36ee10282f.zip
Merge changes from emacs-23 branch
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog8
-rw-r--r--doc/lispref/keymaps.texi14
-rw-r--r--doc/lispref/nonascii.texi2
-rw-r--r--doc/lispref/strings.texi4
4 files changed, 16 insertions, 12 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index a0498bf46c2..437cbbd70d0 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,11 @@
12011-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * strings.texi (String Conversion): Don't mention
4 string-make-(uni|multi)byte (bug#8262).
5 * nonascii.texi (Converting Representations): Fix up range.
6 * keymaps.texi (Key Binding Commands): Update code point, avoid
7 "unibyte character" and remove mention of unibyte bindings.
8
12011-03-10 Eli Zaretskii <eliz@gnu.org> 92011-03-10 Eli Zaretskii <eliz@gnu.org>
2 10
3 * modes.texi (Operator Precedence Grammars): Don't use characters 11 * modes.texi (Operator Precedence Grammars): Don't use characters
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index af24ff5aa43..2648c22ca01 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1705,15 +1705,11 @@ or
1705 1705
1706@noindent 1706@noindent
1707and your language environment is multibyte Latin-1, these commands 1707and your language environment is multibyte Latin-1, these commands
1708actually bind the multibyte character with code 2294, not the unibyte 1708actually bind the multibyte character with code 246, not the byte
1709Latin-1 character with code 246 (@kbd{M-v}). In order to use this 1709code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this
1710binding, you need to enter the multibyte Latin-1 character as keyboard 1710binding, you need to teach Emacs how to decode the keyboard by using an
1711input. One way to do this is by using an appropriate input method 1711appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU
1712(@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). 1712Emacs Manual}).
1713
1714 If you want to use a unibyte character in the key binding, you can
1715construct the key sequence string using @code{multibyte-char-to-unibyte}
1716or @code{string-make-unibyte} (@pxref{Converting Representations}).
1717 1713
1718@deffn Command global-set-key key binding 1714@deffn Command global-set-key key binding
1719This function sets the binding of @var{key} in the current global map 1715This function sets the binding of @var{key} in the current global map
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 409ecc7e20c..6fcde611998 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -167,7 +167,7 @@ acceptable because the buffer's representation is a choice made by the
167user that cannot be overridden automatically. 167user that cannot be overridden automatically.
168 168
169 Converting unibyte text to multibyte text leaves @acronym{ASCII} 169 Converting unibyte text to multibyte text leaves @acronym{ASCII}
170characters unchanged, and converts bytes with codes 128 through 159 to 170characters unchanged, and converts bytes with codes 128 through 255 to
171the multibyte representation of raw eight-bit bytes. 171the multibyte representation of raw eight-bit bytes.
172 172
173 Converting multibyte text to unibyte converts all @acronym{ASCII} 173 Converting multibyte text to unibyte converts all @acronym{ASCII}
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index ce080bc221f..d062c215952 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -554,8 +554,8 @@ strings and integers. @code{format} (@pxref{Formatting Strings}) and
554@code{prin1-to-string} (@pxref{Output Functions}) can also convert 554@code{prin1-to-string} (@pxref{Output Functions}) can also convert
555Lisp objects into strings. @code{read-from-string} (@pxref{Input 555Lisp objects into strings. @code{read-from-string} (@pxref{Input
556Functions}) can ``convert'' a string representation of a Lisp object 556Functions}) can ``convert'' a string representation of a Lisp object
557into an object. The functions @code{string-make-multibyte} and 557into an object. The functions @code{string-to-multibyte} and
558@code{string-make-unibyte} convert the text representation of a string 558@code{string-to-unibyte} convert the text representation of a string
559(@pxref{Converting Representations}). 559(@pxref{Converting Representations}).
560 560
561 @xref{Documentation}, for functions that produce textual descriptions 561 @xref{Documentation}, for functions that produce textual descriptions