* system-type
@ 2009-03-21 9:51 Eli Zaretskii
2009-03-21 13:58 ` system-type Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2009-03-21 9:51 UTC (permalink / raw)
To: emacs-devel
Is the list of possible values of `system-type' given by
"(elisp)System Environment" complete? The text sounds as if this is
exhaustive list, but then what is the value defined by the NextSTEP
port? If `system-type' is not the way to distinguish the NextSTEP
port from other platforms, then what is? is it `(featurep 'ns)'? if
so, we should state that in NEWS, IMO.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 9:51 system-type Eli Zaretskii
@ 2009-03-21 13:58 ` Stefan Monnier
2009-03-21 14:29 ` system-type Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2009-03-21 13:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
> Is the list of possible values of `system-type' given by
> "(elisp)System Environment" complete?
Yes.
> The text sounds as if this is exhaustive list, but then what is the
> value defined by the NextSTEP port?
Depends: if it's running under Mac OS X, it'll be `darwin', if it's
running under GNU/Linux it'll be `gnu/linux', ...
> If `system-type' is not the way
> to distinguish the NextSTEP port from other platforms, then what is?
window-system?
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 13:58 ` system-type Stefan Monnier
@ 2009-03-21 14:29 ` Eli Zaretskii
2009-03-21 18:59 ` system-type Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2009-03-21 14:29 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Sat, 21 Mar 2009 09:58:11 -0400
>
> > The text sounds as if this is exhaustive list, but then what is the
> > value defined by the NextSTEP port?
>
> Depends: if it's running under Mac OS X, it'll be `darwin', if it's
> running under GNU/Linux it'll be `gnu/linux', ...
`darwin' is not in that list. Should it be added?
Also, what with all the other Unixoid systems (which I presume we
still support), like *BSD, Solaris, etc.?
> > If `system-type' is not the way
> > to distinguish the NextSTEP port from other platforms, then what is?
>
> window-system?
That would fail under -nw, I think. I used `(featurep 'ns)', which
works, according to David Reitter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 14:29 ` system-type Eli Zaretskii
@ 2009-03-21 18:59 ` Stefan Monnier
2009-03-21 20:21 ` system-type Eli Zaretskii
2009-03-27 14:52 ` system-type Eli Zaretskii
0 siblings, 2 replies; 9+ messages in thread
From: Stefan Monnier @ 2009-03-21 18:59 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
>> > The text sounds as if this is exhaustive list, but then what is the
>> > value defined by the NextSTEP port?
>> Depends: if it's running under Mac OS X, it'll be `darwin', if it's
>> running under GNU/Linux it'll be `gnu/linux', ...
> `darwin' is not in that list. Should it be added?
Yes. It's in the docstring.
> Also, what with all the other Unixoid systems (which I presume we
> still support), like *BSD, Solaris, etc.?
As the docstring explains: "Anything else indicates some sort of
Unix system."
>> > If `system-type' is not the way
>> > to distinguish the NextSTEP port from other platforms, then what is?
>> window-system?
> That would fail under -nw, I think. I used `(featurep 'ns)', which
> works, according to David Reitter.
Under -nw you shouldn't have to (need to) worry about nextstep.
At least, it seems no different than it was with Carbon before (or with
X11, ...).
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 18:59 ` system-type Stefan Monnier
@ 2009-03-21 20:21 ` Eli Zaretskii
2009-03-21 21:04 ` system-type Stefan Monnier
2009-03-27 14:52 ` system-type Eli Zaretskii
1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2009-03-21 20:21 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Sat, 21 Mar 2009 14:59:46 -0400
>
> > Also, what with all the other Unixoid systems (which I presume we
> > still support), like *BSD, Solaris, etc.?
>
> As the docstring explains: "Anything else indicates some sort of
> Unix system."
That's okay for a docstring, but I think the manual needs an
exhaustive list.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 20:21 ` system-type Eli Zaretskii
@ 2009-03-21 21:04 ` Stefan Monnier
0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2009-03-21 21:04 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
>> > Also, what with all the other Unixoid systems (which I presume we
>> > still support), like *BSD, Solaris, etc.?
>> As the docstring explains: "Anything else indicates some sort of
>> Unix system."
> That's okay for a docstring, but I think the manual needs an
> exhaustive list.
I won't oppose it, but I don't see a need for it.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-21 18:59 ` system-type Stefan Monnier
2009-03-21 20:21 ` system-type Eli Zaretskii
@ 2009-03-27 14:52 ` Eli Zaretskii
2009-03-27 14:57 ` system-type Eli Zaretskii
2009-03-27 16:25 ` system-type Stefan Monnier
1 sibling, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2009-03-27 14:52 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Sat, 21 Mar 2009 14:59:46 -0400
>
> >> > The text sounds as if this is exhaustive list, but then what is the
> >> > value defined by the NextSTEP port?
> >> Depends: if it's running under Mac OS X, it'll be `darwin', if it's
> >> running under GNU/Linux it'll be `gnu/linux', ...
> > `darwin' is not in that list. Should it be added?
>
> Yes. It's in the docstring.
>
> > Also, what with all the other Unixoid systems (which I presume we
> > still support), like *BSD, Solaris, etc.?
>
> As the docstring explains: "Anything else indicates some sort of
> Unix system."
I updated the list in os.texi with the currently supported system.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-27 14:52 ` system-type Eli Zaretskii
@ 2009-03-27 14:57 ` Eli Zaretskii
2009-03-27 16:25 ` system-type Stefan Monnier
1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2009-03-27 14:57 UTC (permalink / raw)
To: monnier, emacs-devel
> Date: Fri, 27 Mar 2009 17:52:57 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> I updated the list in os.texi with the currently supported system.
^^^^^^
Should be "systems", in plural. Sorry.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: system-type
2009-03-27 14:52 ` system-type Eli Zaretskii
2009-03-27 14:57 ` system-type Eli Zaretskii
@ 2009-03-27 16:25 ` Stefan Monnier
1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2009-03-27 16:25 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
> I updated the list in os.texi with the currently supported system.
Thank you,
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-27 16:25 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-21 9:51 system-type Eli Zaretskii
2009-03-21 13:58 ` system-type Stefan Monnier
2009-03-21 14:29 ` system-type Eli Zaretskii
2009-03-21 18:59 ` system-type Stefan Monnier
2009-03-21 20:21 ` system-type Eli Zaretskii
2009-03-21 21:04 ` system-type Stefan Monnier
2009-03-27 14:52 ` system-type Eli Zaretskii
2009-03-27 14:57 ` system-type Eli Zaretskii
2009-03-27 16:25 ` system-type Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).