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#66375: 30.0.50; (error "Maximum buffer size exceeded") from (insert-file-contents "/dev/null") Date: Mon, 09 Oct 2023 13:56:48 +0300 Message-ID: <83v8bgvzbj.fsf@gnu.org> References: <87cyxru14o.fsf@gnu.org> <83o7hb0yfk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20070"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, eggert@cs.ucla.edu, 66375@debbugs.gnu.org To: Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 09 12:57:57 2023 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 1qpnxU-0004ug-WF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Oct 2023 12:57:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpnxJ-0004CE-48; Mon, 09 Oct 2023 06:57:45 -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 1qpnxH-0004C5-9K for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 06:57:44 -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 1qpnxG-0001zm-Hi for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 06:57:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpnxa-0004CK-5h for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2023 06:58: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: Mon, 09 Oct 2023 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66375 X-GNU-PR-Package: emacs Original-Received: via spool by 66375-submit@debbugs.gnu.org id=B66375.169684905216081 (code B ref 66375); Mon, 09 Oct 2023 10:58:02 +0000 Original-Received: (at 66375) by debbugs.gnu.org; 9 Oct 2023 10:57:32 +0000 Original-Received: from localhost ([127.0.0.1]:59397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpnx5-0004BI-U0 for submit@debbugs.gnu.org; Mon, 09 Oct 2023 06:57:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpnx1-0004Ay-3E for 66375@debbugs.gnu.org; Mon, 09 Oct 2023 06:57:30 -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 1qpnwb-0001u4-2y; Mon, 09 Oct 2023 06:57:01 -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=AnJ/yHRH0+N1UkBFw/3tNTU1Y+ZtH98E3cdBDhps1nw=; b=YLQj/1f26Sxn Af3xh6SIgsDDPTCKv1vy1azel6/y5iwHlv47OuHxEvcFcrqQsA3scI7d6cmxOvrDCIgTH9pJ8HslU n9P0JTpEgZ+bXqfvyMOZqzTI8sjsfnY7JtAsALfLuEmxVJdh4yziE6LFL1XO+zlaJKIJ2Y9ALVBJ7 JYThjGuqZxVkRICeDPbLeMGFb/cYETOEOG/KV5e5TC1H6MWdEN7MAFZzAIhA8VKClnYFHd9OOF1II UlKJZcX6abIrR55yEWZhJ4LeJSidO4fhCDizFFgLU5Ua1g+/qMFS+33+9Ucyq3SZcXppq1NoN2Lxf auhSuFdeTMyHsEOc+Cy9xQ==; In-Reply-To: (message from Sam Steingold on Sun, 8 Oct 2023 21:57:02 -0400) 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:272141 Archived-At: > From: Sam Steingold > Date: Sun, 8 Oct 2023 21:57:02 -0400 > Cc: Po Lu , Paul Eggert , 66375@debbugs.gnu.org > > On Sat, 7 Oct 2023 at 01:54, Eli Zaretskii wrote: > > > > > From: Sam Steingold > > > Date: Fri, 06 Oct 2023 13:11:35 -0400 > > > emacs -Q > > > > > > (insert-file-contents "/dev/null") > > > ==> > > > Debugger entered--Lisp error: (error "Maximum buffer size exceeded") > > > insert-file-contents("/dev/null") > > > > This is a "feature". > > this is new behavior. > I used /dev/null as "empty gnu score file since forever" You still can do that, you just need to use a non-nil END argument. And maybe we will find a better solution.