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 16:41:35 +0200 Message-ID: <87efghpwww.fsf@gmail.com> References: <23357.55055.302384.449502@mail.eng.it> <87in5uoubg.fsf@gmail.com> <23358.9317.518524.506241@mail.eng.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1530801609 29965 195.159.176.226 (5 Jul 2018 14:40:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2018 14:40: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 16:40:04 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 1fb5QR-0007hF-Tx for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 16:40:04 +0200 Original-Received: from localhost ([::1]:53145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb5SZ-0006ZN-7Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2018 10:42:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb5SQ-0006Z5-Fi for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 10:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb5SM-0000Fn-OH for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 10:42:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fb5SM-0000F2-KJ for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 10:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fb5SM-0005iM-Bf for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2018 10:42:02 -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 14:42:02 +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: notabug Original-Received: via spool by 32056-submit@debbugs.gnu.org id=B32056.153080170721944 (code B ref 32056); Thu, 05 Jul 2018 14:42:02 +0000 Original-Received: (at 32056) by debbugs.gnu.org; 5 Jul 2018 14:41:47 +0000 Original-Received: from localhost ([127.0.0.1]:47904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb5S6-0005hr-Tx for submit@debbugs.gnu.org; Thu, 05 Jul 2018 10:41:47 -0400 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:37198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fb5S4-0005hb-4x for 32056@debbugs.gnu.org; Thu, 05 Jul 2018 10:41:45 -0400 Original-Received: by mail-wr1-f41.google.com with SMTP id q10-v6so1319745wrd.4 for <32056@debbugs.gnu.org>; Thu, 05 Jul 2018 07:41:44 -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:content-transfer-encoding; bh=QsjYXkj6rK3FJlGPeCX2Y6qZnv540hCKxkzvfFVtzQs=; b=q/baj8st9mReO+aK6+CDjhDa0+wmQ4fe5RDREN5krq+ow3VXLyvqRFYXXvKd2OvNZ0 TeuoBgq15vBvFY1LDlHQa4jRme+6BUgID+RsN0CDVJj7Y6BD6bOjCVB1Xr/LMhuK+NYU jtZLoGlXbRByODFBZBWcI3hefxJGSM/7BvLnAocPy+3J29ULF7b8IbOByccPD9LPBiE3 v0ZGJH8OzBwgNzxGV/cxzTckckdwqj1a0rCmF0NQJ5orJuE16edrkKFrj7x+Y/xvL0fn viF4EnF5x5K7kNPE+1QiHuX046IhmUvNc6URre/9lASMfRK44kaNsTLm5S1VXBUW06/z TK0g== 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 :content-transfer-encoding; bh=QsjYXkj6rK3FJlGPeCX2Y6qZnv540hCKxkzvfFVtzQs=; b=Gsd6XaI/EJSCH/h4h+FyuVExLqSjecuaxOo6RWIqnZnsA00RG+HwE01KA3gQA5N+ft PAeqP290krwWbu6Lj6RzLvKaANfbqL5Y5M+K4nQX0597mzf5LUt02943rCFrnSwL53m/ EC9jUveqcX9DlQapnxCc4q71FIo5cER83/bKkAWi2FgFU+HcEi/GcgpYe+xpdwX48q3o btjaIfm2qKjHBxHQ5oJshC2mrhciaBwyy93ovF1xrvWgPsTVJAI0mgM1eY+U1MUDmwjm Igqo5JGXBdSMUUercEK8shT+C2lzKC5OiXHnMFkvCJUeZRP6N/a88CGFNgJQxKd1iGsO XCKQ== X-Gm-Message-State: APt69E3HhOeNV7sqjdbszaCNjVUSM+TOFCnGXrngRyK3rdH4dhSDIKhz RbOTn1bBK3LdeZzfYtCTgcQfJyvJ X-Google-Smtp-Source: AAOMgpfydTi7O+J2tI4TVcz7rWJTRnTlSQS8HxLKfiUVoIoj9RqDoN8D8GuG3y64Lzv3y3cQaHoF2w== X-Received: by 2002:a5d:4452:: with SMTP id x18-v6mr5189132wrr.227.1530801697945; Thu, 05 Jul 2018 07:41:37 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id i95-v6sm8753143wri.63.2018.07.05.07.41.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 07:41:36 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <23358.9317.518524.506241@mail.eng.it> (Gian Uberto Lauri's message of "Thu, 5 Jul 2018 16:00:05 +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:148223 Archived-At: "Gian Uberto Lauri" writes: >>>>>> "RP" =3D=3D Robert Pluim writes: > > RP> so the 4th argument should be ok. I suspect you have your own > RP> definition of abort-if-file-too-large somewhere. > > Your suspects are correct. > > I had a copy of the function in my .emacs with a patch [BAD THING =E2=84= =A2] > to exclude some files from size check (it was used for RMAIL). > > I don't think I triggered that patch for a long time, I changed my > habits because vm gets damn slow with large mailboxes. Therefore I > ask: > > - could it be dangerous? > - could it be useful to others? Without seeing your patch, that=CA=BCs hard to answer. The default value of large-file-warning-threshold is 100MB, which these days might be too low, but nothing prevents you from setting it higher (I have it set to nil). Regards Robert