From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: [acm@muc.de: Re: Inadequate documentation of silly characters on screen.] Date: Wed, 18 Nov 2009 19:12:58 +0000 Message-ID: <20091118191258.GA2676@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1258571595 3737 80.91.229.12 (18 Nov 2009 19:13:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 19:13:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 20:13:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NApxj-0000TC-Qf for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 20:13:08 +0100 Original-Received: from localhost ([127.0.0.1]:48047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NApxj-0003kB-3K for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 14:13:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NApsp-00016P-OJ for emacs-devel@gnu.org; Wed, 18 Nov 2009 14:08:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NApsl-00014J-0h for emacs-devel@gnu.org; Wed, 18 Nov 2009 14:08:03 -0500 Original-Received: from [199.232.76.173] (port=50824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NApsk-00014G-SL for emacs-devel@gnu.org; Wed, 18 Nov 2009 14:07:58 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:1655 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NApsk-000714-A9 for emacs-devel@gnu.org; Wed, 18 Nov 2009 14:07:58 -0500 Original-Received: (qmail 23951 invoked by uid 3782); 18 Nov 2009 19:07:56 -0000 Original-Received: from acm.muc.de (pD9E22877.dip.t-dialin.net [217.226.40.119]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 18 Nov 2009 20:07:54 +0100 Original-Received: (qmail 2828 invoked by uid 1000); 18 Nov 2009 19:12:58 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:117204 Archived-At: Hi, Emacs! This is the message I meant to CC: to emacs-devel. It looks serious. ----- Forwarded message from Alan Mackenzie ----- Date: Wed, 18 Nov 2009 11:04:53 +0000 From: Alan Mackenzie To: Miles Bader Subject: Re: Inadequate documentation of silly characters on screen. Hi, again, Miles! On Wed, Nov 18, 2009 at 06:40:53PM +0900, Miles Bader wrote: > Alan Mackenzie writes: > > Once again, I'm getting silly characters on the screen. In *scratch*, > > where's I've written "ñ", what gets displayed is "\361". It may have > > happened when I upgraded to Emacs 23. > Does it happen with "emacs -Q"? > How do you "write" ñ (do you use an input method? Type it on your keyboard...?)? Of the good and the bad representations, if I do "C-x =" on each, I get this: Char: ñ (241, #o361, #xf1, file #xF1) Char: \361 (4194289, #o17777761, #x3ffff1, raw-byte) This sequence reproduces the bug: M-: (setq nl "\n") M-: (aset nl 0 ?ñ M-: (insert nl) So it looks a bit like the `aset' invocation is doing damage, by doing sign extension rather than zero filling. > Do you use X emacs, emacs in a tty, etc.? If tty emacs, which type of > terminal do you use? Linux tty. > -Miles -- Alan Mackenzie (Nuremberg, Germany). ----- End forwarded message -----