From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70236: Truncating only happening on 900 character long lines in *compilation* buffer Date: Sat, 06 Apr 2024 14:01:15 +0300 Message-ID: <86il0u3gck.fsf@gnu.org> References: <87msq64zvd.5.fsf@jidanni.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21877"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70236@debbugs.gnu.org To: Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 06 13:02:21 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rt3oT-0005Sg-Pz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Apr 2024 13:02:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt3o7-0000Ou-48; Sat, 06 Apr 2024 07:01:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt3o4-0000Ob-Rm for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:01:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rt3o4-0003kn-JR for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:01:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt3oA-0003eJ-Cs for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Apr 2024 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70236 X-GNU-PR-Package: emacs Original-Received: via spool by 70236-submit@debbugs.gnu.org id=B70236.171240129713879 (code B ref 70236); Sat, 06 Apr 2024 11:02:02 +0000 Original-Received: (at 70236) by debbugs.gnu.org; 6 Apr 2024 11:01:37 +0000 Original-Received: from localhost ([127.0.0.1]:38438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3nk-0003bn-MI for submit@debbugs.gnu.org; Sat, 06 Apr 2024 07:01:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3nh-0003VA-LT for 70236@debbugs.gnu.org; Sat, 06 Apr 2024 07:01:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt3nV-0003gv-Dc; Sat, 06 Apr 2024 07:01:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OnKNFk5G7Pu9mYiUjtWrDBArkPoZfd3PpgIiIHAkeKA=; b=NUy5zQILvkeW w7+e03uXVsIfiA4ikgsb95WIU4DsdRWZJb44DlK4/uQywpGzc0w3N8N7iJqrFxOBTYeT5Z9+VaD12 DoFS3VN4rZLeDsYFMBe+eYgjhYYvb0K0/07JNgzkqkSby27xsakwj+gKqOx/XX9k/8VhXeWLsFeYN GbYixr5Mk5xIzAdtFWLHaoEh26gSA+5++eyA5L3xSHaFYZqkcQmmqsapsoa2IIFkjwd4Tei02yA8B M35SQXKYLhlsx3e5RWJb0eGEoCLhuNKk9+kcMP2znzuTVp81IFOgcba9GxCWMzfnLMLmwBgTzZk+j mgjC4qWpOluHKjl1LRHuvg==; In-Reply-To: <87msq64zvd.5.fsf@jidanni.org> (message from Dan Jacobson on Sat, 06 Apr 2024 17:14:14 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282781 Archived-At: > From: Dan Jacobson > Date: Sat, 06 Apr 2024 17:14:14 +0800 > > In > https://emacs.stackexchange.com/questions/80941/what-truncates-lines-at-the-400th-character-in-the-compilation-buffer/80949 > I have reproduced truncating triggered on 900 character lines only, > when one would expect it happening on other lines too. When I try to reproduce, I get an error: make -k perl -MJSON -we 'for(1..9, q(A)..q(F)){$n=$_ x (hex ($_) * 100); @k=($n); print\ length $n, " ", encode_json \@k, $/ x 2;}' Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC co\ ntains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/\ perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_\ 64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34\ /usr/local/lib/site_perl). BEGIN failed--compilation aborted. make: *** [Makefile:2: k] Error 2 So please post a recipe which mere mortals can follow without the need to go down the rabbit hole if installing Perl modules and whatnot. Surely, investigating an Emacs issue shouldn't require any Perl modules. I also don't understand what exactly is a bug here. Is it the fact that truncation happens at the 900th character, or is it about the need of a nosy user to understand how the extra characters are hidden?