From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 13:48:10 +0200 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372420140 5963 80.91.229.3 (28 Jun 2013 11:49:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 11:49:00 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , martin rudalics , Stefan Monnier , Stephen Berman , Jambunathan K To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 13:49:01 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 1UsXAi-000104-SF for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 13:49:01 +0200 Original-Received: from localhost ([::1]:53830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXAi-0003GI-GN for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 07:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXAd-0003G6-PH for emacs-devel@gnu.org; Fri, 28 Jun 2013 07:48:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsXAb-00041s-Vk for emacs-devel@gnu.org; Fri, 28 Jun 2013 07:48:55 -0400 Original-Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:38050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXAZ-000418-R4; Fri, 28 Jun 2013 07:48:51 -0400 Original-Received: by mail-ee0-f46.google.com with SMTP id d41so974913eek.5 for ; Fri, 28 Jun 2013 04:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hxvzW4DkCMYAb55xNxJIzoYLVsvz6gGCFSZVBW+gj00=; b=zQ539a3E+9aBBK7FEsFTFMx7p5OKOmbXsuBAPNGXN/TZ7grq79waB2iMZYLgtY+i0P P1gY/ZNyTcuCXghaeT18cXtd+4xCXIp6LMd2ppEANg8TlVyP1L5s4MbpcWtpH1aqMGdd gw2Bkxn9nLX7IQisSp1EIlitWol2iO6z057b+g0zbY6hbAlryV/2UKGgV2XiJrrHnaED fr2ePEp9KzvKPlrEScNejPnu28rqnYgnu6R/NA4/HMVlXGY8l8KvZ3Raal0iDodDmI2+ b1HloX8aWMoNJB5Tltmfb7P/sD0OCXyGtb0bMB9TVNMeS8Dd3GiLvcL0PACsCpi/UbfB /OhQ== X-Received: by 10.15.102.68 with SMTP id bq44mr13473234eeb.89.1372420130932; Fri, 28 Jun 2013 04:48:50 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Fri, 28 Jun 2013 04:48:10 -0700 (PDT) In-Reply-To: <83fvw2g44j.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22e 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:161184 Archived-At: On Fri, Jun 28, 2013 at 8:07 AM, Eli Zaretskii wrote: > If the experts say there isn't, I'd say catch errors from > make-frame-on-display, display a warning, and be done. Agreed, that's good enough. >> 2.- It is acceptable on POSIX systems to try to create X frames if >> emacs was started with -nw? > > I won't like that, FWIW. 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? >> (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. >> 4.- What about the MS-DOS port? Does it support more than one frame? > > Yes, it does, like any TTY session: all the frames occupy the same > screen space, and only one of them is visible at any given time. OK. At some point, once the dust is settled, we'll have to test this desktop stuff to make sure it does the right thing. J