From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?iso-8859-1?B?RnJhbmstUmVu6SBTY2jkZmVy?=" Newsgroups: gmane.emacs.help Subject: Backslash - Generic Mode / Regular Expressions Date: 15 Nov 2005 23:52:41 -0800 Organization: http://groups.google.com Message-ID: <1132127560.962624.164320@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132127881 888 80.91.229.2 (16 Nov 2005 07:58:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2005 07:58:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 16 08:57:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EcIAo-0006n4-Tm for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2005 08:57:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EcIAn-0004iz-KN for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Nov 2005 02:57:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 12.41.112.201 Original-X-Trace: posting.google.com 1132127566 9683 127.0.0.1 (16 Nov 2005 07:52:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 16 Nov 2005 07:52:46 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 VNMIDEA01-PRS01 (NetCache NetApp/5.5R3), vnmidea02-crs01, 1.1 VNMIDEA01-PRS01 (NetCache NetApp/5.5R3) Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=12.41.112.201; posting-account=c3vSSw0AAAC56xDLqA_uIUIdZLri95wC Original-Xref: shelby.stanford.edu gnu.emacs.help:135494 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31090 Archived-At: I am having trouble to match against a backslash in a generic mode definition. >>From the response of (regexp-quote "\end") --> "\\\\end" I would assume that "\\\\end" could be used as shown in the example below. However, it does not work that way. Is there anything special to consider? (define-generic-mode 'my-mode (list (cons "/~" "~/") (cons "$$" "$$")) (list ... "\\\\end") .... ) Thanks Frank