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: bug#10857: ucs-insert deals inconsistently with errors Date: Tue, 21 Feb 2012 10:16:02 +0100 Message-ID: References: <87obstt2n9.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1329815823 3242 80.91.229.3 (21 Feb 2012 09:17:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 09:17:03 +0000 (UTC) Cc: 10857@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 10:17:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzlqG-0002Qz-7T for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 10:17:00 +0100 Original-Received: from localhost ([::1]:42788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzlqF-0002ir-Ez for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 04:16:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzlq8-0002id-Jf for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 04:16:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rzlq2-0006eF-Qb for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 04:16:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzlq2-0006eA-P6 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 04:16:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RzlsD-0006lH-Rw for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 04:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2012 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10857-submit@debbugs.gnu.org id=B10857.132981591825958 (code B ref 10857); Tue, 21 Feb 2012 09:19:01 +0000 Original-Received: (at 10857) by debbugs.gnu.org; 21 Feb 2012 09:18:38 +0000 Original-Received: from localhost ([127.0.0.1]:48191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rzlrl-0006kV-LS for submit@debbugs.gnu.org; Tue, 21 Feb 2012 04:18:37 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:60208) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rzlre-0006k5-5p for 10857@debbugs.gnu.org; Tue, 21 Feb 2012 04:18:31 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Tsbm44CWTz4Kn9c; Tue, 21 Feb 2012 10:16:04 +0100 (CET) X-Auth-Info: fwSsOOIadWObPS0Dcw8oiD2hvUpnffWxtWa0MBKMtLo= Original-Received: from igel.home (ppp-88-217-124-99.dynamic.mnet-online.de [88.217.124.99]) by mail.mnet-online.de (Postfix) with ESMTPA id 74E1A1C0009B; Tue, 21 Feb 2012 10:16:04 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 86B5DCA299; Tue, 21 Feb 2012 10:16:03 +0100 (CET) X-Yow: Can you MAIL a BEAN CAKE? In-Reply-To: (Juanma Barranquero's message of "Tue, 21 Feb 2012 02:25:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57041 Archived-At: Juanma Barranquero writes: > On Tue, Feb 21, 2012 at 01:37, Juri Linkov wrote: > >>> The second problem can be trivially fixed with >>> (not (string-match-p "[^[:xdigit:]]" character)), >> >> In `read-char-by-name', the condition for this purpose is: >> >>  (string-match-p "^[0-9a-fA-F]+$" input) > > They are equivalent, aren't they? No. The latter ignores anything before or after a newline character, as long as there is a match on the other side of it. That can be fixed by using "\\`[0-9a-fA-F]+\\'". 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."