From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.help Subject: Re: My humble additions to AUCTeX Date: Tue, 20 Jan 2015 14:32:05 -0200 Message-ID: References: <20140113002818.77105028@aga-netbook> <87y52j6d3g.fsf@yahoo.fr> <20140113191650.0fce85c1@aga-netbook> <87r3upjx1v.fsf@wmi.amu.edu.pl> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1421771549 26209 80.91.229.3 (20 Jan 2015 16:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 16:32:29 +0000 (UTC) Cc: help-gnu-emacs To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 17:32:29 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 1YDbjA-0006dk-4u for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 17:32:28 +0100 Original-Received: from localhost ([::1]:44449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbj9-0002JC-EV for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2015 11:32:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbis-0002Gt-Q7 for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:32:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDbin-0005TM-OX for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:32:10 -0500 Original-Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:57644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDbin-0005TH-JT for help-gnu-emacs@gnu.org; Tue, 20 Jan 2015 11:32:05 -0500 Original-Received: by mail-ob0-f182.google.com with SMTP id wo20so34971605obc.13 for ; Tue, 20 Jan 2015 08:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=fGDtECyaR2OyEBEiUHpSlMRxdvE8VIakvpzvsCAFOig=; b=m0uFJBeUdPaQfeAlOaH+J+E0uJoPIDeVn1lBEUC68OPrq5WO4mhEjbIdauIiSl9tTj lQp+5r8uIhWeZdRgyr1SYjskajk2GMK+ltDis+2lAFHYpJtADIb+2FYzIOWgQjDWofJ5 i5xHqjrm2JQMDJHdeuex8KM4C3Lc7OeWboWMhb+T57BwY/P3YdCjeMYut7fPF+l7cMzI yPPTCdSPRkXAdGz9OxsnX9RlBqb/NCxcMNrTAEof/09C/pSqIUFvtRGooLokfVpAN6FG gFmM7Uiwwy+2LW6OrberxWCuVUuhkDHYmY7BmI4xyZc92o7YiZ3fz/InM6QsgVxXEVy5 g/DQ== X-Received: by 10.202.97.9 with SMTP id v9mr20991171oib.34.1421771525163; Tue, 20 Jan 2015 08:32:05 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Tue, 20 Jan 2015 08:32:05 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Tue, 20 Jan 2015 08:32:05 -0800 (PST) In-Reply-To: <87r3upjx1v.fsf@wmi.amu.edu.pl> X-Google-Sender-Auth: fZp5eio4bBl8hXvfJDVAcOZZTvU X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:102172 Archived-At: >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. 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.