[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 2005-05-24; folding crashes Emacs whith empty section t
From: |
Joachim Schlosser |
Subject: |
Re: [Bug-AUCTeX] 2005-05-24; folding crashes Emacs whith empty section title |
Date: |
Wed, 08 Jun 2005 19:59:18 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Ralf Angeli schrieb:
> What do you mean with "much empty space"? In my case the line with
> the \paragraph command becomes empty, i.e. there are three empty lines
> between the two \blindtext statements. Are there more in your case?
Yes. Everything after the 1st blindtext vanishes. Without folding, the
scrollbar pusher's height is 100% (nothing to scroll, whole document
fits into screen). With folding, the scrollbar pusher indicates that I
can now scroll down.
When I do unfolding before risking crash (C-c C-o b), it takes one
PgDn before the rest of the buffer reappears.
> It might generally be a good idea to add a placeholder for folded
> empty macros, maybe "...".
Maybe, yes.
>>If I now scroll around a little bit
>>(page-up, page-dn, cursor up, cursor down), Emacs hangs up (100% CPU
>>usage).
> I cannot reproduce this on GNU/Linux. Not even with `emacs -Q'.
On my side it is irrelevant which sectioning command I utilize. The
error even show up with
foo \emph{} bar
in which case everything after "foo" vanishes. But the PgDn behavior
is different with that line. I can now press PgDn multiple times,
which switches between two screens, one with
"\documentclass{article}
\usepackage{blindtext}
\begin{document}
foo"
and the other with
"\emph{} bar
\blindtext{}
\paragraph{}
\blindtext{}
\end{document}"
And the cursor positioning totally f***ed up. But now hang any more.
> Does Emacs react to `C-g'?
Unfortunately not when hanging.
> If yes, could you do `M-x
> toggle-debug-on-quit RET' prior to aborting the loop, hang, or
> whatever it is and show us the backtrace?
As with the \emph example Emacs does not hang, I attach the backtrace
shot directly after activating fold (C-c C-o C-b) in foldcrash.trace
Tell me what information you need to reproduce it, I'll do my very best.
Joachim
P.S.: During creating the example, I recognized that commands in
commented lines are folded. I am not sure whether this is intended or
good, or if there should be an option to generally fold the whole comment.
foldcrash.trace
Description: Binary data