From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.bugs Subject: Posix char classes and skip-chars-(forward|backward) Date: Mon, 24 May 2004 01:12:08 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5br7tahh6f.fsf@lister.roxen.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085355656 31501 80.91.224.253 (23 May 2004 23:40:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 May 2004 23:40:56 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 24 01:40:51 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BS2aJ-00078b-00 for ; Mon, 24 May 2004 01:40:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BS2V2-0003yU-Ci for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 May 2004 19:35:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BS2RZ-00034v-HE for bug-gnu-emacs@gnu.org; Sun, 23 May 2004 19:31:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BS2Qu-0002uo-WA for bug-gnu-emacs@gnu.org; Sun, 23 May 2004 19:31:40 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BS2Lc-0001rh-HW for bug-gnu-emacs@gnu.org; Sun, 23 May 2004 19:25:40 -0400 Original-Received: from [212.247.28.43] (helo=mail.roxen.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1BS29X-0001L6-9c for bug-gnu-emacs@gnu.org; Sun, 23 May 2004 19:13:11 -0400 Original-Received: by mail.roxen.com (Postfix, from userid 52) id D13209A46; Mon, 24 May 2004 01:12:09 +0200 (MEST) Original-Received: from lister.roxen.com (lister.roxen.com [212.247.28.136]) by mail.roxen.com (Postfix) with ESMTP id 5DCBE9A77 for ; Mon, 24 May 2004 01:12:08 +0200 (MEST) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 1BS28W-000784-00 for ; Mon, 24 May 2004 01:12:08 +0200 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8012 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8012 Emacs 21 introduced posix char classes in regexps with a syntax like "[[:upper:][:digit:]_]". Given that skip-chars-(forward|backward) should take a char class like the inside of a "[...]", I expect that one can do e.g. (skip-chars-forward "[:upper:][:digit:]_") Unfortunately that doesn't work. This is a problem in CC Mode which uses the same building blocks for both regexps and these "bare" char classes.