[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore the layout?
From: |
Eli Zaretskii |
Subject: |
Re: How to restore the layout? |
Date: |
Fri, 28 Jun 2013 20:55:11 +0300 |
> From: Juanma Barranquero <address@hidden>
> Date: Fri, 28 Jun 2013 13:48:10 +0200
> Cc: martin rudalics <address@hidden>, Angelo Graziosi <address@hidden>,
> Emacs developers <address@hidden>, Stefan Monnier <address@hidden>,
> Stephen Berman <address@hidden>, Jambunathan K <address@hidden>
>
> Isn't the POSIX Emacs already able to create both kinds of frames? I
> mean, leaving aside the current issue with desktop.el, if you do this:
>
> emacs -nw
> M-: (make-frame-on-display ":0.0") <RET>
>
> on a POSIX Emacs, does it create an X frame?
I don't know, and don't have a way of trying that.
> >> (and (eq system-type 'windows-nt) (not window-system))
> >
> > You could use display-graphic-p, of course.
>
> Yes, I thought of that, but I'm trying to distinguish between the
> Windows port (where creating a w32 frame in a non-windowed Emacs is A
> Really Bad Idea, see bug#14739), and the POSIX one (where both kinds
> of frames are simultaneously supported). Currently we discourage
> checking for window-system, and system-type does not tell you whether
> you're running in -nw mode.
I meant use display-graphic-p instead of window-system.
- Re: How to restore the layout?, (continued)
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/27
- Re: How to restore the layout?, martin rudalics, 2013/06/27
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/27
- Re: How to restore the layout?, martin rudalics, 2013/06/27
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/27
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/27
- Re: How to restore the layout?, Eli Zaretskii, 2013/06/28
- Re: How to restore the layout?, Jan Djärv, 2013/06/28
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/28
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/28
- Re: How to restore the layout?,
Eli Zaretskii <=
- Re: How to restore the layout?, Stefan Monnier, 2013/06/28
- Re: How to restore the layout?, Stefan Monnier, 2013/06/28
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/28
- Re: How to restore the layout?, Stefan Monnier, 2013/06/28
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/28
- Re: How to restore the layout?, martin rudalics, 2013/06/29
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/29
- Re: How to restore the layout?, martin rudalics, 2013/06/30
- Re: How to restore the layout?, Juanma Barranquero, 2013/06/30
- Re: How to restore the layout?, martin rudalics, 2013/06/30