From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?GB2312?B?zcHQx87lusU=?= Newsgroups: gmane.emacs.help Subject: Re: does emacs regular expression support (?!expression) Date: Sat, 4 Feb 2012 20:16:29 +0800 Message-ID: References: <8739at5aj0.fsf@thinkpad.tsdh.de> <87ipjo52qn.fsf@thinkpad.tsdh.de> <87k444tj2l.fsf@gnuvola.org> <87fwest9xg.fsf@gnuvola.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174bdf2e8b626504b822687f X-Trace: dough.gmane.org 1328357842 4494 80.91.229.3 (4 Feb 2012 12:17:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2012 12:17:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 13:17:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RteYR-0006fP-2n for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 13:17:19 +0100 Original-Received: from localhost ([::1]:53610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RteYQ-0004KL-0Z for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Feb 2012 07:17:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RteYJ-0004Jm-NJ for help-gnu-emacs@gnu.org; Sat, 04 Feb 2012 07:17:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RteYI-0004TN-I0 for help-gnu-emacs@gnu.org; Sat, 04 Feb 2012 07:17:11 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:59836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RteYI-0004T6-BY for help-gnu-emacs@gnu.org; Sat, 04 Feb 2012 07:17:10 -0500 Original-Received: by eaag11 with SMTP id g11so1766478eaa.0 for ; Sat, 04 Feb 2012 04:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=+q7Nj7SfBdfcAiHQ5mcpnYOVkKSJy78KBvvVD5lbqMk=; b=fbJw4D0aRbF8kLR0Hwtl3RB3xZ3IsGmbmsvnrVT+tcanXBTrMoMAl2D4xuWlk6sUU8 ghgIMulOezK7LWtyIh0obwTmLQ+/WN7XMRJ70AFQS6FWoEF7AEQ54JWYSRMiXCTOjHC4 4cgdUKo5kxONTs0MFyeUTbVd1+WNn2Q81FeBo= Original-Received: by 10.213.30.7 with SMTP id s7mr311024ebc.1.1328357829206; Sat, 04 Feb 2012 04:17:09 -0800 (PST) Original-Received: by 10.14.101.5 with HTTP; Sat, 4 Feb 2012 04:16:29 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.169 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:83648 Archived-At: --0015174bdf2e8b626504b822687f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable No, i put it in txt-mode-load.el. .emacs: (require 'txt-mode-load) 2012/2/4 Tim Landscheidt > Thien-Thi Nguyen wrote: > > > > You can add a spec for =91ErrorMode=92, with default face, prior t= o > this one. > > > Which Emacs version does support that? > > > Any that processes these specs in the given order, with > > "masking semantics", i suppose. (I haven't tried.) > > What does: > > | (search-forward-regexp "\\([Ee][Rr][Rr]\\)\\(?!orMode\\)") > > give on your Emacs? > > Tim > > > --0015174bdf2e8b626504b822687f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable No, i put it in txt-mode-load.el.

=A0.emacs:
(require 'txt-mo= de-load)



2012/2/4 Tim Landscheidt= <tim@tim-la= ndscheidt.de>
Thien-Thi Nguyen <ttn@gnuvola.org> wrote:

> =A0 =A0> You can add a spec for =91ErrorMode=92, with default face,= prior to this one.

> =A0 =A0Which Emacs version does support that?

> Any that processes these specs in the given order, with
> "masking semantics", i suppose. =A0(I haven't tried.)
What does:

| (search-forward-regexp "\\([Ee][Rr][Rr]\\)\\(?!orMode\\)")

give on your Emacs?

Tim



--0015174bdf2e8b626504b822687f--