From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Daniel Colascione" Newsgroups: gmane.emacs.bugs Subject: bug#31852: Make memory-limit obsolete Date: Sat, 16 Jun 2018 08:51:47 -0700 Message-ID: References: <510fa6e2-38e5-f5cf-e1c8-4a1a553a162d@cs.ucla.edu> <83in6j1bus.fsf@gnu.org> <36f43145-ab73-d6e4-ae70-4d801bfe7583@cs.ucla.edu> <83o9gazses.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1529164206 28348 195.159.176.226 (16 Jun 2018 15:50:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2018 15:50:06 +0000 (UTC) User-Agent: SquirrelMail/1.4.23 [SVN] To: 31852@debbugs.gnu.org, eggert@cs.ucla.edu, eggert@cs.ucla.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 16 17:50:02 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 1fUDSj-0007CI-4Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jun 2018 17:50:01 +0200 Original-Received: from localhost ([::1]:51903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUDUq-0000V0-8t for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jun 2018 11:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUDUk-0000Uu-8O for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2018 11:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUDUg-0004Li-VJ for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2018 11:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUDUg-0004Le-On for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2018 11:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUDUg-0005Lu-EA for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2018 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Daniel Colascione" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jun 2018 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31852 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 31852-submit@debbugs.gnu.org id=B31852.152916431120558 (code B ref 31852); Sat, 16 Jun 2018 15:52:02 +0000 Original-Received: (at 31852) by debbugs.gnu.org; 16 Jun 2018 15:51:51 +0000 Original-Received: from localhost ([127.0.0.1]:51842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUDUV-0005LV-AN for submit@debbugs.gnu.org; Sat, 16 Jun 2018 11:51:51 -0400 Original-Received: from dancol.org ([96.126.100.184]:58800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUDUT-0005LM-Ib for 31852@debbugs.gnu.org; Sat, 16 Jun 2018 11:51:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=NDOQs3EFYT5lQdeJk9L09HwePj/sV6n67BDEEFjG9lQ=; b=MEXLSRzgatNi45hQf+Ziyf3GrR9Q67sbmwWIDX+xYozac3uRXc9/p20x41gIcCi4qRucxydGGa4/D7CNFPlEWQIQV8eLOQxKJHRujtyjKjO0nIThL7UALZ74jmzjeXSA/VAoPSHHdxDAsxs61jVaMlflT7HmezqAJZeHZA1AeF4xp7S91+GnUWA2mWPuqwkQ42LAuzZAqKLjjM5/ct4/cSqW42bzJ+SUnGYBlFuaXhL/kHVir0ZeNx6Rb78zKPi82EIX38LZxWSBBWeEBT7gnsCyG2tbmBC8dClCwtf8jiPQyxGgK6uPnGHdYShL9Aw3K8WtgW2UTng40udLA2oNiQ==; Original-Received: from localhost ([127.0.0.1] helo=dancol.org) by dancol.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUDUR-00026Q-QB; Sat, 16 Jun 2018 08:51:47 -0700 Original-Received: from 127.0.0.1 (SquirrelMail authenticated user dancol) by dancol.org with HTTP; Sat, 16 Jun 2018 08:51:47 -0700 In-Reply-To: X-Priority: 3 (Normal) Importance: Normal 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:147516 Archived-At: > Eli Zaretskii wrote: > >> If nobody uses the function, I see no gain at all, because obsoleting >> a function tells those who use it not to. > > If Emacs has useless and confusing features that consume documentation > space and > implementation resources, that is a net harm to current and future users. > Omitting such features is therefore a net gain to users. The benefit to > users by > omitting useless and confusing features is worth the maintenance cost to > us of > obsoleting these features. > > That being said, it appears I haven't convinced you to obsolete > memory-limit, so > I installed patch 1 but not patch 2 and am closing the bug report. I agree with obsoleting memory-limit. I don't like the vsize patch you installed though: what does the amount of address space reserved actually tell anyone? There's no relationship to actual resource consumption. IMHO, memory-limit should return a combination of the Lisp heap size with whatever malloc says is its own heap size.