From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3687: 23.1.50; inconsistency in multibyte eight-bit regexps Date: Mon, 29 Jun 2009 10:47:30 +0200 Message-ID: References: <200906260956.n5Q9uo917123@church.math.s.chiba-u.ac.jp> <83my7vyute.fsf@gnu.org> <83iqiiyq64.fsf@gnu.org> Reply-To: Stefan Monnier , 3687@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246265874 11772 80.91.229.12 (29 Jun 2009 08:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2009 08:57:54 +0000 (UTC) Cc: 3687@emacsbugs.donarmstrong.com To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 29 10:57:43 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 1MLCgI-0000pV-Nh for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2009 10:57:43 +0200 Original-Received: from localhost ([127.0.0.1]:33152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLCgI-0003SC-0L for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2009 04:57:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLCgA-0003OE-6N for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:57:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLCg4-0003Ez-Td for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:57:33 -0400 Original-Received: from [199.232.76.173] (port=48557 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLCg4-0003EP-Fg for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:57:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52403) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLCg3-0006D7-Rn for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2009 04:57:28 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5T8vOs1008708; Mon, 29 Jun 2009 01:57:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5T8t6Ko008102; Mon, 29 Jun 2009 01:55:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 29 Jun 2009 08:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3687 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3687-submit@emacsbugs.donarmstrong.com id=B3687.12462652567098 (code B ref 3687); Mon, 29 Jun 2009 08:55:06 +0000 Original-Received: (at 3687) by emacsbugs.donarmstrong.com; 29 Jun 2009 08:47:36 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp-01.vtx.ch (smtp-01.vtx.ch [212.147.0.84]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5T8lV9P007086 for <3687@emacsbugs.donarmstrong.com>; Mon, 29 Jun 2009 01:47:33 -0700 Original-Received: from alfajor.home (dyn.83-228-190-143.dsl.vtx.ch [83.228.190.143]) by smtp-01.vtx.ch (VTX Services SA) with ESMTP id DF398281D1; Mon, 29 Jun 2009 10:47:30 +0200 (CEST) Original-Received: by alfajor.home (Postfix, from userid 20848) id BB10C6433E; Mon, 29 Jun 2009 10:47:30 +0200 (CEST) In-Reply-To: (YAMAMOTO Mitsuharu's message of "Mon, 29 Jun 2009 12:02:41 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 29 Jun 2009 04:57:33 -0400 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:29075 Archived-At: > It seemed to be too obvious to explain and I hesitated to do that. > Anyway, I assume "C" and "[C]" work equivalently as regexps if the > character C has no special meaning in either context. Yes, it's pretty obvious, thank you. I haven't had time to look deeper, but that part of the code is pretty nasty because it tries to be clever about the fact that values between 128-256 can be either latin-1 chars and eight-bit-bytes and it tries to be lenient about confusion between the two. The behavior you see is clearly a bug. Stefan