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:51:24 -0400

Much of the prior discussion on this topic seems to favor my suggestion and even suggest that people would like (interactive-p) non-deprecated.  -- Bob

Here is a taste:

From:Drew Adams
Subject:RE: Brittleness of called-interactively-p
Date:Thu, 16 Jul 2015 10:36:41 -0700 (PDT)
FWIW, I still use `interactive-p' in much of my code, because the code
needs to work also with older Emacs versions.  And because I have never
noticed any problem, for this code anyway, with `interactive-p'.

What's more, the doc for `interactive-p' does not really tell you how
to replace it - it just says to use `called-interactively-p', without
any mention of which argument gives you the behavior you had previously
with `interactive-p' or similar-but-somehow-improved behavior.

`interactive-p' was indeed used heavily, over decades.  And it is no
doubt still in use quite a bit.  Too bad there is next-to-no guidance
on how to use `called-interactively-p' to replace it.


reply via email to

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