GNU bug report logs - #32056
too many arguments for abort-if-file-too-large

Previous Next

Package: emacs;

Reported by: Gian Uberto Lauri <saint <at> eng.it>

Date: Thu, 5 Jul 2018 08:31:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: "Gian Uberto Lauri" <saint <at> eng.it>
Cc: 32056 <at> debbugs.gnu.org
Subject: Re: bug#32056: Small patch
Date: Thu, 05 Jul 2018 07:13:43 -0400
retitle 32056 too many arguments for abort-if-file-too-large
tags 32056 + notabug
quit

Robert Pluim <rpluim <at> gmail.com> writes:
>>
>> Further investigation revealed that in line 2158 in files.el contains a
>> call to abort-if-file-too-large with an extra argument that cause the
>> find-file command to fail.
>>
>
> The signature of that function is:
>
> (defun abort-if-file-too-large (size op-type filename &optional offer-raw)
>
> so the 4th argument should be ok. I suspect you have your own
> definition of abort-if-file-too-large somewhere.

Specifically, the 4th argument was added recently in [1: 416ba369c4] for
both the function definition and caller.

[1: 416ba369c4]: 2018-06-07 22:05:33 -0700
  Offer to open large files without modes
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=416ba369c4ee2592d226eef68aeb4ad35ffea61d




This bug report was last modified 5 years and 316 days ago.

Previous Next


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