[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should this package be included into the NS port?
From: |
Alan Third |
Subject: |
Re: Should this package be included into the NS port? |
Date: |
Tue, 22 May 2018 20:15:58 +0100 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
On Mon, May 21, 2018 at 09:42:32PM -0400, George Plymale II wrote:
> Stefan Monnier <address@hidden> writes:
>
> > AFAIK server.el uses make-frame-on-display. Don't know if that has been
> > made to do something useful in the NS port.
>
> Thanks for the info.
>
> Alan, does that answer your question? I'm not sure if we are using
> make-frame-on-display in the NS port.
Sorry, yes. I’ve only got limited time for Emacs at the moment, so I’m
being a bit slow in responding.
This does help, though.
It seems that if you end up in the situation where you’ve only got the
terminal left you can use
(make-frame-on-display (car (x-display-list)))
to create a new GUI frame, but the problem now is that the Emacs event
the dock menu fires (ns-new-frame) is only available in NS frames (or
something, I’m unclear), so if the current frame is a terminal frame,
and you click on ‘new frame’ in the dock menu, the terminal displays
<268435468> is undefined
I assume what we need to do is define the ns-new-frame event somewhere
other than nsterm.h, which is where it is now.
This all sounds wrong to me, tbh. But I don’t know of any other way we
can run lisp from within the NSApp run loop than by firing off events
or setting a flag and catching it later.
--
Alan Third
- Re: Should this package be included into the NS port?, (continued)
- Re: Should this package be included into the NS port?, Van L, 2018/05/21
- Re: Should this package be included into the NS port?, Alan Third, 2018/05/22
- Off Topic (was: Should this package be included into the NS port?), Van L, 2018/05/22
- Re: Off Topic (was: Should this package be included into the NS port?), Alan Third, 2018/05/23
- emacs-26.1-rc1: ./configure (was: Off Topic), Van L, 2018/05/23
- Re: emacs-26.1-rc1: ./configure, Robert Pluim, 2018/05/24
- Re: emacs-26.1-rc1: ./configure, Van L, 2018/05/24
- Re: emacs-26.1-rc1: ./configure, Robert Pluim, 2018/05/24
- Re: emacs-26.1-rc1: ./configure, Van L, 2018/05/24
- Re: emacs-26.1-rc1: ./configure, Van L, 2018/05/24
- Re: Should this package be included into the NS port?,
Alan Third <=
- Re: Should this package be included into the NS port?, George Plymale II, 2018/05/22
- Re: Should this package be included into the NS port?, Nick Helm, 2018/05/19
- Re: Should this package be included into the NS port?, Alan Third, 2018/05/19
- Re: Should this package be included into the NS port?, Philipp Stephani, 2018/05/19
- Re: Should this package be included into the NS port?, George Plymale II, 2018/05/19
- Re: Should this package be included into the NS port?, Nick Helm, 2018/05/23
- Re: Should this package be included into the NS port?, Nick Helm, 2018/05/23
- Re: Should this package be included into the NS port?, Eli Zaretskii, 2018/05/23
- Re: Should this package be included into the NS port?, Stefan Monnier, 2018/05/23
- Re: Should this package be included into the NS port?, Eli Zaretskii, 2018/05/23