From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; kbd returns wrong value Date: Sat, 17 May 2008 23:12:27 -0400 Message-ID: References: <003e01c8b534$31cbdd30$0200a8c0@us.oracle.com> <004201c8b724$7c7cabb0$0200a8c0@us.oracle.com> <86zlqqy4pq.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211080378 7907 80.91.229.12 (18 May 2008 03:12:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 May 2008 03:12:58 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Drew Adams To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 18 05:13:34 2008 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 1JxZL3-0001iD-Ul for ged-emacs-devel@m.gmane.org; Sun, 18 May 2008 05:13:34 +0200 Original-Received: from localhost ([127.0.0.1]:34089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxZKK-0007uS-5A for ged-emacs-devel@m.gmane.org; Sat, 17 May 2008 23:12:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JxZKE-0007u1-Tx for emacs-devel@gnu.org; Sat, 17 May 2008 23:12:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JxZKD-0007tp-Ec for emacs-devel@gnu.org; Sat, 17 May 2008 23:12:42 -0400 Original-Received: from [199.232.76.173] (port=49476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JxZKD-0007tm-9H for emacs-devel@gnu.org; Sat, 17 May 2008 23:12:41 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:32839) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxZKD-0001oO-68 for emacs-devel@gnu.org; Sat, 17 May 2008 23:12:41 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:34504) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JxZJ4-0007eU-Nr for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 23:11:30 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JxZK9-0001o4-Jm for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 23:12:40 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40428) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JxZK9-0001nq-9I for emacs-pretest-bug@gnu.org; Sat, 17 May 2008 23:12:37 -0400 Original-Received: from ceviche.home (vpn-132-204-232-50.acd.umontreal.ca [132.204.232.50]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m4I3CYVq006845 for ; Sat, 17 May 2008 23:12:35 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 50FE1B41C9; Sat, 17 May 2008 23:12:27 -0400 (EDT) In-Reply-To: <86zlqqy4pq.fsf@lola.quinscape.zz> (David Kastrup's message of "Fri, 16 May 2008 11:32:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3018=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97343 gmane.emacs.pretest.bugs:22366 Archived-At: > (string-match "[^ \t\n\f<]+\\|<[^>]+>" ... To avoid problems with C-x < and such, I'd recomment > (string-match "[^ \t\n\f<]+\\|<[^ \n>]\\(?:[^>]*[^ >\n]\\)?>" ... So there can be spaces in symbols, but not as first or last char. The handling of "C-x <<" and such shouldn't matter because these aren't valid anyway. Stefan