* ns-do-applescript again
[not found] <87mta6ohqh.fsf.ref@yahoo.com>
@ 2022-10-08 8:13 ` Po Lu
2022-10-10 8:52 ` Robert Pluim
2022-10-10 9:05 ` Lars Ingebrigtsen
0 siblings, 2 replies; 6+ messages in thread
From: Po Lu @ 2022-10-08 8:13 UTC (permalink / raw)
To: emacs-devel
What was previously found to still use `ns-do-applescript'? The
function should really be deleted, ideally before the Emacs 29 branch is
cut. It is simply a waste of space in nsfns.m and is probably the cause
of a mysterious crash in popup menus.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ns-do-applescript again
2022-10-08 8:13 ` ns-do-applescript again Po Lu
@ 2022-10-10 8:52 ` Robert Pluim
2022-10-10 10:07 ` Po Lu
2022-10-10 9:05 ` Lars Ingebrigtsen
1 sibling, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2022-10-10 8:52 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
>>>>> On Sat, 08 Oct 2022 16:13:42 +0800, Po Lu <luangruo@yahoo.com> said:
Po> What was previously found to still use `ns-do-applescript'? The
Po> function should really be deleted, ideally before the Emacs 29 branch is
Po> cut. It is simply a waste of space in nsfns.m and is probably the cause
Po> of a mysterious crash in popup menus.
bug#58288 still reproduces wiht ns-do-applescript removed. Could you elaborate?
Robert
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ns-do-applescript again
2022-10-08 8:13 ` ns-do-applescript again Po Lu
2022-10-10 8:52 ` Robert Pluim
@ 2022-10-10 9:05 ` Lars Ingebrigtsen
2022-10-10 10:08 ` Po Lu
1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-10 9:05 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
Po Lu <luangruo@yahoo.com> writes:
> What was previously found to still use `ns-do-applescript'? The
> function should really be deleted, ideally before the Emacs 29 branch is
> cut.
If we want to delete it, we should use the normal deprecation mechanism
(i.e., mark it as obsolete and remove it after som years).
> It is simply a waste of space in nsfns.m and is probably the cause
> of a mysterious crash in popup menus.
So that wouldn't help with the mysterious crash.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ns-do-applescript again
2022-10-10 8:52 ` Robert Pluim
@ 2022-10-10 10:07 ` Po Lu
0 siblings, 0 replies; 6+ messages in thread
From: Po Lu @ 2022-10-10 10:07 UTC (permalink / raw)
To: Robert Pluim; +Cc: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> Po> What was previously found to still use `ns-do-applescript'? The
> Po> function should really be deleted, ideally before the Emacs 29 branch is
> Po> cut. It is simply a waste of space in nsfns.m and is probably the cause
> Po> of a mysterious crash in popup menus.
>
> bug#58288 still reproduces wiht ns-do-applescript removed. Could you elaborate?
Something inside the popup event loop checks for timers (I'm borrowing
someone's fully set up Mac, so the problematic Lisp code is likely not
in Emacs core); then, the nested event loop run by ns-do-applescript
inside a timer crashes.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ns-do-applescript again
2022-10-10 9:05 ` Lars Ingebrigtsen
@ 2022-10-10 10:08 ` Po Lu
2022-10-10 10:31 ` Lars Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Po Lu @ 2022-10-10 10:08 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
> If we want to delete it, we should use the normal deprecation mechanism
> (i.e., mark it as obsolete and remove it after som years).
My idea was to replace it with something calling osascript in a
subprocess, I think I know how to do that already. While also
obsoleting it, of course.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ns-do-applescript again
2022-10-10 10:08 ` Po Lu
@ 2022-10-10 10:31 ` Lars Ingebrigtsen
0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-10 10:31 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
Po Lu <luangruo@yahoo.com> writes:
> My idea was to replace it with something calling osascript in a
> subprocess, I think I know how to do that already. While also
> obsoleting it, of course.
Oh, OK -- that should work fine, then (if osascript supports the same
stuff, and from cursory googling, it seems like it does -- but as they
say, I Know Nothing).
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-10-10 10:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87mta6ohqh.fsf.ref@yahoo.com>
2022-10-08 8:13 ` ns-do-applescript again Po Lu
2022-10-10 8:52 ` Robert Pluim
2022-10-10 10:07 ` Po Lu
2022-10-10 9:05 ` Lars Ingebrigtsen
2022-10-10 10:08 ` Po Lu
2022-10-10 10:31 ` Lars Ingebrigtsen
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.