GNU bug report logs - #71258
29.2.50; insert-file-contents has a confusing error when called on a directory

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 29 May 2024 13:47:02 UTC

Severity: normal

Found in version 29.2.50

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 71258-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 71258-done <at> debbugs.gnu.org
Subject: Re: bug#71258: 29.2.50;
 insert-file-contents has a confusing error when called on a directory
Date: Wed, 29 May 2024 17:42:56 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Date: Wed, 29 May 2024 09:45:54 -0400
> 
> 
> 1. emacs -Q
> 2. M-: (insert-file-contents "~") RET
> 3. Observe (error "Maximum buffer size exceeded") since ~ is a directory.
> 
> This is quite confusing as an error message, it should be something else
> instead.

Thanks, I installed a fix on the master branch.




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

Previous Next


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