From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 28 Jun 2013 10:17: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 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372407470 30058 80.91.229.3 (28 Jun 2013 08:17:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 08:17:50 +0000 (UTC) Cc: angelo.graziosi@alice.it, Juanma Barranquero , emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, stephen.berman@gmx.net, kjambunathan@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 28 10:17:49 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 1UsTsL-0002UQ-5F for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 10:17:49 +0200 Original-Received: from localhost ([::1]:50260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsTsK-0000ck-NM for ged-emacs-devel@m.gmane.org; Fri, 28 Jun 2013 04:17:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsTrk-0008OU-42 for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:17:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsTri-000562-Vt for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:17:12 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:42554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsTri-00055p-Pd for emacs-devel@gnu.org; Fri, 28 Jun 2013 04:17:10 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 162E7CC9E for ; Fri, 28 Jun 2013 10:17:10 +0200 (CEST) Original-Received: (qmail 1222 invoked by uid 89); 28 Jun 2013 08:17:09 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.melmac.se with ESMTPA; 28 Jun 2013 08:17:09 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id ABD241A026F; Fri, 28 Jun 2013 08:17:09 +0000 (UTC) In-Reply-To: <83fvw2g44j.fsf@gnu.org> X-Mailer: Apple Mail (2.1508) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 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:161174 Archived-At: Hello. 28 jun 2013 kl. 08:07 skrev Eli Zaretskii : >> From: Juanma Barranquero >> Date: Fri, 28 Jun 2013 01:33:17 +0200 >> Cc: Angelo Graziosi , Emacs developers = ,=20 >> Stefan Monnier , Eli Zaretskii = ,=20 >> Stephen Berman , Jambunathan K = >>=20 >> 1.- Is there a way to check from Emacs wheter a given DISPLAY is = accessible? >=20 > If the experts say there isn't, I'd say catch errors from > make-frame-on-display, display a warning, and be done. >=20 XOpenDisplay, but it might take a while to timeout. =46rom lisp, I = guess you have to create a frame, so Eli:s error handling strategy is = best. Jan D.