unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2153: 23.0.90; NS: Hang with do-applescript
@ 2009-02-02  8:36 YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 5+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-02-02  8:36 UTC (permalink / raw)
  To: emacs-pretest-bug

Steps to reproduce:
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (do-applescript "choose file") C-j

Result:
  Can't pop down the "Choose a File" window.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-02-02 on yamamoto-mitsuharu-no-power-mac-g5.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2153: 23.0.90; NS: Hang with do-applescript
@ 2009-02-02 12:21 Adrian Robert
  2009-02-03  0:33 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Robert @ 2009-02-02 12:21 UTC (permalink / raw)
  To: 2153

What do you mean "Can't pop down"?  When I try this hitting cancel or  
ok both close the window and hide emacs.  Then there's an error:

Debugger entered--Lisp error: (error "AppleScript error 1")
   do-applescript("choose file")
   eval((do-applescript "choose file"))
   eval-last-sexp-1(t)
   eval-last-sexp(t)
   eval-print-last-sexp()
...

What should the behavior be with this applescript?







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2153: 23.0.90; NS: Hang with do-applescript
  2009-02-02 12:21 bug#2153: 23.0.90; NS: Hang with do-applescript Adrian Robert
@ 2009-02-03  0:33 ` YAMAMOTO Mitsuharu
  2009-02-04 11:50   ` Adrian Robert
  0 siblings, 1 reply; 5+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-02-03  0:33 UTC (permalink / raw)
  To: Adrian Robert; +Cc: 2153

>>>>> On Mon, 2 Feb 2009 14:21:56 +0200, Adrian Robert <adrian.b.robert@gmail.com> said:

> What do you mean "Can't pop down"?  When I try this hitting cancel
> or ok both close the window and hide emacs.

It doesn't disappear even if I click the "Cancel" or "Choose" button.
It seems to be Leopard-specific.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2153: 23.0.90; NS: Hang with do-applescript
  2009-02-03  0:33 ` YAMAMOTO Mitsuharu
@ 2009-02-04 11:50   ` Adrian Robert
  2016-01-11  3:35     ` Andrew Hyatt
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Robert @ 2009-02-04 11:50 UTC (permalink / raw)
  To: 2153

This likely indicates a problem with the ns-do-applescript  
implementation when modal dialogs are presented.

A work-around for the particular case is to use ns-open-file.

I believe the purpose for ns-do-applescript was to send outgoing  
Applescript to other applications, so I'm unsure how important the  
general use-case is, but in any case the bug should be fixed or the  
ns-do-applescript function removed or disabled.








^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2153: 23.0.90; NS: Hang with do-applescript
  2009-02-04 11:50   ` Adrian Robert
@ 2016-01-11  3:35     ` Andrew Hyatt
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Hyatt @ 2016-01-11  3:35 UTC (permalink / raw)
  To: Adrian Robert; +Cc: 2153


This seems to be fixed in El Capitan (and I imagine, some amount of
releases before this). I'm going to mark this as unreproducible, but
someone please let me know if this still exists. If no one responds in a
few weeks, I'll close this bug.

Adrian Robert <adrian.b.robert@gmail.com> writes:

> This likely indicates a problem with the ns-do-applescript implementation when
> modal dialogs are presented.
>
> A work-around for the particular case is to use ns-open-file.
>
> I believe the purpose for ns-do-applescript was to send outgoing Applescript to
> other applications, so I'm unsure how important the general use-case is, but in
> any case the bug should be fixed or the ns-do-applescript function removed or
> disabled.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-11  3:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02 12:21 bug#2153: 23.0.90; NS: Hang with do-applescript Adrian Robert
2009-02-03  0:33 ` YAMAMOTO Mitsuharu
2009-02-04 11:50   ` Adrian Robert
2016-01-11  3:35     ` Andrew Hyatt
  -- strict thread matches above, loose matches on Subject: below --
2009-02-02  8:36 YAMAMOTO Mitsuharu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).