From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14765: 24.3.50; desktop-restore-frames on NS does not work Date: Tue, 2 Jul 2013 15:48:12 +0200 Message-ID: References: <3C13CE5D-BCB3-4272-84E0-783BB84F000C@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372773011 7594 80.91.229.3 (2 Jul 2013 13:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2013 13:50:11 +0000 (UTC) Cc: 14765@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 15:50:11 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 1Uu0yB-0001ns-58 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 15:50:11 +0200 Original-Received: from localhost ([::1]:60021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu0yA-0003Fy-RV for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2013 09:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu0y6-0003D2-V8 for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 09:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uu0y4-0002aT-U6 for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 09:50:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uu0y4-0002Zw-Pn for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 09:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uu0y3-0000WA-4l for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2013 09:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jul 2013 13:50:03 +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.13727729441825 (code B ref 14765); Tue, 02 Jul 2013 13:50:03 +0000 Original-Received: (at 14765) by debbugs.gnu.org; 2 Jul 2013 13:49:04 +0000 Original-Received: from localhost ([127.0.0.1]:52075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu0x2-0000Su-FP for submit@debbugs.gnu.org; Tue, 02 Jul 2013 09:49:03 -0400 Original-Received: from mail-ea0-f181.google.com ([209.85.215.181]:48477) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uu0x0-0000SI-3S for 14765@debbugs.gnu.org; Tue, 02 Jul 2013 09:48:58 -0400 Original-Received: by mail-ea0-f181.google.com with SMTP id a15so2784887eae.26 for <14765@debbugs.gnu.org>; Tue, 02 Jul 2013 06:48:52 -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:content-transfer-encoding; bh=L3c98TlOwLxCxw0qzkpi5FwkBbV3Yfj2PhEsrv+Y93Q=; b=GRM27MdbeN9D1hJ4P27vKdrM11KxvSO09Lho20jqybCSOhXqqzQGMV/qHW8ANuhYPs DB11GLyhX4buKy7dn/T0INj7FFg0UYgFXG8h+aUInaQ1fDZ48ddnwT70OxhLWnTdFirD 1h54/QsPKuykIBrif5RxvNt1KcYrIZTxoLDKkqvhLVoFHqfDXVpuOf/p5gt2UcRYjhgw oRDj0Y1lc3ZI8bjozaBjUD4xMCjbV4s8tePnIQfv8QZu3xFhXBC7VBj8zQB6nIMIty5H eHZt0BBo3jbAfo83iLrF4qFHqHDdrSihyf7mS5NQ54o8sD0U9UgwMjSbkwKY/mr9fF8v +agw== X-Received: by 10.14.213.135 with SMTP id a7mr25865281eep.152.1372772932207; Tue, 02 Jul 2013 06:48:52 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Tue, 2 Jul 2013 06:48:12 -0700 (PDT) In-Reply-To: <3C13CE5D-BCB3-4272-84E0-783BB84F000C@swipnet.se> 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:75793 Archived-At: On Tue, Jul 2, 2013 at 2:20 PM, Jan Dj=C3=A4rv wrote: > 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). > Error restoring frame: "Don't know how to interpret display \"\"zeplin.lo= caldomain\"\"" [2 times] 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. 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". So the question is, what happens if you do M-: (make-frame-on-display "zeplin.localdomain") ? If that works, then it is possible that the make-frame-on-display is failing because of other frame parameters; please try with just two frames and show the contents of desktop--saved-states.