aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2013-11-04 19:30:33 +0200
committerEli Zaretskii2013-11-04 19:30:33 +0200
commitd0065ff1244871c9eb40420b88fc89f9f008b587 (patch)
treea869fa565b559c7b0a9390fd6045d7d827d001ec /src/ChangeLog
parent7397c58760779a3aa83ff58164455761d77cd642 (diff)
downloademacs-d0065ff1244871c9eb40420b88fc89f9f008b587.tar.gz
emacs-d0065ff1244871c9eb40420b88fc89f9f008b587.zip
Fix bug #15260 with building and installing Emacs in non-ASCII directories.
src/xdisp.c (message3_nolog, message_with_string): Encode the string before writing it to the terminal in a non-interactive session. src/lread.c (openp): If both FILENAME and SUFFIX are unibyte, make sure we concatenate them into a unibyte string. src/fileio.c (make_temp_name): Encode PREFIX, and decode the resulting temporary name before returning it to the caller. (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY is a unibyte string, convert NAME to a unibyte string to ensure that the result is also a unibyte string. src/emacs.c (init_cmdargs): Use build_unibyte_string to make sure we create unibyte strings from default paths and directory/file names. src/coding.h (ENCODE_FILE): Do not attempt to encode a unibyte string. src/callproc.c (init_callproc): Use build_unibyte_string to make sure we create unibyte strings from default paths and directory/file names. src/buffer.c (init_buffer): Don't store default-directory of *scratch* in multibyte form. The original problem which led to that is described in http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html, but it was solved long ago. lisp/startup.el (normal-top-level): Move setting eol-mnemonic-unix, eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale environment and decoding all of the default-directory's to here from command-line. (command-line): Decode also argv[0]. lisp/loadup.el: Error out if default-directory is a multibyte string when we are dumping. lisp/Makefile.in (emacs): Don't set LC_ALL=C. leim/Makefile.in (RUN_EMACS): Don't set LC_ALL=C. configure.ac: Don't disallow builds in non-ASCII directories.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1c56a7c5996..f6f4dc3ef88 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12013-11-04 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (message3_nolog, message_with_string): Encode the string
4 before writing it to the terminal in a non-interactive session.
5
6 * lread.c (openp): If both FILENAME and SUFFIX are unibyte, make
7 sure we concatenate them into a unibyte string.
8
9 * fileio.c (make_temp_name): Encode PREFIX, and decode the
10 resulting temporary name before returning it to the caller.
11 (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY
12 is a unibyte string, convert NAME to a unibyte string to ensure
13 that the result is also a unibyte string.
14
15 * emacs.c (init_cmdargs): Use build_unibyte_string to make sure we
16 create unibyte strings from default paths and directory/file
17 names.
18
19 * coding.h (ENCODE_FILE): Do not attempt to encode a unibyte
20 string.
21
22 * callproc.c (init_callproc): Use build_unibyte_string to make
23 sure we create unibyte strings from default paths and
24 directory/file names.
25
26 * buffer.c (init_buffer): Don't store default-directory of
27 8scratch* in multibyte form. The original problem which led to
28 that is described in
29 http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html,
30 but it was solved long ago. (Bug#15260)
31
12013-11-04 Paul Eggert <eggert@cs.ucla.edu> 322013-11-04 Paul Eggert <eggert@cs.ucla.edu>
2 33
3 Port to stricter C99 platforms. 34 Port to stricter C99 platforms.