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 01:33:17 +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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372376052 32670 80.91.229.3 (27 Jun 2013 23:34:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 23:34:12 +0000 (UTC) Cc: Angelo Graziosi , Emacs developers , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 01:34:12 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 1UsLhW-0007Cc-7l for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 01:34:06 +0200 Original-Received: from localhost ([::1]:59887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsLhV-0000bS-QB for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 19:34:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsLhR-0000bN-CQ for emacs-devel@gnu.org; Thu, 27 Jun 2013 19:34:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsLhP-0006LQ-Nu for emacs-devel@gnu.org; Thu, 27 Jun 2013 19:34:01 -0400 Original-Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]:46896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsLhO-0006Kp-HE; Thu, 27 Jun 2013 19:33:58 -0400 Original-Received: by mail-ee0-f52.google.com with SMTP id c50so704219eek.25 for ; Thu, 27 Jun 2013 16:33:57 -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=ppRlLTkIvaBTaPPV4bpI5EM45RQjERFajQS/X5Ckxr8=; b=ligSLcP+VtS2kw68S373DdquA9KAfGFC0H0BuQusneqlXLo0xQWF0cpyM+QtjaTA4H z1oz/4nJNT7zRN6zMveX90NQPu28MFcqkDa3o7BOmOFjBEpwq8QY+i/TLUgY2eb8cWd7 LmSNUr1dL9WRBw0fQydAm5KSliY0HCSuT7Z9kLzwm1s/rtvOwvTVpXMn39uaqornrECC gQZblj6S6PbYP3C2ZhhSyvsA5DwG9d9InTkq0ZrO0E53hYQSncGR/2IWFWv8Qu1f2zd+ R2HaYX/Um3uThTGd0QhYf3jbe2k/9kPyx3EzdLOI7bIdMN+LPaLexfEKOX+01mJ6VQN7 EJlg== X-Received: by 10.14.38.198 with SMTP id a46mr10921344eeb.42.1372376037266; Thu, 27 Jun 2013 16:33:57 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 27 Jun 2013 16:33:17 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::234 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:161161 Archived-At: A few questions for the experts. Currently I'm restoring frames in the display they were created. 1.- Is there a way to check from Emacs wheter a given DISPLAY is accessible? 2.- It is acceptable on POSIX systems to try to create X frames if emacs was started with -nw? 3.- On Windows, after "emacs -nw", creating w32 frames is a no-no. What is the "correct" or "elegant" way to detect that? Is there something better than (and (eq system-type 'windows-nt) (not window-system)) 4.- What about the MS-DOS port? Does it support more than one frame? J