From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: warn-maybe-out-of-memory Date: Fri, 11 Jul 2014 06:28:03 -0700 (PDT) Message-ID: <322cfff4-a3ee-4e71-a247-e80270b8091b@default> References: <83egxtax97.fsf@gnu.org> <83d2ddaw52.fsf@gnu.org> <53BF6B2F.5030701@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405085324 16914 80.91.229.3 (11 Jul 2014 13:28:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 13:28:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 15:28:35 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5asM-0003zF-9C for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 15:28:34 +0200 Original-Received: from localhost ([::1]:44801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5asL-0002h9-QP for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 09:28:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5asC-0002Ym-1Y for emacs-devel@gnu.org; Fri, 11 Jul 2014 09:28:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5as4-00043m-DK for emacs-devel@gnu.org; Fri, 11 Jul 2014 09:28:23 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:34112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5arv-0003xK-8k; Fri, 11 Jul 2014 09:28:07 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s6BDS5rQ020528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Jul 2014 13:28:05 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s6BDS4BF018903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Jul 2014 13:28:04 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s6BDS4Vq018891; Fri, 11 Jul 2014 13:28:04 GMT In-Reply-To: <53BF6B2F.5030701@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172982 Archived-At: > >> I wonder if this function should only warn when it is called from > >> commands invoked by the user, as opposed to from a Lisp program. The > >> warning is in find-file-noselect, which AFAIK is widely used in Lisp > >> programs, where displaying this warning might be inappropriate. >=20 > Hm, find-file-noselect also may ask for confirmation to open large file. > If this is undesirable, shouldn't we move all user interaction to top-lev= el > find-file? See bug 8180 about user confirmation interaction in `find-file-no-select': http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8180 I think there was also some other discussion, on this list, of the question you raise, but I cannot seem to find it.