From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: bug#5221: 23.1; read_escape too greedy with "\x" Date: Thu, 17 Dec 2009 16:53:43 +0100 Message-ID: References: <87fx7cpgia.fsf@dasa3.iem.pw.edu.pl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1261104836 5534 80.91.229.12 (18 Dec 2009 02:53:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 02:53:56 +0000 (UTC) Cc: 5221@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org To: =?utf-8?Q?=C5=81ukasz?= Stelmach Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 18 03:53:49 2009 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.50) id 1NLSyS-0006T3-3B for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Dec 2009 03:53:48 +0100 Original-Received: from localhost ([127.0.0.1]:55563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLSyS-0004e6-5o for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Dec 2009 21:53:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLIfw-00010z-3L for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2009 10:54:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLIfr-0000pj-At for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2009 10:53:59 -0500 Original-Received: from [199.232.76.173] (port=42793 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLIfr-0000pV-8V for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2009 10:53:55 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:59177) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLIfq-00032G-ST for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2009 10:53:55 -0500 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id B8EB31C1562D; Thu, 17 Dec 2009 16:53:46 +0100 (CET) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 5059190382; Thu, 17 Dec 2009 16:53:46 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id 1-WdvnH3fgdq; Thu, 17 Dec 2009 16:53:45 +0100 (CET) Original-Received: from igel.home (DSL01.83.171.157.103.ip-pool.NEFkom.net [83.171.157.103]) by mail.mnet-online.de (Postfix) with ESMTP; Thu, 17 Dec 2009 16:53:45 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id E50C9CA28C; Thu, 17 Dec 2009 16:53:44 +0100 (CET) X-Yow: Finally, Zippy drives his 1958 RAMBLER METROPOLITAN into the faculty dining room. In-Reply-To: <87fx7cpgia.fsf@dasa3.iem.pw.edu.pl> (=?utf-8?Q?=22=C5=81ukas?= =?utf-8?Q?z?= Stelmach"'s message of "Tue, 15 Dec 2009 13:29:33 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:33668 Archived-At: Ɓukasz Stelmach writes: > Emacs (read_escape() function at lread.c file) interpretinterprets > "\x3a480" string as "0x3a480" instead of ":" and "480" coming next. > Some software (most? gnupg to name one) assume these escapes represent > single bytes. Then they are broken. The syntax of strings is documented in (elisp)String Type. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."