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

[email protected] (Frank Küster) Tue, 22 Mar 2005 11:44:32 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>

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)
  (1- (previous-single-char-property-change begin (quote preview-counters)))
  (max (point-min) (1- (previous-single-char-property-change begin ...)))
  (get-char-property (max (point-min) (1- ...)) (quote preview-counters))
  (cdr (get-char-property (max ... ...) (quote preview-counters)))
  (or (car (get-char-property begin ...)) (cdr (get-char-property ... ...))=
 (cdr (get-char-property ... ...)) (car (get-char-property ... ...)))
  preview-counter-find()
  TeX-region-create("~/uni/zuerich/Laborbuchz/_region_.tex" #("L\xf76sungen=
 wie am Montag, mit festgedrehter Fokussierung und Kontrolle\nnach jeder Me=
ssung.  Zun\xf64\ chst messe ich bei 15\\uW{}, das Deckglas\nschaut aber un=
sauber aus.  Daher wechsle ich L\xf76sung und Deckglas und\nmesse die Spure=
n \\extfile{Pro20\\textbf{b}_30pM_##uW_2005-03-03.t3r},\nwobei \\texttt{##}=
 f\xf7cr die \n" 0 41 (fontified t) 41 69 (fontified t) 69 115 (fontified t=
) 115 116 (face (font-latex-sedate-face) fontified t) 116 118 (face (font-l=
atex-sedate-face) fontified t) 118 119 (fontified t) 119 135 (fontified t) =
135 204 (fontified t) 204 221 (fontified t) 221 222 (face (font-latex-sedat=
e-face) fontified t) 222 229 (face (font-latex-sedate-face) fontified t) 22=
9 235 (fontified t) 235 242 (face (font-lock-keyword-face font-latex-sedate=
-face) fontified t) 242 243 (face (font-latex-bold-face) fontified t) 243 2=
44 (face (font-latex-bold-face) fontified t) 244 245 (face (font-latex-bold=
-face) fontified t) 245 246 (fontified t) 246 247 (face nil fontified t) 24=
7 251 (fontified t) 251 252 (face nil fontified t) 252 256 (fontified t) 25=
6 257 (face nil fontified t) 257 270 (fontified t) 270 273 (fontified t) 27=
3 279 (fontified t) 279 286 (face (font-lock-keyword-face font-latex-sedate=
-face) fontified t) 286 289 (face (font-lock-type-face) fontified t) 289 29=
0 (face (font-lock-type-face) fontified t) 290 299 (fontified t) 299 300 (f=
ontified t)) "februar05.tex" 695)
  TeX-command-region(nil)
  call-interactively(TeX-command-region)


Emacs  : GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-02-04 on trouble, modified by Debian
Package: AUCTeX 11.55

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style/" "auto/" "/home/frank/texmf/tex/latex/style/" "/h=
ome/frank/texmf/tex/latex/auto/"
		  "/usr/share/emacs21/site-lisp/auctex/style/" "/var/lib/auctex/emacs21/"=
 "/home/frank/.auctex-styles/"
		  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" "/home/fran=
k/.auctex-styles/"
		  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" "/home/fran=
k/.auctex-styles/"
		  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" "/home/fran=
k/.auctex-styles/"
		  "/home/frank/.auctex-styles/")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master "Laborbuch"
 )
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer