From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: My humble additions to AUCTeX Date: Tue, 20 Jan 2015 17:45:10 +0100 Message-ID: <87fvb5jt9l.fsf@wmi.amu.edu.pl> References: <20140113002818.77105028@aga-netbook> <87y52j6d3g.fsf@yahoo.fr> <20140113191650.0fce85c1@aga-netbook> <87r3upjx1v.fsf@wmi.amu.edu.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421772357 8105 80.91.229.3 (20 Jan 2015 16:45:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 16:45:57 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 17:45:57 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 1YDbw6-0004hA-N3 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 17:45:50 +0100 Original-Received: from localhost ([::1]:44494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbw5-00017C-Uy for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 11:45:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbvi-00015n-EU for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:45:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDbvb-00022f-FH for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:45:26 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:55435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbvb-00022C-7s for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:45:19 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id A4699481D5 for ; Tue, 20 Jan 2015 17:45:16 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OmUlN0PkT404 for ; Tue, 20 Jan 2015 17:45:16 +0100 (CET) Original-Received: from localhost (unknown [IPv6:2001:808:114:6:6068:a0dc:98:fd62]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 8A148481C7 for ; Tue, 20 Jan 2015 17:45:16 +0100 (CET) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 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:102173 Archived-At: On 2015-01-20, at 17:32, Artur Malabarba wrote: >>Yet another example: I'd like M-b to move to the backslash when the point > is after the comma in `foo\,'. Normally, both (backward-word) and > (forward-symbol -1) travel all the way to the `f'. > > This is the problem I had as well, when trying to add superword mode to > AucTex. This is ultimately a limitation of emacs syntax table. AFAIK, > there's no way to define \foo as a symbol while keeping \foo\foo as two > separate symbols. That is, the backslash is a symbol boundary, but not a > symbol constituent. Exactly. > It's perfectly possible to manually write a mode that fixes this behaviour > for the purpose of M-f and M-b, of course. And I think that would be a > worthy addition to AucTex. That's what I thought. (Especially for people who do some LaTeX package/class writing.) I even started hacking at it about a year ago, but Stefan discouraged me a bit (in the sense: directed me to superword-mode, and I didn't look at it until today). Best, -- Marcin Borkowski This email was proudly sent http://mbork.pl from my Emacs.