From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: APL mode Date: Sun, 13 Oct 2013 20:10:40 +0900 Message-ID: <87fvs5h1e7.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87haclhdnz.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1381662667 13650 80.91.229.3 (13 Oct 2013 11:11:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 11:11:07 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Rustom Mody Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 13:11:10 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VVJZl-0000kc-4j for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 13:11:09 +0200 Original-Received: from localhost ([::1]:60952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVJZk-0000ry-Js for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 07:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVJZa-0000re-Lg for emacs-devel@gnu.org; Sun, 13 Oct 2013 07:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVJZL-0008SI-Ov for emacs-devel@gnu.org; Sun, 13 Oct 2013 07:10:58 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:57978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVJZL-0008Ri-Eb for emacs-devel@gnu.org; Sun, 13 Oct 2013 07:10:43 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 9E8623FA09E1; Sun, 13 Oct 2013 20:10:40 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 957CF129E2C; Sun, 13 Oct 2013 20:10:40 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" 182d01410b8d XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164170 Archived-At: Rustom Mody writes: > Not to say that I am afraid of CFGs -- more afraid of regexps with 16 > backslashes in a row!! XEmacsen have rawstrings (couldn't resist), but the real answer is to use one of the regexp constructor packages if you don't feel like dealing the the unfortunate consequences of the traditional use of the same character to indicate string escapes and regexp constructs too. > Can you point me to somewhere to read as example? css-mode, htmlize, nroff-mode, xpm-mode, xrdb-mode. But you won't find a Lispish parser in any of them IIRC. Rather the parsing is buried in movement functions and the like. To find what you're looking for, find the keymap, and then find the motion function.