unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam Steingold <sds@gnu.org>
Cc: luangruo@yahoo.com, eggert@cs.ucla.edu, 66375@debbugs.gnu.org
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	[thread overview]
Message-ID: <83v8bgvzbj.fsf@gnu.org> (raw)
In-Reply-To: <CAFsbZ7bzcWU3Yz_zNHyHFQz_Axw92mD8mc9nWG7F2hbf+tF9_g@mail.gmail.com> (message from Sam Steingold on Sun, 8 Oct 2023 21:57:02 -0400)

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





  reply	other threads:[~2023-10-09 10:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06 17:11 bug#66375: 30.0.50; (error "Maximum buffer size exceeded") from (insert-file-contents "/dev/null") Sam Steingold
2023-10-07  5:54 ` Eli Zaretskii
2023-10-07  6:43   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-07  7:43     ` Eli Zaretskii
2023-10-09  1:57   ` Sam Steingold
2023-10-09 10:56     ` Eli Zaretskii [this message]
2023-10-15 15:43       ` Sam Steingold
2023-10-15 16:33         ` Eli Zaretskii
2023-10-15 16:44           ` Sam Steingold
2023-10-15 18:22             ` Eli Zaretskii
2023-12-14 16:46 ` Ed Santiago
2023-12-14 18:43   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83v8bgvzbj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66375@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=luangruo@yahoo.com \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).