GNU bug report logs - #20685
2015-04-19; args-out-of-range error when no newline at eob.

Previous Next

Package: auctex;

Reported by: Nicolas Richard <youngfrog <at> members.fsf.org>

Date: Thu, 28 May 2015 19:18:01 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 20685-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Nicolas Richard <youngfrog <at> members.fsf.org>
Cc: 20685-done <at> debbugs.gnu.org
Subject: Re: bug#20685: 2015-04-19;
 args-out-of-range error when no newline at eob.
Date: Fri, 29 May 2015 08:02:41 +0200
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




This bug report was last modified 10 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.