GNU bug report logs -
#20685
2015-04-19; args-out-of-range error when no newline at eob.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20685 in the body.
You can then email your comments to 20685 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#20685
; Package
auctex
.
(Thu, 28 May 2015 19:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Richard <youngfrog <at> members.fsf.org>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Thu, 28 May 2015 19:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
This one often bites me when I'm in a narrowed buffer.
Here's a backtrace from a minimal recipe (which is in the backtrace).
Debugger entered--Lisp error: (args-out-of-range #<buffer temp> 57 58)
buffer-substring-no-properties(57 58)
LaTeX-backward-paragraph()
LaTeX-fill-region(41 57 nil " environment document")
LaTeX-fill-environment(nil)
call-interactively(LaTeX-fill-environment)
(let ((data "\\documentclass{minimal}\n\\begin{document}\n\n\\end{document}")) (switch-to-buffer (get-buffer-create "temp")) (TeX-latex-mode) (insert data) (search-backward "\n\n") (call-interactively (quote LaTeX-fill-environment)))
eval-buffer(#<buffer *load*> nil "/home/youngfrog/tmp-test-auctex-filling.el" nil t) ; Reading at buffer position 319
load-with-code-conversion("/home/youngfrog/tmp-test-auctex-filling.el" "/home/youngfrog/tmp-test-auctex-filling.el" nil t)
load("/home/youngfrog/tmp-test-auctex-filling.el" nil t)
command-line-1(("-l" "/home/youngfrog/tmp-test-auctex-filling.el"))
command-line()
normal-top-level()
I suggest the following change:
--8<---------------cut here---------------start------------->8---
modified latex.el
@@ -4475,10 +4475,7 @@ If COUNT is non-nil, do it COUNT times."
"[@A-Za-z]+\\|[ \t]*\\($\\|"
TeX-comment-start-regexp "\\)"))
(progn
- (when (string= (buffer-substring-no-properties
- (point) (+ (point)
- (length TeX-esc)))
- TeX-esc)
+ (when (looking-at (regexp-quote TeX-esc))
(goto-char (TeX-find-macro-end)))
(forward-line 1)
(when (< (point) start)
--8<---------------cut here---------------end--------------->8---
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Fri, 29 May 2015 06:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Richard <youngfrog <at> members.fsf.org>
:
bug acknowledged by developer.
(Fri, 29 May 2015 06:03:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 20685-done <at> debbugs.gnu.org (full text, mbox):
Nicolas Richard <youngfrog <at> members.fsf.org> writes:
Hi Nicolas,
> I suggest the following change:
>
> modified latex.el
> @@ -4475,10 +4475,7 @@ If COUNT is non-nil, do it COUNT times."
> "[@A-Za-z]+\\|[ \t]*\\($\\|"
> TeX-comment-start-regexp "\\)"))
> (progn
> - (when (string= (buffer-substring-no-properties
> - (point) (+ (point)
> - (length TeX-esc)))
> - TeX-esc)
> + (when (looking-at (regexp-quote TeX-esc))
> (goto-char (TeX-find-macro-end)))
> (forward-line 1)
> (when (< (point) start)
-4 lines +1 line. Sounds very good. Applied. ;-)
Oh, I made that commit and ChangeLog entry with your email address you
are using right now, not the evil look thingy. Could you please
register your FSF member address with assign <at> gnu.org so that they add it
to your CA record and nobody gets confused?
Bye,
Tassilo
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#20685
; Package
auctex
.
(Fri, 29 May 2015 08:30:05 GMT)
Full text and
rfc822 format available.
Message #13 received at 20685-done <at> debbugs.gnu.org (full text, mbox):
Tassilo Horn <tsdh <at> gnu.org> writes:
> Oh, I made that commit and ChangeLog entry with your email address you
> are using right now, not the evil look thingy.
I know, that address is awful,... but it's been mine almost forever !
> Could you please
> register your FSF member address with assign <at> gnu.org so that they add it
> to your CA record and nobody gets confused?
Sure ! Email sent.
Nico.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#20685
; Package
auctex
.
(Fri, 29 May 2015 21:01:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 20685-done <at> debbugs.gnu.org (full text, mbox):
Nicolas Richard <youngfrog <at> members.fsf.org> writes:
>> Oh, I made that commit and ChangeLog entry with your email address
>> you are using right now, not the evil look thingy.
>
> I know, that address is awful,... but it's been mine almost forever !
No, that's not what I've meant. I think its funny and pretty good to
remember.
>> Could you please register your FSF member address with assign <at> gnu.org
>> so that they add it to your CA record and nobody gets confused?
>
> Sure ! Email sent.
Great, thanks!
Bye,
Tassilo
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Jun 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 363 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.