From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 14765@debbugs.gnu.org
Subject: bug#14765: 24.3.50; desktop-restore-frames on NS does not work
Date: Tue, 2 Jul 2013 19:34:36 +0200 [thread overview]
Message-ID: <4641A594-370D-4A7A-AB1C-C7A79AB8435D@swipnet.se> (raw)
In-Reply-To: <CAAeL0SR4Kd3eh1KAGjWJ4uY4nmMOmdFE2UKtmbstaQ7T1oTt2w@mail.gmail.com>
Hello.
2 jul 2013 kl. 15:48 skrev Juanma Barranquero <lekktu@gmail.com>:
> On Tue, Jul 2, 2013 at 2:20 PM, Jan Djärv <jan.h.d@swipnet.se> 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.localdomain\"\"" [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") <RET>?
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.
next prev parent reply other threads:[~2013-07-02 17:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 12:20 bug#14765: 24.3.50; desktop-restore-frames on NS does not work Jan Djärv
2013-07-02 13:11 ` martin rudalics
2013-07-02 13:48 ` Juanma Barranquero
2013-07-02 17:34 ` Jan Djärv [this message]
2013-07-02 17:38 ` Juanma Barranquero
2013-07-02 18:09 ` Jan Djärv
2013-07-02 18:16 ` Jan Djärv
2013-07-02 18:53 ` Juanma Barranquero
2013-07-02 18:59 ` Jan Djärv
2013-07-02 19:00 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4641A594-370D-4A7A-AB1C-C7A79AB8435D@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=14765@debbugs.gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.