GNU bug report logs - #2153
23.0.90; NS: Hang with do-applescript

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Mon, 2 Feb 2009 08:45:05 UTC

Severity: normal

Tags: unreproducible

Done: Andrew Hyatt <ahyatt <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2153 in the body.
You can then email your comments to 2153 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2153; Package emacs. (Mon, 02 Feb 2009 08:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 02 Feb 2009 08:45:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; NS: Hang with do-applescript
Date: Mon, 02 Feb 2009 17:36:43 +0900
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 <at> 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.




bug reassigned from package `emacs' to `emacs,ns'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 09:15:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2153; Package emacs,ns. (Mon, 02 Feb 2009 12:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 12:30:03 GMT) Full text and rfc822 format available.

Message #12 received at 2153 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2153 <at> debbugs.gnu.org
Cc: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Subject: Re: 23.0.90; NS: Hang with do-applescript
Date: Mon, 2 Feb 2009 14:21:56 +0200
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?





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2153; Package emacs,ns. (Tue, 03 Feb 2009 00:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Tue, 03 Feb 2009 00:40:03 GMT) Full text and rfc822 format available.

Message #17 received at 2153 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 2153 <at> debbugs.gnu.org,
        YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Subject: Re: 23.0.90; NS: Hang with do-applescript
Date: Tue, 03 Feb 2009 09:33:42 +0900
>>>>> On Mon, 2 Feb 2009 14:21:56 +0200, Adrian Robert <adrian.b.robert <at> 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 <at> math.s.chiba-u.ac.jp




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2153; Package emacs,ns. (Wed, 04 Feb 2009 11:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Wed, 04 Feb 2009 11:55:03 GMT) Full text and rfc822 format available.

Message #22 received at 2153 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2153 <at> debbugs.gnu.org
Subject: Re: 23.0.90; NS: Hang with do-applescript
Date: Wed, 4 Feb 2009 13:50:37 +0200
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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#2153; Package emacs. (Mon, 11 Jan 2016 03:36:02 GMT) Full text and rfc822 format available.

Message #25 received at 2153 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Hyatt <ahyatt <at> gmail.com>
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Cc: 2153 <at> debbugs.gnu.org
Subject: Re: bug#2153: 23.0.90; NS: Hang with do-applescript
Date: Sun, 10 Jan 2016 22:35:39 -0500
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 <at> 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.




Added tag(s) unreproducible. Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 11 Jan 2016 03:37:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 2153 <at> debbugs.gnu.org and YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 21:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Feb 2016 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.