GNU bug report logs - #70236
Truncating only happening on 900 character long lines in *compilation* buffer

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 6 Apr 2024 09:15:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 70236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 70236 <at> debbugs.gnu.org
Subject: Re: bug#70236: Truncating only happening on 900 character long lines
 in *compilation* buffer
Date: Sun, 07 Apr 2024 12:10:22 +0300
> Date: Sun, 07 Apr 2024 13:31:28 +1200
> From: Phil Sainty <psainty <at> orcon.net.nz>
> 
> This will generate the same output as that perl:
> 
> (cl-loop for n from 100 to 1500 by 100 do
>           (insert (number-to-string n)
>                   " [\"" (make-string n (string-to-char
>                                            (format "%X" (/ n 100))))
>                   "\"]\n\n"))
> 
> If you write that to a file "test" in some temp dir and have
> a Makefile like this:
> 
> foo:
> 	cat test
> 
> Then the suggested command will demonstrate the issue:
> 
> emacs -Q -f compile
> 
> What you're looking at is the difference between the "900" line
> (which gets truncated) and all the other lines (which do not).
> 
> compilation-max-output-line-length is 400

Thanks, should be fixed now on the master branch.




This bug report was last modified 1 year and 37 days ago.

Previous Next


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