Subject: bug#8308: closed (Re: bug#8308: 23.3; Use utf-8 for writing abbrev file)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 23 Mar 2011 00:43:02 +0000

Your bug report

#8308: 23.3; Use utf-8 for writing abbrev file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8308
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8308: 23.3; Use utf-8 for writing abbrev file
From: Leo <[email-masked]>
To: [email-masked]
Date: Wed, 23 Mar 2011 08:42:08 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.1.

Subject: 23.3; Use utf-8 for writing abbrev file
From: Leo <[email-masked]>
To: [email-masked]
Date: Mon, 21 Mar 2011 14:22:24 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Is it OK to change the encoding for abbrev file to utf-8?

=== modified file 'lisp/abbrev.el'
--- a/lisp/abbrev.el	2011-03-21 05:49:12 +0000
+++ b/lisp/abbrev.el	2011-03-21 06:20:36 +0000
@@ -225,9 +225,9 @@
 		    abbrev-file-name)))
   (or (and file (> (length file) 0))
       (setq file abbrev-file-name))
-  (let ((coding-system-for-write 'emacs-mule))
+  (let ((coding-system-for-write 'utf-8))
     (with-temp-file file
-      (insert ";;-*-coding: emacs-mule;-*-\n")
+      (insert ";;-*-coding: utf-8;-*-\n")
       (dolist (table
                ;; We sort the table in order to ease the automatic
                ;; merging of different versions of the user's abbrevs

Leo