[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: More on LateX-mark-environement
From: |
Vincent Belaïche |
Subject: |
[AUCTeX] Re: More on LateX-mark-environement |
Date: |
Sat, 04 Jul 2009 15:27:27 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (Windows/20090605) |
Salut Ralf,
Er, I am not sure that I am understanding your feedback.
Do you mean that the `C-c .' keybinding with a negative argument could be used
to navigate in environments.
My point is the following I have:
%---------------------------------------
\begin{document}
\begin{env1}
blah blah blah
\begin{env2}
blah blah blah
\begin{env3}
blah blah blah
\begin{env4}
--!-- *****I AM HERE****
\end{env4}
\end{env3}
\end{env2}
\end{env1}
\end{document}
%---------------------------------------
And I want to select env1. So I would like to type just `C-u -1 C-.' because
env1 is the top-most (after document) environment. I could also do it by
typing 4 times on C-., or by typing C-u 4 C-., but I find it more convenient
to use `C-u -1 C-.', because what I want is the _top-most after document_,
that is to say 0 is top-most, -1 is second top-most, etc...
So if I want the _second topmost_, I think it is easier to type C-u -1,
because C-u -1 will *always* means "second topmost", while I may need to type
a variable number of time on C-. or pass something else than 4 to C-. in
other cases.
À+,
Vincent.
Ralf Angeli a écrit :
* Vincent Belaïche (2009-06-28) writes:
I would like to contribute again on LaTeX-mark-environment. I find it
practicle if an argument <= 0 can be used to count environements from
top downwards.
Hm, I'm not sure I like this. I'd probably prefer to introduce
navigation functions for environments (forward, backward, up, down)
which would allow to jump easily to the start or end of an environment
and then one could mark it.