GNU bug report logs - #7276
23.2; do-applescript can lock Emacs uninterruptedly

Previous Next

Packages: ns, emacs;

Reported by: Daniel Pittman <daniel <at> rimspace.net>

Date: Sun, 24 Oct 2010 06:56:02 UTC

Severity: normal

Found in version 23.2

Done: Jan Djärv <jan.h.d <at> swipnet.se>

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 7276 in the body.
You can then email your comments to 7276 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7276; Package emacs. (Sun, 24 Oct 2010 06:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Pittman <daniel <at> rimspace.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Oct 2010 06:56:03 GMT) Full text and rfc822 format available.

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

From: Daniel Pittman <daniel <at> rimspace.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; do-applescript can lock Emacs uninterruptedly
Date: Sun, 24 Oct 2010 15:40:50 +1100
Evaluating the following code caused Emacs to refuse to return to user
control; I was unable to interrupt the process in any way:

  (do-applescript "tell application \"unknown app\" to activate")

That popped up the "which application did you mean" dialog, which I cancelled
with ESC, and Emacs simply never returned from that call.

Regards,
        Daniel



In GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32)
 of 2010-10-13 on Ea.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--prefix=/usr/local/Cellar/emacs/23.2' '--without-dbus' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--with-ns' '--disable-ns-self-contained' 'CC=/usr/bin/cc' 'CFLAGS=-O3 -w -pipe''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  jabber-activity-mode: t
  display-battery-mode: t
  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
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x 1 M-x e m a c <tab> b <tab> <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> r e p <tab> o <tab> r <tab> 
<return>

Recent messages:
Updating marks for gmane.comp.kde.announce...done
Updating marks for gmane.comp.lang.perl.modules.dbix-class...done
Updating marks for gmane.comp.file-systems.fuse.macfuse.devel...done
Updating marks for gmane.editors.post-emacs...done
Updating marks for gmane.comp.version-control.git.magit...done
Updating marks for gmane.emacs.sources...done
Checking new news...done
Starting new Ispell process [en-w_accents] ...
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]

Load-path shadows:
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/auto-install/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/bbdb/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/clojure-mode/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/config/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/dev/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/egg/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/egit/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/compat/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/tests/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/attic/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/doc/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/gitsum/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/magit/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/markdown-mode/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/swank-clojure/loaddefs
/Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/loaddefs
/Users/daniel/elisp/emacs-jabber/compat/sha1 hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/sha1
/Users/daniel/elisp/anything-config/loaddefs hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/loaddefs
/Users/daniel/elisp/emacs-jabber/compat/hex-util hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/hex-util
/Users/daniel/elisp/emacs-w3m/attic/rfc2368 hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/mail/rfc2368
/Users/daniel/elisp/nnir hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/gnus/nnir

Features:
(shadow sort gnus-cite emacsbug help-mode view flyspell ispell eldoc
highlight-parentheses parse-time nnfolder utf-7 utf7 jabber-keepalive
jabber-bookmarks jabber-private nndraft nnmh bbdb-gnus nnnil footnote
gnus-picon nnir nnimap imap spam-report spam spam-stat gnus-uu yenc sieve
sieve-mode sieve-manage pgg-gpg pgg pgg-parse pgg-def gnus-agent gnus-srvr
nnvirtual gnus-cache gnus-score score-mode gnus-topic gnus-dup gnus-async nntp
gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-sieve gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int
gnus-range message ecomplete mml mml-sec mm-decode mm-bodies mm-encode
gmm-utils mailheader canlock hashcash gnus-win gnus gnus-ems nnheader
tramp-imap tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds
tramp auth-source gnus-util shell password-cache tramp-compat trampver paren
filladapt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs remember
session saveplace protbuf swank-clojure-autoload todochiku growl edmacro
kmacro netrc jabber-gmail jabber jabber-awesome jabber-osd jabber-wmii
jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen
jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client
jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg
jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars
jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity
jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version
jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse
jabber-search jabber-register jabber-roster format-spec jabber-presence assoc
jabber-muc jabber-newdisco jabber-widget jabber-disco wid-edit jabber-chat
ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap
jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm
jabber-logon sha1 hex-util jabber-conn srv dns starttls tls jabber-xml xml
jabber-menu jabber-autoloads jabber-util miniedit generic-x edit-server server
mailcap epa-file epa derived epg epg-config uniquify bbdb-gui mail-utils
bbdb-hooks mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mm-util time-date
mail-prsvr bbdb-snarf mail-extr rfc822 bbdb-com advice help-fns advice-preload
mailabbrev bbdb regexp-opt timezone warnings w3m-ccl ccl w3m-favicon w3m-image
w3m-proc byte-opt w3m-util compile comint ring bytecomp byte-compile battery
cus-start cus-load applescript-mode-autoloads slime-autoloads package reporter
cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu
tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)

-- 
=2723 Daniel Pittman            =2709 daniel <at> rimspace.net            =260e +61 401 155 707
               =267d made with 100 percent post-consumer electrons




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 14 Aug 2011 10:44:02 GMT) Full text and rfc822 format available.

Notification sent to Daniel Pittman <daniel <at> rimspace.net>:
bug acknowledged by developer. (Sun, 14 Aug 2011 10:44:02 GMT) Full text and rfc822 format available.

Message #10 received at 7276-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Daniel Pittman <daniel <at> rimspace.net>
Cc: 7276-done <at> debbugs.gnu.org
Subject: Re: bug#7276: 23.2; do-applescript can lock Emacs uninterruptedly
Date: Sun, 14 Aug 2011 12:41:29 +0200
Hello.

This has been fixed in the trunk (what will become Emacs 24.1).

	Jan D.


