From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 20:55:11 +0300 Message-ID: <83obaqdssg.fsf@gnu.org> References: <51C5AA68.4000204@alice.it> <87vc5345t3.fsf@gmail.com> <51C8B2C8.4000803@gmx.at> <51C93CDB.2020301@gmx.at> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> <51CC8403.1030009@gmx.at> <51CCA56A.8000508@gmx.at> <51CCA7DC.8060605@gmx.at> <83fvw2g44j.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1372442125 31297 80.91.229.3 (28 Jun 2013 17:55:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 17:55:25 +0000 (UTC) Cc: angelo.graziosi@alice.it, emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, stephen.berman@gmx.net, kjambunathan@gmail.com To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 19:55:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsctH-0001oE-Ie for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 19:55:23 +0200 Original-Received: from localhost ([::1]:46875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsctH-0004Ga-3E for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 13:55:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usct9-0004E5-RE for emacs-devel@gnu.org; Fri, 28 Jun 2013 13:55:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Usct8-0005I9-4B for emacs-devel@gnu.org; Fri, 28 Jun 2013 13:55:15 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:37737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usct7-0005Hs-Sa for emacs-devel@gnu.org; Fri, 28 Jun 2013 13:55:14 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MP400900738P900@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 28 Jun 2013 20:55:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP40099Z73ZIO80@a-mtaout23.012.net.il>; Fri, 28 Jun 2013 20:55:12 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161249 Archived-At: > From: Juanma Barranquero > Date: Fri, 28 Jun 2013 13:48:10 +0200 > Cc: martin rudalics , Angelo Graziosi , > Emacs developers , Stefan Monnier , > Stephen Berman , Jambunathan K > > Isn't the POSIX Emacs already able to create both kinds of frames? I > mean, leaving aside the current issue with desktop.el, if you do this: > > emacs -nw > M-: (make-frame-on-display ":0.0") > > on a POSIX Emacs, does it create an X frame? I don't know, and don't have a way of trying that. > >> (and (eq system-type 'windows-nt) (not window-system)) > > > > You could use display-graphic-p, of course. > > Yes, I thought of that, but I'm trying to distinguish between the > Windows port (where creating a w32 frame in a non-windowed Emacs is A > Really Bad Idea, see bug#14739), and the POSIX one (where both kinds > of frames are simultaneously supported). Currently we discourage > checking for window-system, and system-type does not tell you whether > you're running in -nw mode. I meant use display-graphic-p instead of window-system.