From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#32056: Small patch Date: Thu, 05 Jul 2018 12:22:59 +0200 Message-ID: <87in5uoubg.fsf@gmail.com> References: <23357.55055.302384.449502@mail.eng.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1530786129 21983 195.159.176.226 (5 Jul 2018 10:22:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2018 10:22:09 +0000 (UTC) Cc: 32056@debbugs.gnu.org To: "Gian Uberto Lauri" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 05 12:22:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb1Om-0005aP-Pr for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 12:22:04 +0200 Original-Received: from localhost ([::1]:51611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb1Qt-0005S5-J1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 06:24:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb1Ql-0005RA-6o for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 06:24:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb1Qg-00078y-95 for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 06:24:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fb1Qg-00078D-3Q for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 06:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fb1Qf-0003d5-Qg for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 06:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jul 2018 10:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32056-submit@debbugs.gnu.org id=B32056.153078619013887 (code B ref 32056); Thu, 05 Jul 2018 10:24:01 +0000 Original-Received: (at 32056) by debbugs.gnu.org; 5 Jul 2018 10:23:10 +0000 Original-Received: from localhost ([127.0.0.1]:47249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb1Pp-0003bv-Pl for submit@debbugs.gnu.org; Thu, 05 Jul 2018 06:23:09 -0400 Original-Received: from mail-wm0-f53.google.com ([74.125.82.53]:39251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb1Pn-0003bY-8N for 32056@debbugs.gnu.org; Thu, 05 Jul 2018 06:23:07 -0400 Original-Received: by mail-wm0-f53.google.com with SMTP id p11-v6so9910787wmc.4 for <32056@debbugs.gnu.org>; Thu, 05 Jul 2018 03:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=HPofIWfP4tq8L/LFvdFybLr3YsjRkvKLcWH2LswGgms=; b=RDDMCx9/SpZCNC4c+F8D+CQznk1SDcccpb/RvfwtB3ikVhb7ZVsGHBitBGV1OTlukl 08ARoW65299p601Fv2cegimlJ7zEGE0uj+fw28FMR60naMPkFNJWTjliGHmANSgXHNSt U5i5a+KruNKDaBgg+B5TCjfQaBSD6JSZUqCyB3KzPWdbxml6Fh+u2/alup6Yl8yHDmCQ DhFPRlVvR6OuptCBa+nL7KAu7n7+3bbtpLdZWzm5z9HZakaVKMLIibWKl2iIfpMCzZxK yjsJ5wDNOR7BD5ahrJv8eC/iAtjjnZ0A9b5xNp4O59gJ/3LRqHMxM+b6fiIV9cIqPZ5s v7+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=HPofIWfP4tq8L/LFvdFybLr3YsjRkvKLcWH2LswGgms=; b=S924rqmZzE2M04kQeBdfEzpOOeFlGsBilYHJ18XiAxmWkQik9hzhCwiXAYrW/eXAIg 2otS+5D06QPoP3L/ua6O+VYJFE2v/4+dqQ6HqeY7vBDMew+Z7aQs9Q8pAM5SPjjQE3/P K05mLFh1o5VU8OEMw7+ARgjGKFXCVhtaM5dsIqqlh19x/ME+UOyOc3do/tU98RcPuhn8 PNUzBMEuOjgiz4nDLK8CS47ipjWm4oRcLG04LuVVJw22R4SHe1oWSqrTGQu+PP4auQpS LkSxE1yt2wdmt+68JT/HnAasWW3Um7OOWUkEvKRB0H1BEEV7uzAF3xPxhpzXYvxSmneV ocIg== X-Gm-Message-State: APt69E36diUM4rsSSdcurMssgQf1pTCUWF6UkiRD5VqD64TN3JqypU7J qlytgZG9jFYj6KLwetq0O2+jWlMx X-Google-Smtp-Source: AAOMgpe14J1rHZavUF+x1pawOTopQ1cOBcu8sXDk3pHHhIrT8mxwA/LeXGUgq2gH35KZ+yaN1z3ESw== X-Received: by 2002:adf:b587:: with SMTP id c7-v6mr3995572wre.141.1530786181099; Thu, 05 Jul 2018 03:23:01 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id x15-v6sm9861707wme.24.2018.07.05.03.22.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 03:23:00 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <23357.55055.302384.449502@mail.eng.it> (Gian Uberto Lauri's message of "Thu, 5 Jul 2018 10:30:07 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148217 Archived-At: "Gian Uberto Lauri" 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