From: Eli Zaretskii <eliz@gnu.org>
To: Spencer Baugh <sbaugh@janestreet.com>
Cc: 71258-done@debbugs.gnu.org
Subject: 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 [thread overview]
Message-ID: <86ttigsmq7.fsf@gnu.org> (raw)
In-Reply-To: <ierbk4ospd9.fsf@igm-qws-u22796a.mail-host-address-is-not-set> (message from Spencer Baugh on Wed, 29 May 2024 09:45:54 -0400)
> From: Spencer Baugh <sbaugh@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.
prev parent reply other threads:[~2024-05-29 14:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 13:45 bug#71258: 29.2.50; insert-file-contents has a confusing error when called on a directory Spencer Baugh
2024-05-29 14:42 ` Eli Zaretskii [this message]
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=86ttigsmq7.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71258-done@debbugs.gnu.org \
--cc=sbaugh@janestreet.com \
/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).