Daniel Pittman skrev 2010-10-24 06:40:
>
> Evaluating the following code caused Emacs to refuse to return to user
> control; I was unable to interrupt the process in any way:
>
>    (do-applescript "tell application \"unknown app\" to activate")
>
> That popped up the "which application did you mean" dialog, which I cancelled
> with ESC, and Emacs simply never returned from that call.
>
> Regards,
>          Daniel
>
>
>
> In GNU Emacs 23.2.1 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32)
>   of 2010-10-13 on Ea.local
> Windowing system distributor `Apple', version 10.3.1038
> configured using `configure  '--prefix=/usr/local/Cellar/emacs/23.2' '--without-dbus' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--with-ns' '--disable-ns-self-contained' 'CC=/usr/bin/cc' 'CFLAGS=-O3 -w -pipe''
>
> 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: nil
>    value of $XMODIFIERS: nil
>    locale-coding-system: nil
>    default enable-multibyte-characters: t
>
> Major mode: Group
>
> Minor modes in effect:
>    gnus-topic-mode: t
>    gnus-undo-mode: t
>    shell-dirtrack-mode: t
>    show-paren-mode: t
>    jabber-activity-mode: t
>    display-battery-mode: t
>    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
>    auto-encryption-mode: t
>    auto-compression-mode: t
>    column-number-mode: t
>    line-number-mode: t
>    transient-mark-mode: t
>
> Recent input:
> C-x 1 M-x e m a c<tab>  b<tab>  <M-backspace>  <M-backspace>
> <M-backspace>  <M-backspace>  r e p<tab>  o<tab>  r<tab>
> <return>
>
> Recent messages:
> Updating marks for gmane.comp.kde.announce...done
> Updating marks for gmane.comp.lang.perl.modules.dbix-class...done
> Updating marks for gmane.comp.file-systems.fuse.macfuse.devel...done
> Updating marks for gmane.editors.post-emacs...done
> Updating marks for gmane.comp.version-control.git.magit...done
> Updating marks for gmane.emacs.sources...done
> Checking new news...done
> Starting new Ispell process [en-w_accents] ...
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Making completion list... [2 times]
>
> Load-path shadows:
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/auto-install/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/bbdb/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/clojure-mode/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/config/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/dev/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/egg/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/egit/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/compat/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/tests/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-jabber/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/attic/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/doc/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/emacs-w3m/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/gitsum/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/magit/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/markdown-mode/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/swank-clojure/loaddefs
> /Users/daniel/elisp/anything-config/loaddefs hides /Users/daniel/elisp/loaddefs
> /Users/daniel/elisp/emacs-jabber/compat/sha1 hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/sha1
> /Users/daniel/elisp/anything-config/loaddefs hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/loaddefs
> /Users/daniel/elisp/emacs-jabber/compat/hex-util hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/hex-util
> /Users/daniel/elisp/emacs-w3m/attic/rfc2368 hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/mail/rfc2368
> /Users/daniel/elisp/nnir hides /usr/local/Cellar/emacs/23.2/share/emacs/23.2/lisp/gnus/nnir
>
> Features:
> (shadow sort gnus-cite emacsbug help-mode view flyspell ispell eldoc
> highlight-parentheses parse-time nnfolder utf-7 utf7 jabber-keepalive
> jabber-bookmarks jabber-private nndraft nnmh bbdb-gnus nnnil footnote
> gnus-picon nnir nnimap imap spam-report spam spam-stat gnus-uu yenc sieve
> sieve-mode sieve-manage pgg-gpg pgg pgg-parse pgg-def gnus-agent gnus-srvr
> nnvirtual gnus-cache gnus-score score-mode gnus-topic gnus-dup gnus-async nntp
> gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-sieve gnus-sum nnoo
> gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int
> gnus-range message ecomplete mml mml-sec mm-decode mm-bodies mm-encode
> gmm-utils mailheader canlock hashcash gnus-win gnus gnus-ems nnheader
> tramp-imap tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds
> tramp auth-source gnus-util shell password-cache tramp-compat trampver paren
> filladapt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs remember
> session saveplace protbuf swank-clojure-autoload todochiku growl edmacro
> kmacro netrc jabber-gmail jabber jabber-awesome jabber-osd jabber-wmii
> jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen
> jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client
> jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg
> jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars
> jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity
> jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version
> jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse
> jabber-search jabber-register jabber-roster format-spec jabber-presence assoc
> jabber-muc jabber-newdisco jabber-widget jabber-disco wid-edit jabber-chat
> ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap
> jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm
> jabber-logon sha1 hex-util jabber-conn srv dns starttls tls jabber-xml xml
> jabber-menu jabber-autoloads jabber-util miniedit generic-x edit-server server
> mailcap epa-file epa derived epg epg-config uniquify bbdb-gui mail-utils
> bbdb-hooks mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mm-util time-date
> mail-prsvr bbdb-snarf mail-extr rfc822 bbdb-com advice help-fns advice-preload
> mailabbrev bbdb regexp-opt timezone warnings w3m-ccl ccl w3m-favicon w3m-image
> w3m-proc byte-opt w3m-util compile comint ring bytecomp byte-compile battery
> cus-start cus-load applescript-mode-autoloads slime-autoloads package reporter
> cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu
> tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow
> timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
> font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
> tai-viet lao korean japanese hebrew greek romanian slovak czech european
> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
> abbrev loaddefs button minibuffer faces cus-face files text-properties overlay
> md5 base64 format env code-pages mule custom widget hashtable-print-readable
> backquote make-network-process ns multi-tty emacs)
>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 252 days ago.

Previous Next


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