From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Saving when the coding system can't code all buffer characters Date: Fri, 22 Dec 2006 16:48:20 +0100 Message-ID: <868xh0szi3.fsf@lola.quinscape.zz> References: <6f1c06d176.6d1766f1c0@net.lu.se> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166802530 1455 80.91.229.10 (22 Dec 2006 15:48:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2006 15:48:50 +0000 (UTC) Cc: LENNART BORGMAN , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 22 16:48:48 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 1GxmdZ-0000RP-CP for ged-emacs-devel@m.gmane.org; Fri, 22 Dec 2006 16:48:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxmdY-0002MK-U9 for ged-emacs-devel@m.gmane.org; Fri, 22 Dec 2006 10:48:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxmdJ-0002It-5y for emacs-devel@gnu.org; Fri, 22 Dec 2006 10:48:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxmdG-0002Fv-90 for emacs-devel@gnu.org; Fri, 22 Dec 2006 10:48:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxmdG-0002FX-0J for emacs-devel@gnu.org; Fri, 22 Dec 2006 10:48:26 -0500 Original-Received: from [62.67.228.11] (helo=pc3.berlin.powerweb.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GxmdE-0004cM-TL for emacs-devel@gnu.org; Fri, 22 Dec 2006 10:48:25 -0500 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id QAA32519 for ; Fri, 22 Dec 2006 16:48:14 +0100 X-Delivered-To: Original-Received: (qmail 24802 invoked from network); 22 Dec 2006 15:48:21 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 22 Dec 2006 15:48:21 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id BEDF7C18B5; Fri, 22 Dec 2006 16:48:20 +0100 (CET) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Fri\, 22 Dec 2006 13\:50\:50 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:64112 Archived-At: Eli Zaretskii writes: >> Date: Fri, 22 Dec 2006 12:15:45 +0100 >> From: LENNART BORGMAN >> Cc: emacs-devel@gnu.org >> >> I meant that >> >> C-u C-x = >> >> at the prompt gives information about the current position in the >> minibuffer. Or am I wrong? > > You are supposed to type "C-u C-x =" in the buffer you are trying to > save. To this end, you can type "C-x o" to get out of the > minibuffer and to the buffer being saved, and then type "C-u C-x =". I think that is far too much to suppose from an average user. How about putting a property on the character that will highlight it and display the information on mouse-over in a tooltip? > Maybe we should simply include the information displayed by "C-u C-x > =" in the same *Warning* buffer that explains the problem. That > would eliminate the need for telling about "C-u C-x =" and for an > arrangement to find the problematic characters after C-g. Also an idea, but the warning is more dissociated from the buffer than a highlight and tooltip would be. -- David Kastrup