GNU bug report logs - #66375
30.0.50; (error "Maximum buffer size exceeded") from (insert-file-contents "/dev/null")

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Fri, 6 Oct 2023 17:13:02 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sam Steingold <sds <at> gnu.org>
Cc: luangruo <at> yahoo.com, eggert <at> cs.ucla.edu, 66375 <at> debbugs.gnu.org
Subject: Re: 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
> From: Sam Steingold <sds <at> gnu.org>
> Date: Sun, 8 Oct 2023 21:57:02 -0400
> Cc: Po Lu <luangruo <at> yahoo.com>, Paul Eggert <eggert <at> cs.ucla.edu>, 66375 <at> debbugs.gnu.org
> 
> On Sat, 7 Oct 2023 at 01:54, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > From: Sam Steingold <sds <at> gnu.org>
> > > 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.




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

Previous Next


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