diff options
| author | Stefan Monnier | 2009-08-29 02:25:29 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-08-29 02:25:29 +0000 |
| commit | 82e98df4df1251dde645eb4878cc1225d067606a (patch) | |
| tree | 1b9a8d5cc8c7770f1e49edfaa00750c2802e35ff /doc | |
| parent | 2fc50e12d6118293661dd85b7797bb655f8f4a56 (diff) | |
| download | emacs-82e98df4df1251dde645eb4878cc1225d067606a.tar.gz emacs-82e98df4df1251dde645eb4878cc1225d067606a.zip | |
* NEWS: Declare unibyte sessions obsolete.
* emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
(main): Use enable-multibyte-characters rather than
default-enable-multibyte-characters. Output a warning message when
running a unibyte session.
* mule.texi (Enabling Multibyte):
* cmdargs.texi (General Variables): Remove EMACS_UNIBYTE.
(Initial Options): Remove --(no-)multibyte, --(no-)unibyte.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/cmdargs.texi | 27 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 18 |
3 files changed, 10 insertions, 41 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index aa6d942d8c7..ce6f6c5ff12 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * mule.texi (Enabling Multibyte): | ||
| 4 | * cmdargs.texi (General Variables): Remove EMACS_UNIBYTE. | ||
| 5 | (Initial Options): Remove --(no-)multibyte, --(no-)unibyte. | ||
| 6 | |||
| 1 | 2009-08-20 Glenn Morris <rgm@gnu.org> | 7 | 2009-08-20 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * cal-xtra.texi (Non-Gregorian Diary): Mention ``Adar I'' special case. | 9 | * cal-xtra.texi (Non-Gregorian Diary): Mention ``Adar I'' special case. |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 1438c19c123..ca153a7e57c 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -333,27 +333,6 @@ Enable the Emacs Lisp debugger for errors in the init file. | |||
| 333 | @xref{Error Debugging,, Entering the Debugger on an Error, elisp, The | 333 | @xref{Error Debugging,, Entering the Debugger on an Error, elisp, The |
| 334 | GNU Emacs Lisp Reference Manual}. | 334 | GNU Emacs Lisp Reference Manual}. |
| 335 | 335 | ||
| 336 | @item --unibyte | ||
| 337 | @opindex --unibyte | ||
| 338 | @itemx --no-multibyte | ||
| 339 | @opindex --no-multibyte | ||
| 340 | @cindex unibyte operation, command-line argument | ||
| 341 | Do almost everything with single-byte buffers and strings. | ||
| 342 | All buffers and strings are unibyte unless you (or a Lisp program) | ||
| 343 | explicitly ask for a multibyte buffer or string. (Note that Emacs | ||
| 344 | always loads Lisp files in multibyte mode, even if @samp{--unibyte} is | ||
| 345 | specified; see @ref{Enabling Multibyte}.) Setting the environment | ||
| 346 | variable @env{EMACS_UNIBYTE} has the same effect | ||
| 347 | (@pxref{General Variables}). | ||
| 348 | |||
| 349 | @item --multibyte | ||
| 350 | @opindex --multibyte | ||
| 351 | @itemx --no-unibyte | ||
| 352 | @opindex --no-unibyte | ||
| 353 | Inhibit the effect of @env{EMACS_UNIBYTE}, so that Emacs | ||
| 354 | uses multibyte characters by default, as usual. | ||
| 355 | @end table | ||
| 356 | |||
| 357 | @node Command Example | 336 | @node Command Example |
| 358 | @appendixsec Command Argument Example | 337 | @appendixsec Command Argument Example |
| 359 | 338 | ||
| @@ -479,12 +458,6 @@ variables to be set, but it uses their values if they are set. | |||
| 479 | @item CDPATH | 458 | @item CDPATH |
| 480 | Used by the @code{cd} command to search for the directory you specify, | 459 | Used by the @code{cd} command to search for the directory you specify, |
| 481 | when you specify a relative directory name. | 460 | when you specify a relative directory name. |
| 482 | @item EMACS_UNIBYTE | ||
| 483 | @cindex unibyte operation, environment variable | ||
| 484 | Defining this environment variable with a nonempty value directs Emacs | ||
| 485 | to do almost everything with single-byte buffers and strings. It is | ||
| 486 | equivalent to using the @samp{--unibyte} command-line option on each | ||
| 487 | invocation. @xref{Initial Options}. | ||
| 488 | @item EMACSDATA | 461 | @item EMACSDATA |
| 489 | Directory for the architecture-independent files that come with Emacs. | 462 | Directory for the architecture-independent files that come with Emacs. |
| 490 | This is used to initialize the Lisp variable @code{data-directory}. | 463 | This is used to initialize the Lisp variable @code{data-directory}. |
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 663011d6f32..c630ba48e63 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -249,8 +249,8 @@ limitations. | |||
| 249 | 249 | ||
| 250 | @cindex turn multibyte support on or off | 250 | @cindex turn multibyte support on or off |
| 251 | Under very special circumstances, you may want to disable multibyte | 251 | Under very special circumstances, you may want to disable multibyte |
| 252 | character support, either for Emacs as a whole, or for a single | 252 | character support, for a specific buffer. |
| 253 | buffer. When multibyte characters are disabled in a buffer, we call | 253 | When multibyte characters are disabled in a buffer, we call |
| 254 | that @dfn{unibyte mode}. In unibyte mode, each character in the | 254 | that @dfn{unibyte mode}. In unibyte mode, each character in the |
| 255 | buffer has a character code ranging from 0 through 255 (0377 octal); 0 | 255 | buffer has a character code ranging from 0 through 255 (0377 octal); 0 |
| 256 | through 127 (0177 octal) represent @acronym{ASCII} characters, and 128 | 256 | through 127 (0177 octal) represent @acronym{ASCII} characters, and 128 |
| @@ -268,22 +268,12 @@ Coding}. Unlike @code{find-file-literally}, finding a file as | |||
| 268 | @samp{raw-text} doesn't disable format conversion, uncompression, or | 268 | @samp{raw-text} doesn't disable format conversion, uncompression, or |
| 269 | auto mode selection. | 269 | auto mode selection. |
| 270 | 270 | ||
| 271 | @vindex enable-multibyte-characters | ||
| 272 | @cindex environment variables, and non-@acronym{ASCII} characters | ||
| 273 | To turn off multibyte character support by default, start Emacs with | ||
| 274 | the @samp{--unibyte} option (@pxref{Initial Options}), or set the | ||
| 275 | environment variable @env{EMACS_UNIBYTE}. | ||
| 276 | With @samp{--unibyte}, multibyte strings are not created during | ||
| 277 | initialization from the values of environment variables, | ||
| 278 | @file{/etc/passwd} entries etc., even if those contain | ||
| 279 | non-@acronym{ASCII} characters. | ||
| 280 | |||
| 281 | @cindex Lisp files, and multibyte operation | 271 | @cindex Lisp files, and multibyte operation |
| 282 | @cindex multibyte operation, and Lisp files | 272 | @cindex multibyte operation, and Lisp files |
| 283 | @cindex unibyte operation, and Lisp files | 273 | @cindex unibyte operation, and Lisp files |
| 284 | @cindex init file, and non-@acronym{ASCII} characters | 274 | @cindex init file, and non-@acronym{ASCII} characters |
| 285 | Emacs normally loads Lisp files as multibyte, regardless of whether | 275 | Emacs normally loads Lisp files as multibyte. |
| 286 | you used @samp{--unibyte}. This includes the Emacs initialization | 276 | This includes the Emacs initialization |
| 287 | file, @file{.emacs}, and the initialization files of Emacs packages | 277 | file, @file{.emacs}, and the initialization files of Emacs packages |
| 288 | such as Gnus. However, you can specify unibyte loading for a | 278 | such as Gnus. However, you can specify unibyte loading for a |
| 289 | particular Lisp file, by putting @w{@samp{-*-unibyte: t;-*-}} in a | 279 | particular Lisp file, by putting @w{@samp{-*-unibyte: t;-*-}} in a |