From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Re: Meaning of \C-? in bracket regular expression Date: Sun, 27 Sep 2015 21:51:23 -0700 Organization: Maplesoft Message-ID: <20150927215123.0bfb245f@gauss> References: <20150927164955.67213d70@gauss> <87h9mfcsiv.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443417744 6259 80.91.229.3 (28 Sep 2015 05:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Sep 2015 05:22:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 28 07:22:19 2015 Return-path: Envelope-to: geh-help-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 1ZgQtG-0004XL-4o for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Sep 2015 07:22:18 +0200 Original-Received: from localhost ([::1]:60471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgQtF-0005WP-HY for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Sep 2015 01:22:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgQt5-0005WC-6K for help-gnu-emacs@gnu.org; Mon, 28 Sep 2015 01:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgQt2-0004pt-3d for help-gnu-emacs@gnu.org; Mon, 28 Sep 2015 01:22:07 -0400 Original-Received: from mh3.maplesoft.com ([199.71.183.16]:9573 helo=ICW12KMAI02.maplesoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgQt2-0004pm-07 for help-gnu-emacs@gnu.org; Mon, 28 Sep 2015 01:22:04 -0400 Original-Received: from ICW12KMAI02.maplesoft.com (10.10.1.102) by ICW12KMAI02.maplesoft.com (10.10.1.102) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 28 Sep 2015 00:51:26 -0400 Original-Received: from gauss (10.10.50.22) by ICW12KMAI02.maplesoft.com (10.10.1.102) with Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend Transport; Mon, 28 Sep 2015 00:51:25 -0400 In-Reply-To: <87h9mfcsiv.fsf@web.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 199.71.183.16 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107390 Archived-At: On Mon, 28 Sep 2015 02:11:04 +0200 Michael Heerdegen wrote: > Joe Riel writes: >=20 > > "[^\C-?}]" >=20 > (info "(elisp) Ctl-Char Syntax") says that >=20 > For historical reasons, Emacs treats the character as the > control equivalent of =E2=80=98?=E2=80=99: >=20 > ?\^? =E2=87=92 127 ?\C-? =E2=87=92 127 >=20 > Try (string-to-vector "[^\C-?}]"). >=20 > So this is a question of string read syntax - there is no character "-" > in this string representing a regexp. Thanks, that was helpful. --=20 Joe Riel