From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Change in files.el Date: Sat, 28 Jan 2017 21:37:08 +0200 Message-ID: <83sho3x9gb.fsf@gnu.org> References: <83mvebzh0k.fsf@gnu.org> <83bmurz0y9.fsf@gnu.org> <8360kzyxor.fsf@gnu.org> <83ziibxg7j.fsf@gnu.org> <83y3xvxfbs.fsf@gnu.org> <87bmurjack.fsf@udel.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1485632262 14377 195.159.176.226 (28 Jan 2017 19:37:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 19:37:42 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Mark Oteiza Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 20:37:36 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 1cXYoV-0002rv-TY for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 20:37:32 +0100 Original-Received: from localhost ([::1]:52935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXYob-00026F-5o for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 14:37:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXYoP-00024G-7d for emacs-devel@gnu.org; Sat, 28 Jan 2017 14:37:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXYoM-0005nH-5Q for emacs-devel@gnu.org; Sat, 28 Jan 2017 14:37:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXYoM-0005nD-2F; Sat, 28 Jan 2017 14:37:22 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2432 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cXYoK-0004BG-NN; Sat, 28 Jan 2017 14:37:21 -0500 In-reply-to: <87bmurjack.fsf@udel.edu> (message from Mark Oteiza on Sat, 28 Jan 2017 13:41:31 -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:211709 Archived-At: > From: Mark Oteiza > Date: Sat, 28 Jan 2017 13:41:31 -0500 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Wasn't the reason any of these defaults changed simply so that > add-function would work? Why is it important to support add-function, when we already have a variable that can be assigned a function value? If someone wants to customize the feature which will call a variable's value if non-nil, they just need to write a function which does what they want and assign it to that variable, no need for add-function. What am I missing?