From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12054: 24.1; regression? font-lock no-break-space with nil nobreak-char-display Date: Sat, 03 Nov 2012 18:56:49 +0200 Message-ID: <83vcdm4oby.fsf@gnu.org> References: <87mwyzyn76.fsf@gnu.org> <45DEAA69BC6E4630BA8DA0B07A0ECE92@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1351961891 18899 80.91.229.3 (3 Nov 2012 16:58:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2012 16:58:11 +0000 (UTC) Cc: cyd@gnu.org, 12054@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 03 17:58:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TUh36-0002ky-4f for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2012 17:58:20 +0100 Original-Received: from localhost ([::1]:35716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUh2x-0004nv-GW for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2012 12:58:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUh2v-0004np-EV for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 12:58:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUh2u-0006HT-91 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 12:58:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUh2u-0006HF-40 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 12:58:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TUh5i-0003rD-9b for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Nov 2012 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12054 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12054-submit@debbugs.gnu.org id=B12054.135196203814793 (code B ref 12054); Sat, 03 Nov 2012 17:01:02 +0000 Original-Received: (at 12054) by debbugs.gnu.org; 3 Nov 2012 17:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:47365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUh5K-0003qY-H8 for submit@debbugs.gnu.org; Sat, 03 Nov 2012 13:00:38 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:47535) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUh5H-0003qP-H1 for 12054@debbugs.gnu.org; Sat, 03 Nov 2012 13:00:37 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MCX00J008CZ0900@a-mtaout20.012.net.il> for 12054@debbugs.gnu.org; Sat, 03 Nov 2012 18:57:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MCX00I188EZU150@a-mtaout20.012.net.il>; Sat, 03 Nov 2012 18:56:59 +0200 (IST) In-reply-to: <45DEAA69BC6E4630BA8DA0B07A0ECE92@us.oracle.com> X-012-Sender: halo1@inter.net.il 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.x 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:66389 Archived-At: > From: "Drew Adams" > Date: Sat, 3 Nov 2012 09:25:35 -0700 > Cc: 12054@debbugs.gnu.org >=20 > Just why is it that the regexp "[\240]+" does not match this char? Because, for histerical reasons, 'insert' treats strings such as "\nnn" as unibyte strings. > Why should a character-alternative expression care whether the > representation is unibyte or multibyte? Isn't that a bug? It's an unfortunate dark corner, due to the ambiguity of what \240 really means in a string. > How to use octal syntax to match that char? Why do you need the octal syntax? Why not just use a literal =A0? I= s that only for the sake of old Emacs versions, or for some other reason? > The Elisp manual says clearly that > "The most general read syntax for a character represents the charac= ter code in > either octal or hex." MOST GENERAL, not most limited and partial. I see no contradiction or incorrect information in this cited text. The octal notation does work in your example, it's just that its semantics is not what you expected. Or am I missing something?