2014-04-28 21:42 GMT+02:00 Igor Sosa Mayor <[email protected]>:
> Mosè Giordano <[email protected]> writes:
>> there shouldn't be already key bindings for that, but you can bind
>> your favorite keys to these lambdas:
>
> thanks. This seems to work perfectly. Could it be maybe possible to jump
> not to the \ of \footnote, but exactly to the first character of the
> footnote?
>
> there is maybe a function to "jump x characters", since the numbers of
> character of \footnote{ is always the same...

Sure, there is the `forward-char' function, but to keep this lambda as
general as possible (and not tied just to the `footnote' macro), I'd
suggest to use

--8<---------------cut here---------------start------------->8---
(lambda ()
  (interactive)
  (goto-char (TeX-find-macro-start))
  (search-forward "{" (TeX-find-macro-end) t))
--8<---------------cut here---------------end--------------->8---

Bye,
Mosè

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to