From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional Date: Thu, 30 Jun 2016 10:25:26 -0400 Message-ID: References: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1467296884 29112 80.91.229.3 (30 Jun 2016 14:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 14:28:04 +0000 (UTC) Cc: Richard Stallman , emacs-devel To: raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 16:28:03 2016 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 1bIcwk-00086t-4k for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 16:28:02 +0200 Original-Received: from localhost ([::1]:50403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIcwe-0004JQ-Df for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 10:27:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIcuv-0003dY-R7 for emacs-devel@gnu.org; Thu, 30 Jun 2016 10:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIcuq-00072b-Sy for emacs-devel@gnu.org; Thu, 30 Jun 2016 10:26:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIcuq-00072R-Ps for emacs-devel@gnu.org; Thu, 30 Jun 2016 10:26:04 -0400 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:33104) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIcui-0005Cs-Ns; Thu, 30 Jun 2016 10:25:56 -0400 Original-Received: by mail-oi0-f50.google.com with SMTP id u201so66944020oie.0; Thu, 30 Jun 2016 07:25:56 -0700 (PDT) X-Gm-Message-State: ALyK8tIJSiNlcil7PfNSYMpCkTC/EsizfnzrMvg3xZqD6J5XaoUvgPCt5zQoR0MQs0dBhGEy4GpPS74I4qPH3w== X-Received: by 10.157.35.87 with SMTP id k23mr9617254otd.138.1467296755914; Thu, 30 Jun 2016 07:25:55 -0700 (PDT) Original-Received: by 10.202.212.143 with HTTP; Thu, 30 Jun 2016 07:25:26 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: 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:204985 Archived-At: On Wed, Jun 29, 2016 at 10:51 PM, raman wrote: > Along those lines I had once suggested that we make (interactive-p) a > synonym for (called-interactively-p 'interactive) but it got rejected > through a complex email thread. That might still be worth doing. Maybe the simplest solution would be to undeprecate (interactive-p), if it is not doing anything wrong, and simply continue in its documentation to refer to the other calling form for more complex cases. I have seen another case where a function has been deprecated (find-tag, with a suggestion to use xref-find-definitions) where the new function's calling signature and behavior is totally incompatible with that of the deprecated function. This seems wrong. If the old behavior works fine and is used widely and you want to add new behavior, there should be some good thought towards backwards compatibility, as I am sure is typically done. It would be nice if John and Eli could just make some final decision on the interactive-p issue and then put that one to rest, whatever it is. Bob