From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: My humble additions to AUCTeX
Date: Tue, 20 Jan 2015 17:45:10 +0100 [thread overview]
Message-ID: <87fvb5jt9l.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <CAAdUY-KuqjBMVEuztC+M+71PdF6tay5L=+AuwMzgvz+uEfOLew@mail.gmail.com>
On 2015-01-20, at 17:32, Artur Malabarba <bruce.connor.am@gmail.com> 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.
next prev parent reply other threads:[~2015-01-20 16:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 23:28 My humble additions to AUCTeX Marcin Borkowski
2014-01-13 16:49 ` Nicolas Richard
2014-01-13 18:16 ` Marcin Borkowski
2014-01-13 20:47 ` Stefan Monnier
2014-01-14 9:57 ` Marcin Borkowski
2014-01-14 10:16 ` Marcin Borkowski
2014-01-15 13:26 ` Stefan Monnier
2015-01-20 15:25 ` Marcin Borkowski
2015-01-20 16:32 ` Artur Malabarba
2015-01-20 16:45 ` Marcin Borkowski [this message]
2015-01-20 18:42 ` Stefan Monnier
[not found] ` <mailman.18220.1421779378.1147.help-gnu-emacs@gnu.org>
2015-01-21 2:34 ` Rusi
2014-01-14 10:29 ` Nicolas Richard
2014-01-15 17:58 ` Marcin Borkowski
[not found] <mailman.11758.1389569313.10748.help-gnu-emacs@gnu.org>
2014-01-13 16:35 ` jack-mac
2014-01-13 18:11 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvb5jt9l.fsf@wmi.amu.edu.pl \
--to=mbork@wmi.amu.edu.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.