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: Tue, 28 Jun 2016 16:46:57 -0400 Message-ID: References: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113de1ce9d20a605365cbe58 X-Trace: ger.gmane.org 1467146911 9020 80.91.229.3 (28 Jun 2016 20:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 20:48:31 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 22:48:18 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 1bHzvY-000699-G4 for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 22:48:12 +0200 Original-Received: from localhost ([::1]:39761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzvX-0006ME-NI for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 16:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzuw-0006Is-5L for emacs-devel@gnu.org; Tue, 28 Jun 2016 16:47:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHzuq-0001qr-Rb for emacs-devel@gnu.org; Tue, 28 Jun 2016 16:47:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzuq-0001qO-PC for emacs-devel@gnu.org; Tue, 28 Jun 2016 16:47:28 -0400 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:34867) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bHzup-0000Ze-9O for emacs-devel@gnu.org; Tue, 28 Jun 2016 16:47:27 -0400 Original-Received: by mail-oi0-f51.google.com with SMTP id r2so40530945oih.2 for ; Tue, 28 Jun 2016 13:47:27 -0700 (PDT) X-Gm-Message-State: ALyK8tJG3LN/+eKZtA1qdfK4s5xzqZWJCsX9mLggvtirguq4BhdyrHrNz1m9Sxko1pvvsCur/+PBSVqRZEhsgg== X-Received: by 10.202.245.133 with SMTP id t127mr3421448oih.192.1467146846405; Tue, 28 Jun 2016 13:47:26 -0700 (PDT) Original-Received: by 10.202.212.143 with HTTP; Tue, 28 Jun 2016 13:46:57 -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:204899 Archived-At: --001a113de1ce9d20a605365cbe58 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jun 28, 2016 at 4:29 PM, Glenn Morris wrote: > > It's easy to search for prior discussion on this. Eg > > http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00326.html > > That would defeat the whole purpose (which is to force the author > to make a choice between the two kinds, rather than to use one without > knowing that there's a choice). > =E2=80=8BThis is a frequently called function and it is not good design to = make everyone who has encountered it and read the documentation forever more have to add that argument when so many of the use cases would not require it. And again, visually, it looks bad and is much more complex than the prior (interactive-p). Yes, there will be newbies who do not know there is an argument that they could provide because they just copied a snippet of code but that is far from a major issue and not much of a justification to create more work for the bulk of developers. Does anyone concur or disagree? I will have a look at the prior discussion. Bob =E2=80=8B --001a113de1ce9d20a605365cbe58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Jun 28, 2= 016 at 4:29 PM, Glenn Morris <rgm+news@gnu.org> wrote:

It's easy to search for prior discussion on this. Eg

http://lists.gnu.org/archive/html= /emacs-devel/2015-07/msg00326.html

=C2=A0 =C2=A0That would defeat the whole purpose (which is to force the aut= hor
=C2=A0 =C2=A0to make a choice between the two kinds, rather than to use one= without
=C2=A0 =C2=A0knowing that there's a choice).

<= /div>
=E2=80=8BThis is a frequently called function and it i= s not good design to make everyone who has encountered it and read the docu= mentation forever more have to add that argument when so many of the use ca= ses would not require it.=C2=A0 And again, visually, it looks bad and is mu= ch more complex than the prior (interactive-p).=C2=A0 Yes, there will be ne= wbies who do not know there is an argument that they could provide because = they just copied a snippet of code but that is far from a major issue and n= ot much of a justification to create more work for the bulk of developers.<= /div>

Does anyone conc= ur or disagree?

I will have a look at the prior discussion.
Bob
=E2=80=8B
= =C2=A0

--001a113de1ce9d20a605365cbe58--