From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: mode-specific sexps Date: Sat, 09 Oct 2004 18:34:31 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1097364919 16824 80.91.229.6 (9 Oct 2004 23:35:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2004 23:35:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 10 01:35:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGQk0-0005bY-00 for ; Sun, 10 Oct 2004 01:35:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGQqr-0002wc-SS for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Oct 2004 19:42:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGQqd-0002wA-60 for help-gnu-emacs@gnu.org; Sat, 09 Oct 2004 19:41:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGQqc-0002vy-Og for help-gnu-emacs@gnu.org; Sat, 09 Oct 2004 19:41:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGQqc-0002vv-ET for help-gnu-emacs@gnu.org; Sat, 09 Oct 2004 19:41:58 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGQjT-0005iJ-J1 for help-gnu-emacs@gnu.org; Sat, 09 Oct 2004 19:34:35 -0400 Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i99NYYF04643; Sat, 9 Oct 2004 18:34:34 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1CGQjP-00012D-00; Sat, 09 Oct 2004 18:34:31 -0500 Original-To: help-gnu-emacs X-all-your-base-are-belong-to-us: You are on the way to destruction. 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21167 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21167 Note that the syntax of sexps is not quite right for use in all modes. For example, <1000 is considered to be one sexp and you can legitimately set it in lisp modes -- (setq <1000 10) -- however, in LaTeX mode I think this should be regarded as two sexps, a `<' together with a `1000'. Advice on to change the definition of a sexp for LaTeX mode would be appreciated. My initial investigations led to `scan-sexps' but this is in C code and I'm hesitant about messing with that if I don't need to. I'll probably have some followup questions on this topic related to my austex.el minor mode http://www.ma.utexas.edu/~jcorneli/a/elisp/austex.el (also in gnu.emacs.sources recently), but this seems like a good place to start.