emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argume


From: Robert Weiner
Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional
Date: Tue, 28 Jun 2016 16:46:57 -0400

On Tue, Jun 28, 2016 at 4:29 PM, Glenn Morris <address@hidden> 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).

​This 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
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]