From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#14765: 24.3.50; desktop-restore-frames on NS does not work Date: Tue, 2 Jul 2013 19:34:36 +0200 Message-ID: <4641A594-370D-4A7A-AB1C-C7A79AB8435D@swipnet.se> References: <3C13CE5D-BCB3-4272-84E0-783BB84F000C@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372786866 15141 80.91.229.3 (2 Jul 2013 17:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2013 17:41:06 +0000 (UTC) Cc: 14765@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 19:41:05 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Uu4ZE-00051h-EB for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 19:40:40 +0200 Original-Received: from localhost ([::1]:46359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu4ZE-0005dh-2l for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 13:40:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu4Z6-0005dV-0L for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 13:40:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uu4Tn-0006nY-8e for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 13:35:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu4Tn-0006mD-0u for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 13:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uu4Tm-0000Pc-31 for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 13:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jul 2013 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14765-submit@debbugs.gnu.org id=B14765.13727864881560 (code B ref 14765); Tue, 02 Jul 2013 17:35:01 +0000 Original-Received: (at 14765) by debbugs.gnu.org; 2 Jul 2013 17:34:48 +0000 Original-Received: from localhost ([127.0.0.1]:52759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu4TX-0000P4-TA for submit@debbugs.gnu.org; Tue, 02 Jul 2013 13:34:48 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:35012) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu4TV-0000Om-Ax for 14765@debbugs.gnu.org; Tue, 02 Jul 2013 13:34:46 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 60190911B for <14765@debbugs.gnu.org>; Tue, 2 Jul 2013 19:34:38 +0200 (CEST) Original-Received: (qmail 7910 invoked by uid 89); 2 Jul 2013 17:34:38 -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; 2 Jul 2013 17:34:38 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id E0D4D1A0583; Tue, 2 Jul 2013 17:34:37 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.1508) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75806 Archived-At: Hello. 2 jul 2013 kl. 15:48 skrev Juanma Barranquero : > On Tue, Jul 2, 2013 at 2:20 PM, Jan Dj=E4rv = wrote: >=20 >> Saving frames on NS (OSX or GnuStep) does not work. >> It only restores one frame, the last one created, no matter how many >> frames where saved (I tried, two, three and four). >=20 >> Error restoring frame: "Don't know how to interpret display = \"\"zeplin.localdomain\"\"" [2 times] >=20 > With the current code, the first frame is not created, just reused. > For the others, desktop--restore-frames is calling > make-frame-on-display and passing it the expected display and the > saved frame info. >=20 > The expected display, assuming that you didn't set > `destop-restore-in-current-display', is the value of the saved frame's > display property (i.e., the result of (cdr (assq 'display config)). In > this case, "zeplin.localdomain". >=20 > So the question is, what happens if you do M-: (make-frame-on-display > "zeplin.localdomain") ? I get an error message: make-frame: Don't know how to interpret display ""zeplin.localhost"" In frame.el there is a check that the display matches entries in = display-format-alist. On NS that only contains "ns". So there is a = mismatch between what NS use for display name and what = display-format-alist contains. I will fix this in one way or another. = NS does not have display names, or multiple displays so any display name = should be OK. The display-format-alist makes no sense. It is not like we can start a = W32 or NS frame on an X-verson of Emacs or have any combination except X = on X, W32 on W32 and NS on NS. It seems like a meaningless check, that = just exists to create bugs like this. Jan D.