[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] TeX-fold problem
From: |
Joost Kremers |
Subject: |
Re: [AUCTeX] TeX-fold problem |
Date: |
Mon, 19 Nov 2012 11:52:31 +0100 |
User-agent: |
mu4e 0.9.9.5-dev4; emacs 24.3.50.1 |
Hi Tassilo,
On Mon, Nov 19 2012, Tassilo Horn <address@hidden> wrote:
> I've just tried folding with AUCTeX from CVS and a current Emacs 24 bzr
> version. I enabled `visual-line-mode', written some multi-visual-line
> long comment and folded that, so that
>
> %...
>
> was displayed. When I move point accross it, it does the right thing,
> no jumping of point at all.
Try the same with a regular paragraph of text in which e.g. a footnote
is folded. Put the cursor directly above the first position of the
folded text (i.e., on the line above it) and move down.
> What AUCTeX version are you using?
11.86, installed through ELPA.
> And do you have a minimal sample tex
> file that exhibits the problem for you?
Well, any LaTeX document will do, really:
====================
\documentclass{article}
\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida
mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus
et netus et malesuada fames ac turpis egestas. Mauris ut leo.\footnote{Cras
viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices.}
Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est,
iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices
bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis
ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis
nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit
amet orci dignissim rutrum.
\end{document}
====================
(I'll leave the text unwrapped so you can just yank it into a LaTeX
buffer.)
I've put a footnote in, which should show the problematic behaviour.
Thanks for looking into this.
--
Joost Kremers
Life has its moments