emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/international/mule-cmds.el


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/lisp/international/mule-cmds.el
Date: Thu, 07 Jul 2005 02:20:13 -0400

Index: emacs/lisp/international/mule-cmds.el
diff -c emacs/lisp/international/mule-cmds.el:1.276 
emacs/lisp/international/mule-cmds.el:1.277
*** emacs/lisp/international/mule-cmds.el:1.276 Mon Jul  4 17:22:27 2005
--- emacs/lisp/international/mule-cmds.el       Thu Jul  7 06:20:13 2005
***************
*** 321,329 ****
    o coding system of a newly created buffer
    o default coding system for subprocess I/O
  This also sets the following values:
!   o default value used as `file-name-coding-system' for converting file names.
    o default value for the command `set-terminal-coding-system' (not on MSDOS)
!   o default value for the command `set-keyboard-coding-system'."
    (check-coding-system coding-system)
    (setq-default buffer-file-coding-system coding-system)
    (if (fboundp 'ucs-set-table-for-input)
--- 321,331 ----
    o coding system of a newly created buffer
    o default coding system for subprocess I/O
  This also sets the following values:
!   o default value used as `file-name-coding-system' for converting file names
!       if CODING-SYSTEM is ASCII-compatible.
    o default value for the command `set-terminal-coding-system' (not on MSDOS)
!   o default value for the command `set-keyboard-coding-system'
!       if CODING-SYSTEM is ASCII-compatible.."
    (check-coding-system coding-system)
    (setq-default buffer-file-coding-system coding-system)
    (if (fboundp 'ucs-set-table-for-input)
***************
*** 331,344 ****
        (or (local-variable-p 'buffer-file-coding-system buffer)
            (ucs-set-table-for-input buffer))))
  
!   (if (and default-enable-multibyte-characters (not (eq system-type 'darwin)))
        ;; The file-name coding system on Darwin systems is always utf-8.
        (setq default-file-name-coding-system coding-system))
    ;; If coding-system is nil, honor that on MS-DOS as well, so
    ;; that they could reset the terminal coding system.
    (unless (and (eq window-system 'pc) coding-system)
      (setq default-terminal-coding-system coding-system))
!   (setq default-keyboard-coding-system coding-system)
    ;; Preserve eol-type from existing default-process-coding-systems.
    ;; On non-unix-like systems in particular, these may have been set
    ;; carefully by the user, or by the startup code, to deal with the
--- 333,350 ----
        (or (local-variable-p 'buffer-file-coding-system buffer)
            (ucs-set-table-for-input buffer))))
  
!   (if (and default-enable-multibyte-characters (not (eq system-type 'darwin))
!          (or (not coding-system)
!              (not (coding-system-get coding-system 'ascii-incompatible))))
        ;; The file-name coding system on Darwin systems is always utf-8.
        (setq default-file-name-coding-system coding-system))
    ;; If coding-system is nil, honor that on MS-DOS as well, so
    ;; that they could reset the terminal coding system.
    (unless (and (eq window-system 'pc) coding-system)
      (setq default-terminal-coding-system coding-system))
!   (if (or (not coding-system)
!         (not (coding-system-get coding-system 'ascii-incompatible)))
!       (setq default-keyboard-coding-system coding-system))
    ;; Preserve eol-type from existing default-process-coding-systems.
    ;; On non-unix-like systems in particular, these may have been set
    ;; carefully by the user, or by the startup code, to deal with the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]