Re: Error when trying to run LaTeX on a region (region pinning)

David Kastrup <[email protected]> Tue, 22 Mar 2005 12:25:16 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
[email protected] (Frank K=FCster) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.
>
> If the bug (or problem) is triggered by a specific (La)TeX
> file, you should try to produce a minimal sample file showing the
> problem and include it in your report.
>
> Your bug report will be posted to the AUCTeX mailing list.
>
> I was working on a larger file, and in this part:
>
> ,----
> | \labday{Donnerstag, 3.3.2005}
> | \label{cha:donnerstag-3.3.2005}
> |=20
> |=20
> | \experiment{techstuff}
> | \label{sec:techstuff-9}
> |=20
> | \subexperiment{leistung}
> | \label{sec:leistung-3}
> |=20
> | L=F6sungen wie am Montag, mit festgedrehter Fokussierung und Kontrolle
> | nach jeder Messung.  Zun=E4chst messe ich bei 15\uW{}, das Deckglas
> | schaut aber unsauber aus.  Daher wechsle ich L=F6sung und Deckglas und
> | messe die Spuren \extfile{Pro20\textbf{b}_30pM_##uW_2005-03-03.t3r},
> | wobei \texttt{##} f=FCr die=20
> |=20
> |=20
> | %%% Local Variables:=20
> | %%% mode: latex
> | %%% TeX-master: "Laborbuch"
> | %%% End:=20
> `----
>
> I marked the paragraph of continous text (transient-mark-mode is
> enabled) and did C-c C-r.  I got an error:
>
> Debugger entered--Lisp error: (args-out-of-range -112792393 -112792393)
>   previous-single-char-property-change(#<marker at 21271 in februar05.tex=
> preview-counters)

[...]

That is a bug in Emacs.  I'll install a fix inside of Emacs and a
workaround in AUCTeX.  Apart from that, I think I have to check that
C-c C-r does the right thing if the current region is pinned in a
different buffer [checking...].  AUCTeX's pinned regions are buffer
local.  So this can never be a problem.

--=20
David Kastrup, Kriemhildstr. 15, 44793 Bochum