Re: TeX-comment-or-uncomment-region args out of range

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Masayuki Ataka (2005-02-20) writes:

> Emacs-21.4 and AUCTeX commenting leads to
> args out of range.
[...]
> (9) C-c ; (TeX-comment-or-uncomment-region)
>
> debugger message is as followed.
>
> Debugger entered--Lisp error: (args-out-of-range 24 25)
>   put-text-property(24 25 fontified nil)
>   jit-lock-after-change(25 25 0)
>   comment-region-internal(25 41 "% " nil nil nil nil nil nil)
>   comment-region(25 42 nil)
>   TeX-comment-region(25 42 nil)
>   TeX-comment-or-uncomment-region(25 42 nil)
>   call-interactively(TeX-comment-or-uncomment-region)

This is an Emacs error/bug.  You can provoke it as well by calling
`comment-region' instead of `TeX-comment-or-uncomment-region' in your
description above.  The bug is fixed in CVS Emacs.

-- 
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.