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: Tue, 22 Mar 2011 14:27:04 -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 1300819232 26507 80.91.229.12 (22 Mar 2011 18:40:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2011 18:40:32 +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 19:40:27 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 1Q26VH-0004VB-9y for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2011 19:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:52101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q26VG-0003vZ-La for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2011 14:40:26 -0400 Original-Received: from [140.186.70.92] (port=58613 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q26V6-0003sH-8T for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:40:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q26V5-0008Fz-2Y for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:40:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q26V5-0008Fl-0P for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:40:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q26JF-0001q9-NA; Tue, 22 Mar 2011 14:28:01 -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 18:28: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.13008184477027 (code B ref -1); Tue, 22 Mar 2011 18:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Mar 2011 18:27:27 +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 1Q26If-0001pI-Hs for submit@debbugs.gnu.org; Tue, 22 Mar 2011 14:27:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q26Ic-0001p4-Ql for submit@debbugs.gnu.org; Tue, 22 Mar 2011 14:27:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q26IW-0005Rw-NP for submit@debbugs.gnu.org; Tue, 22 Mar 2011 14:27:17 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q26IW-0005Rr-LN for submit@debbugs.gnu.org; Tue, 22 Mar 2011 14:27:16 -0400 Original-Received: from [140.186.70.92] (port=53183 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q26IV-00004t-F6 for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:27:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q26IT-0005Qv-RF for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:27:15 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q26IT-0005Pc-KN for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2011 14:27:13 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p2MISDrU000531; Tue, 22 Mar 2011 14:28:13 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 8DF9DB4269; Tue, 22 Mar 2011 14:27:05 -0400 (EDT) In-Reply-To: (Leo's message of "Tue, 22 Mar 2011 18:41:39 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3804=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3804> : streams <611568> : uri <832846> 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: Tue, 22 Mar 2011 14:28:01 -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:45263 Archived-At: >> (unibyte-string 129) returns a string containing an unencodable char. >> So you can test with it. > I still cannot get any byte into the abbrevs. For example, > (unibyte-string 129) returns byte \201 but when it is written to abbrev > file by write-abbrev-file, it is changed to \ 2 0 1, so utf-8 appear > sufficient even for bytes. Good. In any case your unencodable-foo test would trigger if there were eight-bit-chars in there, so it works correctly in this respect. Please install your patch. Stefan