diff options
| author | Paul Eggert | 2011-03-20 22:34:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-20 22:34:48 -0700 |
| commit | 6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef (patch) | |
| tree | f7ff137da14c352412ee3dc3fbcaf1316428fd97 /doc | |
| parent | 81e56e612dab7d80485c640068531710a713d205 (diff) | |
| parent | 77185bdf91d42fb19c02af0f51ce63280ce911a0 (diff) | |
| download | emacs-6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef.tar.gz emacs-6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef.zip | |
Merge from trunk and from gnulib stdio.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 14 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/message.texi | 4 |
6 files changed, 25 insertions, 12 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a0498bf46c2..c705aae4934 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2011-03-19 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 | |||
| 1 | 2011-03-10 Eli Zaretskii <eliz@gnu.org> | 9 | 2011-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 |
| 1707 | and your language environment is multibyte Latin-1, these commands | 1707 | and your language environment is multibyte Latin-1, these commands |
| 1708 | actually bind the multibyte character with code 2294, not the unibyte | 1708 | actually bind the multibyte character with code 246, not the byte |
| 1709 | Latin-1 character with code 246 (@kbd{M-v}). In order to use this | 1709 | code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this |
| 1710 | binding, you need to enter the multibyte Latin-1 character as keyboard | 1710 | binding, you need to teach Emacs how to decode the keyboard by using an |
| 1711 | input. One way to do this is by using an appropriate input method | 1711 | appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU |
| 1712 | (@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). | 1712 | Emacs Manual}). |
| 1713 | |||
| 1714 | If you want to use a unibyte character in the key binding, you can | ||
| 1715 | construct the key sequence string using @code{multibyte-char-to-unibyte} | ||
| 1716 | or @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 |
| 1719 | This function sets the binding of @var{key} in the current global map | 1715 | This 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 | |||
| 167 | user that cannot be overridden automatically. | 167 | user 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} |
| 170 | characters unchanged, and converts bytes with codes 128 through 159 to | 170 | characters unchanged, and converts bytes with codes 128 through 255 to |
| 171 | the multibyte representation of raw eight-bit bytes. | 171 | the 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 |
| 555 | Lisp objects into strings. @code{read-from-string} (@pxref{Input | 555 | Lisp objects into strings. @code{read-from-string} (@pxref{Input |
| 556 | Functions}) can ``convert'' a string representation of a Lisp object | 556 | Functions}) can ``convert'' a string representation of a Lisp object |
| 557 | into an object. The functions @code{string-make-multibyte} and | 557 | into 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 |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 5dd5e3e4fdc..50f0e4e45b9 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -2,6 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | * calc.texi (Logarithmic Units): Update the function names. | 3 | * calc.texi (Logarithmic Units): Update the function names. |
| 4 | 4 | ||
| 5 | 2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 6 | |||
| 7 | * message.texi (Various Commands): Document format specs in the | ||
| 8 | ellipsis. | ||
| 9 | |||
| 5 | 2011-03-15 Antoine Levitt <antoine.levitt@gmail.com> | 10 | 2011-03-15 Antoine Levitt <antoine.levitt@gmail.com> |
| 6 | 11 | ||
| 7 | * message.texi (Insertion Variables): Document message-cite-style. | 12 | * message.texi (Insertion Variables): Document message-cite-style. |
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 7d61ffd9efa..48d0028e452 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -1202,6 +1202,10 @@ The text is killed and replaced with the contents of the variable | |||
| 1202 | @code{message-elide-ellipsis}. The default value is to use an ellipsis | 1202 | @code{message-elide-ellipsis}. The default value is to use an ellipsis |
| 1203 | (@samp{[...]}). | 1203 | (@samp{[...]}). |
| 1204 | 1204 | ||
| 1205 | This is a format-spec string, and you can use @samp{%l} to say how | ||
| 1206 | many lines were removed, and @samp{%c} to say how many characters were | ||
| 1207 | removed. | ||
| 1208 | |||
| 1205 | @item C-c M-k | 1209 | @item C-c M-k |
| 1206 | @kindex C-c M-k | 1210 | @kindex C-c M-k |
| 1207 | @findex message-kill-address | 1211 | @findex message-kill-address |