From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Change in files.el Date: Sat, 28 Jan 2017 19:21:36 -0500 Message-ID: References: <83mvebzh0k.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1485649366 4109 195.159.176.226 (29 Jan 2017 00:22:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2017 00:22:46 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 29 01:22:42 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cXdGF-00084E-Eb for ged-emacs-devel@m.gmane.org; Sun, 29 Jan 2017 01:22:27 +0100 Original-Received: from localhost ([::1]:53627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXdGK-0001KF-Uw for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 19:22:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXdFX-0001CG-Rl for emacs-devel@gnu.org; Sat, 28 Jan 2017 19:21:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXdFU-0003Er-Ut for emacs-devel@gnu.org; Sat, 28 Jan 2017 19:21:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXdFR-0003Dn-3E; Sat, 28 Jan 2017 19:21:37 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cXdFQ-0001Y7-Gp; Sat, 28 Jan 2017 19:21:36 -0500 In-reply-to: (message from Stefan Monnier on Sat, 28 Jan 2017 09:40:11 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211714 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > - So that you don't have to wrap each and every use inside an `if'. But...that use is already inside an `if'. This is the default for an argument which already can be nil. > - Or so you don't have to fix the docstring to say what happens when the > value is nil. I don't think it is necessary. > - Or so you can use `add-function' on it. But you can't do that anyway. > - More generally, so that you can slightly change its behavior without > having to re-implement the default behavior by hand. But `save-some-buffers' already implements the default behavior, since 1984. > - Also, so as to make sure that it is *possible* to reimplement the > default behavior by hand (i.e. to make sure the predicate has access to all > the info it needs to reproduce the default behavior). I don't think it is worth doing this much extra work merely to introduce a default value for the argument PRED. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.