aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2009-08-29 02:25:29 +0000
committerStefan Monnier2009-08-29 02:25:29 +0000
commit82e98df4df1251dde645eb4878cc1225d067606a (patch)
tree1b9a8d5cc8c7770f1e49edfaa00750c2802e35ff /doc
parent2fc50e12d6118293661dd85b7797bb655f8f4a56 (diff)
downloademacs-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/ChangeLog6
-rw-r--r--doc/emacs/cmdargs.texi27
-rw-r--r--doc/emacs/mule.texi18
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 @@
12009-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
12009-08-20 Glenn Morris <rgm@gnu.org> 72009-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
334GNU Emacs Lisp Reference Manual}. 334GNU 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
341Do almost everything with single-byte buffers and strings.
342All buffers and strings are unibyte unless you (or a Lisp program)
343explicitly ask for a multibyte buffer or string. (Note that Emacs
344always loads Lisp files in multibyte mode, even if @samp{--unibyte} is
345specified; see @ref{Enabling Multibyte}.) Setting the environment
346variable @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
353Inhibit the effect of @env{EMACS_UNIBYTE}, so that Emacs
354uses 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
480Used by the @code{cd} command to search for the directory you specify, 459Used by the @code{cd} command to search for the directory you specify,
481when you specify a relative directory name. 460when you specify a relative directory name.
482@item EMACS_UNIBYTE
483@cindex unibyte operation, environment variable
484Defining this environment variable with a nonempty value directs Emacs
485to do almost everything with single-byte buffers and strings. It is
486equivalent to using the @samp{--unibyte} command-line option on each
487invocation. @xref{Initial Options}.
488@item EMACSDATA 461@item EMACSDATA
489Directory for the architecture-independent files that come with Emacs. 462Directory for the architecture-independent files that come with Emacs.
490This is used to initialize the Lisp variable @code{data-directory}. 463This 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
252character support, either for Emacs as a whole, or for a single 252character support, for a specific buffer.
253buffer. When multibyte characters are disabled in a buffer, we call 253When multibyte characters are disabled in a buffer, we call
254that @dfn{unibyte mode}. In unibyte mode, each character in the 254that @dfn{unibyte mode}. In unibyte mode, each character in the
255buffer has a character code ranging from 0 through 255 (0377 octal); 0 255buffer has a character code ranging from 0 through 255 (0377 octal); 0
256through 127 (0177 octal) represent @acronym{ASCII} characters, and 128 256through 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
269auto mode selection. 269auto 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
274the @samp{--unibyte} option (@pxref{Initial Options}), or set the
275environment variable @env{EMACS_UNIBYTE}.
276With @samp{--unibyte}, multibyte strings are not created during
277initialization from the values of environment variables,
278@file{/etc/passwd} entries etc., even if those contain
279non-@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.
286you used @samp{--unibyte}. This includes the Emacs initialization 276This includes the Emacs initialization
287file, @file{.emacs}, and the initialization files of Emacs packages 277file, @file{.emacs}, and the initialization files of Emacs packages
288such as Gnus. However, you can specify unibyte loading for a 278such as Gnus. However, you can specify unibyte loading for a
289particular Lisp file, by putting @w{@samp{-*-unibyte: t;-*-}} in a 279particular Lisp file, by putting @w{@samp{-*-unibyte: t;-*-}} in a