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 #8 received at 32056 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <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 12:22:59 +0200
"Gian Uberto Lauri" <saint <at> eng.it> writes:

> Good morning,
>
> today I pulled the latest source, compiled the Editor and tried to run
> it.
>
> My .emacs file contains a (find-file ), and it failed.
>
> 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.

> I attach my trivial fix.
>
> By the way, I discovered that the focus-frame function disappeared.
> I used it to give the focus to the special frame I use for e-mail.

Hmm, that function was marked as doing nothing, and had been for some
time. 'select-frame' perhaps, or 'select-frame-set-input-focus' might
do what you want.

Regards

Robert




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

Previous Next


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