From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8308: 23.3; Use utf-8 for writing abbrev file Date: Mon, 21 Mar 2011 22:48:40 -0400 Message-ID: References: <834o6w9usy.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300763240 13307 80.91.229.12 (22 Mar 2011 03:07:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2011 03:07:20 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 22 04:07:16 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1rwA-0001Fu-2M for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2011 04:07:15 +0100 Original-Received: from localhost ([127.0.0.1]:50158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1rw8-0007Hl-MO for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2011 23:07:12 -0400 Original-Received: from [140.186.70.92] (port=37317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1rw2-0007HU-Jj for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 23:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1rw1-00056h-7v for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 23:07:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1rw1-00056V-6J for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 23:07:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q1reY-00027S-1D; Mon, 21 Mar 2011 22:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Mar 2011 02:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.13007621358133 (code B ref -1); Tue, 22 Mar 2011 02:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Mar 2011 02:48:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1reQ-000278-0k for submit@debbugs.gnu.org; Mon, 21 Mar 2011 22:48:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1reN-00026v-Gb for submit@debbugs.gnu.org; Mon, 21 Mar 2011 22:48:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1reH-0002QP-GI for submit@debbugs.gnu.org; Mon, 21 Mar 2011 22:48:46 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:48429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1reH-0002Q6-CE for submit@debbugs.gnu.org; Mon, 21 Mar 2011 22:48:45 -0400 Original-Received: from [140.186.70.92] (port=57335 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1reG-0002aW-Fd for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 22:48:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1reE-0002Oz-T1 for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 22:48:44 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62361 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1reE-0002Of-QG; Mon, 21 Mar 2011 22:48:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAASrh01Ld/X5/2dsb2JhbAClQniITbpnhWMElWk X-IronPort-AV: E=Sophos;i="4.63,223,1299474000"; d="scan'208";a="97503848" Original-Received: from 75-119-245-249.dsl.teksavvy.com (HELO ceviche.home) ([75.119.245.249]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Mar 2011 22:48:41 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C68EC660AF; Mon, 21 Mar 2011 22:48:40 -0400 (EDT) In-Reply-To: (Leo's message of "Tue, 22 Mar 2011 09:00:51 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Mar 2011 22:49:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45248 Archived-At: >>> I think we should just use utf-8-emacs. >> Why do you think so? > By the time 24.1 is released, it will be 1-2 years from now and there > will be two major stable releases that work with utf-8-emacs, which are > backward-compatible enough. But I don't know so I'll forget about this > bug and let the gurus figure it out. I think it might be OK to do it for Emacs-25, but since Emacs-22 can't handle utf-8-emacs, I think it's a bit early to switch to it in Emacs-24. If utf-8 is sufficient, OTOH it's the best choice. So maybe we should check the buffer first to see if utf-8 is safe, and only fall back to emacs-mule if utf-8 is not safe. Stefan