* Why is `emacs' a feature?
@ 2020-10-18 1:42 Drew Adams
2020-10-18 1:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-18 13:40 ` Stefan Monnier
0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2020-10-18 1:42 UTC (permalink / raw)
To: Help Gnu Emacs
Why is (featurep 'emacs) true?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why is `emacs' a feature?
2020-10-18 1:42 Why is `emacs' a feature? Drew Adams
@ 2020-10-18 1:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-18 13:40 ` Stefan Monnier
1 sibling, 0 replies; 4+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2020-10-18 1:58 UTC (permalink / raw)
To: help-gnu-emacs
Drew Adams wrote:
> Why is (featurep 'emacs) true?
(member 'emacs features)
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why is `emacs' a feature?
2020-10-18 1:42 Why is `emacs' a feature? Drew Adams
2020-10-18 1:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2020-10-18 13:40 ` Stefan Monnier
2020-10-18 15:19 ` Drew Adams
1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2020-10-18 13:40 UTC (permalink / raw)
To: help-gnu-emacs
> Why is (featurep 'emacs) true?
Historically, `emacs` was added as a feature as a consequence of
`xemacs` being a feature. IIRC it was felt that you shouldn't have
to say (not (featurep 'xemacs)) to test "is this the true Emacs?".
As for why `xemacs` was added as a feature, I don't know.
It was probably to provide a cleaner alternative to
(string-match "..XEmacs.." emacs-version).
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Why is `emacs' a feature?
2020-10-18 13:40 ` Stefan Monnier
@ 2020-10-18 15:19 ` Drew Adams
0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2020-10-18 15:19 UTC (permalink / raw)
To: Stefan Monnier, help-gnu-emacs
> > Why is (featurep 'emacs) true?
>
> Historically, `emacs` was added as a feature as a consequence of
> `xemacs` being a feature. IIRC it was felt that you shouldn't have
> to say (not (featurep 'xemacs)) to test "is this the true Emacs?".
>
> As for why `xemacs` was added as a feature, I don't know.
> It was probably to provide a cleaner alternative to
> (string-match "..XEmacs.." emacs-version).
Thank you.
The question was raised here, in the context of
`use-package':
https://emacs.stackexchange.com/q/61276/105
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-18 15:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-18 1:42 Why is `emacs' a feature? Drew Adams
2020-10-18 1:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-10-18 13:40 ` Stefan Monnier
2020-10-18 15:19 ` Drew Adams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).