GNU bug report logs - #8308
23.3; Use utf-8 for writing abbrev file

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 21 Mar 2011 06:23:01 UTC

Severity: minor

Found in version 23.3

Fixed in version 24.1.

Done: Leo <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo <sdl.web <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8308: closed (23.3; Use utf-8 for writing abbrev file)
Date: Wed, 23 Mar 2011 00:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 23 Mar 2011 08:42:08 +0800
with message-id <m1wrjqy8f3.fsf <at> gmail.com>
and subject line Re: bug#8308: 23.3; Use utf-8 for writing abbrev file
has caused the GNU bug report #8308,
regarding 23.3; Use utf-8 for writing abbrev file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8308
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; Use utf-8 for writing abbrev file
Date: Mon, 21 Mar 2011 14:22:24 +0800
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


[Message part 3 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: 8308-done <at> debbugs.gnu.org
Subject: Re: bug#8308: 23.3; Use utf-8 for writing abbrev file
Date: Wed, 23 Mar 2011 08:42:08 +0800
Version: 24.1.


This bug report was last modified 14 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.