[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Delete variables obsolete since Emacs 23
From: |
Drew Adams |
Subject: |
RE: Delete variables obsolete since Emacs 23 |
Date: |
Mon, 24 Aug 2020 21:06:23 -0700 (PDT) |
> > > interactive-p is used too much in the wild for us to ever delete it.
> > > It should stay marked as obsolete, but with a comment saying "never
> > > delete" or something, because removing it will break too much code
> > > out there.
>
> I agree we should never delete it, for that good reason.
Good. That was the (only) point in question.
> But we made it obsolete for a good reason, too: any program which
> uses will misbehave in some unusual cases. The only way to get
> fully correct behavior is to eliminate the calls to interactive-p,
> and instead use an optional argument which gets a non-nil value
> in an interactive call.
>
> All the calls in the Emacs code have been replaced.
Uh, no, I don't think so.
(interactive-p) == (called-interactively-p 'interactive)
Grepping tells me there are 258 occurrences of the
latter in the Lisp code distributed with Emacs.
- Re: Delete variables obsolete since Emacs 23, (continued)
- Re: Delete variables obsolete since Emacs 23, Eli Zaretskii, 2020/08/19
- RE: Delete variables obsolete since Emacs 23, Drew Adams, 2020/08/18
- Re: Delete variables obsolete since Emacs 23, Richard Stallman, 2020/08/18
- RE: Delete variables obsolete since Emacs 23, Drew Adams, 2020/08/18
- Re: Delete variables obsolete since Emacs 23, Lars Ingebrigtsen, 2020/08/18
- Re: Delete variables obsolete since Emacs 23, Stefan Kangas, 2020/08/23
- Re: Delete variables obsolete since Emacs 23, Richard Stallman, 2020/08/24
- RE: Delete variables obsolete since Emacs 23,
Drew Adams <=
- Re: Delete variables obsolete since Emacs 23, Richard Stallman, 2020/08/25
- Re: Delete variables obsolete since Emacs 23, Gregory Heytings, 2020/08/26
- Re: Delete variables obsolete since Emacs 23, Stefan Kangas, 2020/08/26
- Re: Delete variables obsolete since Emacs 23, Richard Stallman, 2020/08/26
- Re: Delete variables obsolete since Emacs 23, Stefan Kangas, 2020/08/26
- RE: Delete variables obsolete since Emacs 23, Drew Adams, 2020/08/26
- Re: Delete variables obsolete since Emacs 23, Stefan Monnier, 2020/08/26