From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Saving when the coding system can't code all buffer characters Date: Thu, 28 Dec 2006 06:20:30 +0200 Message-ID: References: <458B0D75.9010204@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1167279657 22882 80.91.229.10 (28 Dec 2006 04:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2006 04:20:57 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 28 05:20:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GzmlB-00075r-BX for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 05:20:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzmlA-0001qT-RI for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 23:20:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gzmkx-0001qB-R6 for emacs-devel@gnu.org; Wed, 27 Dec 2006 23:20:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gzmkw-0001pv-Mu for emacs-devel@gnu.org; Wed, 27 Dec 2006 23:20:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gzmkw-0001ps-Id for emacs-devel@gnu.org; Wed, 27 Dec 2006 23:20:38 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gzmku-0002w3-QH; Wed, 27 Dec 2006 23:20:37 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-38-227.inter.net.il [80.230.38.227]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id FOS32653 (AUTH halo1); Thu, 28 Dec 2006 06:20:27 +0200 (IST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 27 Dec 2006 16:16:50 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64386 Archived-At: > From: Richard Stallman > Date: Wed, 27 Dec 2006 16:16:50 -0500 > Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org > > I am talking about the interesting parts of the output of C-u C-x =. > All or part of this: > > character: á (2273, #o4341, #x8e1, U+00E1) > charset: latin-iso8859-1 > (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100.) > category: l:Latin > to input: type "a'" with latin-1-postfix > > How about putting some of that into the warning buffer? > > It need not be ALL of those 5 lines -- just whatever part seems > useful. And the parts we use could be combined so as to > occupy fewer lines. That ought to avoid the problem of making the > warning too long so that it always needs scrolling. I suggested doing that, but I realize now that this isn't easy. The *Warning* buffer shows several characters for each encoding that is unsafe, like this: However, each of them encountered characters it couldn't encode: cp1251-unix cannot encode these: x x x x x x x x x ... iso-latin-1-unix cannot encode these: y y y y y y y y y ... Each one of `x' and `y' is a different character, potentially from several different character sets. How to display information about them based on what "C-u C-x =" produces?