From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: interactive-p and called-interactively-p Date: Sun, 16 Aug 2009 09:29:21 -0400 Message-ID: <87my5zopji.fsf@cyd.mit.edu> References: <8AD328622F5645B282D1E72CB4582EF3@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250429320 20866 80.91.229.12 (16 Aug 2009 13:28:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 13:28:40 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 16 15:28:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mcfmh-0003jb-JA for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 15:28:31 +0200 Original-Received: from localhost ([127.0.0.1]:55013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcfmg-0000iN-PL for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 09:28:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mcfmc-0000iI-S2 for emacs-devel@gnu.org; Sun, 16 Aug 2009 09:28:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McfmY-0000hp-LZ for emacs-devel@gnu.org; Sun, 16 Aug 2009 09:28:26 -0400 Original-Received: from [199.232.76.173] (port=35357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McfmY-0000hm-GB for emacs-devel@gnu.org; Sun, 16 Aug 2009 09:28:22 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:36273) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McfmY-0000ek-7z for emacs-devel@gnu.org; Sun, 16 Aug 2009 09:28:22 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 44CA257E25D; Sun, 16 Aug 2009 09:29:21 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 16 Aug 2009 01:16:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114310 Archived-At: Stefan Monnier writes: >> It would have been far better to just add an optional argument to >> `interactive-p' than to create a new, similarly named function. > > Agreed. Any objection? Since called-interactively-p has been around since Emacs 22, and the benefit in cleanliness is rather minute, I don't think it's worth the hassle. We can't just remove called-interactively-p because that would break backward compatibility, which means adding another argument to interactive-p just means more non-useful complexity (how many people would benefit from this anyway?).