* bug#12258: 24.2.50; OS X dialog box locks emacs
@ 2012-08-22 13:11 Ivan Andrus
2012-08-23 16:50 ` Jan Djärv
0 siblings, 1 reply; 4+ messages in thread
From: Ivan Andrus @ 2012-08-22 13:11 UTC (permalink / raw
To: 12258
Starting from emacs -Q, evaluating the following causes a dialog to
appear. It is impossible to dismiss the dialog and impossible to
interact with the rest of emacs.
(let ((last-nonmenu-event nil)
(use-dialog-box t))
(y-or-n-p "Cache preamble? "))
It should be noted that I found this when I clicked on the
preview-at-point toolbar button in AUCTeX, so artificially setting
last-nonmenu-event seems justifiable.
In GNU Emacs 24.2.50.4 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36)
of 2012-08-22 on oroszlan.local
Bzr revision: 109750 lekktu@gmail.com-20120822113025-9kha71kjrnrtrx0j
Windowing system distributor `Apple', version 10.3.1038
Configured using:
`configure '--with-ns''
Important settings:
value of $LC_CTYPE: UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: LaTeX
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x r e p o <tab> r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Applying style hooks... done
Loading vc-hg...done
Making completion list...
user-error: Beginning of history; no preceding item
user-error: End of history; no default available
user-error: Beginning of history; no preceding item
ns-copy-including-secondary: The mark is not set now, so there is no region
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-mode vc-hg preview prv-emacs byte-opt tex-bar
tex-buf toolbar-x noutline outline font-latex warnings bytecomp
byte-compile cconv macroexp latex easy-mmode edmacro kmacro tex-style
tex latexenc ac-slime-autoloads ace-jump-mode-autoloads
ack-and-a-half-autoloads adaptive-wrap-autoloads
applescript-mode-autoloads auctex-autoloads tex-site info easymenu
browse-kill-ring-autoloads buffer-move-autoloads c-eldoc-autoloads
columnify-autoloads command-frequency-autoloads company-autoloads
debbugs-autoloads diff-hl-autoloads drag-stuff-autoloads
durendal-autoloads ein-autoloads emstar-autoloads feature-mode-autoloads
goto-last-change-autoloads graphviz-dot-mode-autoloads
highlight-parentheses-autoloads highlight-symbol-autoloads
hl-sexp-autoloads jump-char-autoloads keyfreq-autoloads
linum-relative-autoloads mark-multiple-autoloads
markdown-mode+-autoloads markdown-mode-autoloads
multiple-cursors-autoloads paredit-autoloads parenface-autoloads
python-mode-autoloads redo+-autoloads rw-hunspell-autoloads
scpaste-autoloads htmlize-autoloads scss-mode-autoloads
slime-clj-autoloads slime-fuzzy-autoloads slime-ritz-autoloads
smarter-compile-autoloads smex-autoloads speck-autoloads
swank-clojure-autoloads advice help-fns advice-preload
clojure-mode-autoloads slime-repl-autoloads slime-autoloads
undo-tree-autoloads vala-mode-autoloads websocket-autoloads
wgrep-autoloads xml-rpc-autoloads package time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12258: 24.2.50; OS X dialog box locks emacs
2012-08-22 13:11 bug#12258: 24.2.50; OS X dialog box locks emacs Ivan Andrus
@ 2012-08-23 16:50 ` Jan Djärv
2012-08-23 21:21 ` Ivan Andrus
0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2012-08-23 16:50 UTC (permalink / raw
To: Ivan Andrus; +Cc: 12258
Hello.
22 aug 2012 kl. 15:11 skrev Ivan Andrus:
> Starting from emacs -Q, evaluating the following causes a dialog to
> appear. It is impossible to dismiss the dialog and impossible to
> interact with the rest of emacs.
>
> (let ((last-nonmenu-event nil)
> (use-dialog-box t))
> (y-or-n-p "Cache preamble? "))
>
> It should be noted that I found this when I clicked on the
> preview-at-point toolbar button in AUCTeX, so artificially setting
> last-nonmenu-event seems justifiable.
I can't reproduce this, either on 10.7 or 10.8. I tried about 50 times...
Does it happen always?
Jan D.
>
> In GNU Emacs 24.2.50.4 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36)
> of 2012-08-22 on oroszlan.local
> Bzr revision: 109750 lekktu@gmail.com-20120822113025-9kha71kjrnrtrx0j
> Windowing system distributor `Apple', version 10.3.1038
> Configured using:
> `configure '--with-ns''
>
> Important settings:
> value of $LC_CTYPE: UTF-8
> locale-coding-system: utf-8-unix
> default enable-multibyte-characters: t
>
> Major mode: LaTeX
>
> Minor modes in effect:
> tooltip-mode: t
> mouse-wheel-mode: t
> tool-bar-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> M-x r e p o <tab> r <tab> <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Applying style hooks... done
> Loading vc-hg...done
> Making completion list...
> user-error: Beginning of history; no preceding item
> user-error: End of history; no default available
> user-error: Beginning of history; no preceding item
> ns-copy-including-secondary: The mark is not set now, so there is no region
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
> mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
> gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
> mail-prsvr mail-utils help-mode vc-hg preview prv-emacs byte-opt tex-bar
> tex-buf toolbar-x noutline outline font-latex warnings bytecomp
> byte-compile cconv macroexp latex easy-mmode edmacro kmacro tex-style
> tex latexenc ac-slime-autoloads ace-jump-mode-autoloads
> ack-and-a-half-autoloads adaptive-wrap-autoloads
> applescript-mode-autoloads auctex-autoloads tex-site info easymenu
> browse-kill-ring-autoloads buffer-move-autoloads c-eldoc-autoloads
> columnify-autoloads command-frequency-autoloads company-autoloads
> debbugs-autoloads diff-hl-autoloads drag-stuff-autoloads
> durendal-autoloads ein-autoloads emstar-autoloads feature-mode-autoloads
> goto-last-change-autoloads graphviz-dot-mode-autoloads
> highlight-parentheses-autoloads highlight-symbol-autoloads
> hl-sexp-autoloads jump-char-autoloads keyfreq-autoloads
> linum-relative-autoloads mark-multiple-autoloads
> markdown-mode+-autoloads markdown-mode-autoloads
> multiple-cursors-autoloads paredit-autoloads parenface-autoloads
> python-mode-autoloads redo+-autoloads rw-hunspell-autoloads
> scpaste-autoloads htmlize-autoloads scss-mode-autoloads
> slime-clj-autoloads slime-fuzzy-autoloads slime-ritz-autoloads
> smarter-compile-autoloads smex-autoloads speck-autoloads
> swank-clojure-autoloads advice help-fns advice-preload
> clojure-mode-autoloads slime-repl-autoloads slime-autoloads
> undo-tree-autoloads vala-mode-autoloads websocket-autoloads
> wgrep-autoloads xml-rpc-autoloads package time-date tooltip ediff-hook
> vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image
> regexp-opt fringe tabulated-list newcomment lisp-mode register page
> menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs
> button faces cus-face files text-properties overlay sha1 md5 base64
> format env code-pages mule custom widget hashtable-print-readable
> backquote make-network-process ns multi-tty emacs)
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12258: 24.2.50; OS X dialog box locks emacs
2012-08-23 16:50 ` Jan Djärv
@ 2012-08-23 21:21 ` Ivan Andrus
2012-08-27 18:55 ` Jan Djärv
0 siblings, 1 reply; 4+ messages in thread
From: Ivan Andrus @ 2012-08-23 21:21 UTC (permalink / raw
To: Jan Djärv; +Cc: 12258
On Aug 23, 2012, at 6:50 PM, Jan Djärv wrote:
> Hello.
>
> 22 aug 2012 kl. 15:11 skrev Ivan Andrus:
>
>> Starting from emacs -Q, evaluating the following causes a dialog to
>> appear. It is impossible to dismiss the dialog and impossible to
>> interact with the rest of emacs.
>>
>> (let ((last-nonmenu-event nil)
>> (use-dialog-box t))
>> (y-or-n-p "Cache preamble? "))
>>
>> It should be noted that I found this when I clicked on the
>> preview-at-point toolbar button in AUCTeX, so artificially setting
>> last-nonmenu-event seems justifiable.
>
> I can't reproduce this, either on 10.7 or 10.8. I tried about 50 times...
> Does it happen always?
Yes. I'm on a fairly modified 10.6, so it may be that I have something strange on my system.
It doesn't really bother me, since I have set use-dialog-box to nil. The bug that really bothers me is 12245. :-)
I have tried tracking it down a bit and it gets stuck in nsmenu.m line 1784:
ret = [NSApp runModalForWindow: self];
I can print out the value of self etc. if you think it would help. But if nobody else can reproduce this perhaps it's better just to ignore it.
-Ivan
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12258: 24.2.50; OS X dialog box locks emacs
2012-08-23 21:21 ` Ivan Andrus
@ 2012-08-27 18:55 ` Jan Djärv
0 siblings, 0 replies; 4+ messages in thread
From: Jan Djärv @ 2012-08-27 18:55 UTC (permalink / raw
To: Ivan Andrus; +Cc: 12258-done
Hello.
23 aug 2012 kl. 23:21 skrev Ivan Andrus <darthandrus@gmail.com>:
> On Aug 23, 2012, at 6:50 PM, Jan Djärv wrote:
>
>> Hello.
>>
>> 22 aug 2012 kl. 15:11 skrev Ivan Andrus:
>>
>>> Starting from emacs -Q, evaluating the following causes a dialog to
>>> appear. It is impossible to dismiss the dialog and impossible to
>>> interact with the rest of emacs.
>>>
>>> (let ((last-nonmenu-event nil)
>>> (use-dialog-box t))
>>> (y-or-n-p "Cache preamble? "))
>>>
>>> It should be noted that I found this when I clicked on the
>>> preview-at-point toolbar button in AUCTeX, so artificially setting
>>> last-nonmenu-event seems justifiable.
>>
>> I can't reproduce this, either on 10.7 or 10.8. I tried about 50 times...
>> Does it happen always?
>
>
> Yes. I'm on a fairly modified 10.6, so it may be that I have something strange on my system.
>
Apparently 10.6 (and earlier?) doesn't handle modal loops the same. I have checked in a fix that works on 10.6 also.
Jan D.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-27 18:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 13:11 bug#12258: 24.2.50; OS X dialog box locks emacs Ivan Andrus
2012-08-23 16:50 ` Jan Djärv
2012-08-23 21:21 ` Ivan Andrus
2012-08-27 18:55 ` Jan Djärv
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.