unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* x-popup-dialog with Mac event -> wrong-type-argument
@ 2005-12-20 12:44 David Reitter
  2005-12-21 12:39 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 2+ messages in thread
From: David Reitter @ 2005-12-20 12:44 UTC (permalink / raw)


The Carbon port calls x-popup-dialog with a core-event it cannot  
process. This occurs when a buffer is in modified state and the user  
chooses "Quit Emacs" from the application menu (rather than doing C-x  
C-c which would not cause a GUI dialog to be shown).

Wrong type argument: listp, [core-event quit-application]

Stack trace:

Lisp error: (wrong-type-argument listp [core-event quit-application])
   x-popup-dialog((mac-apple-event [core-event quit-application]  
("aevt")) ("Save buffer untitled? " ("Yes" . act) ("No" . skip)  
("View This File" . [...]) ("View Changes In File" . [diff-buffer- 
with-file]) ("Save This But No More" . act-and-exit) ("Save All  
Buffers" . automatic) ("No For All" . exit)))
   ad-Orig-map-y-or-n-p(#[(buffer) "..." [buffer pred buffer-offer- 
save arg queried buffer-modified-p buffer-base-buffer buffer-file- 
name buffer-size 0 functionp t format "Save file %s? " "Save buffer % 
s? " buffer-name] 4] #[(buffer) "\bq� ‡" [buffer save-buffer] 1]  
(#<buffer untitled> #<buffer *scratch*> #<buffer  *Minibuf-0*>  
#<buffer *Messages*> #<buffer  *code-conversion-work*> #<buffer   
*Echo Area 0*> #<buffer  *Echo Area 1*> #<buffer *vc*> #<buffer   
*code-converting-work*>) ("buffer" "buffers" "save") ((18  
(lambda ... ... ... nil) "view this file") (100 diff-buffer-with-file  
"view changes in file")))
   byte-code("..." [buffer pred buffer-offer-save arg queried buffer- 
modified-p buffer-base-buffer buffer-file-name buffer-size 0  
functionp t format "Save file %s? " "Save buffer %s? " buffer-name]  
4] #[(buffer) "\bq� ‡" [buffer save-buffer] 1] ("buffer" "buffers"  
"save") silently y-or-n-p format "Save abbrevs in %s? " write-abbrev- 
file 0 message "(Some special files were saved without asking)" "(No  
files need saving)" buffer-save-without-query save-some-buffers- 
action-alist save-abbrevs abbrevs-changed arg abbrev-file-name] 7)
   save-some-buffers(nil t)
   save-buffers-kill-emacs(nil)
   call-interactively(save-buffers-kill-emacs)
   mac-dispatch-apple-event((mac-apple-event [core-event quit- 
application] ("aevt")))
   call-interactively(mac-dispatch-apple-event)

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

* Re: x-popup-dialog with Mac event -> wrong-type-argument
  2005-12-20 12:44 x-popup-dialog with Mac event -> wrong-type-argument David Reitter
@ 2005-12-21 12:39 ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2005-12-21 12:39 UTC (permalink / raw)
  Cc: emacs-devel

>>>>> On Tue, 20 Dec 2005 12:44:41 +0000, David Reitter <david.reitter@gmail.com> said:

> The Carbon port calls x-popup-dialog with a core-event it cannot
> process. This occurs when a buffer is in modified state and the user
> chooses "Quit Emacs" from the application menu (rather than doing
> C-x C-c which would not cause a GUI dialog to be shown).

> Wrong type argument: listp, [core-event quit-application]

Thanks for the report.  I've just installed a fix.

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

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

end of thread, other threads:[~2005-12-21 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 12:44 x-popup-dialog with Mac event -> wrong-type-argument David Reitter
2005-12-21 12:39 ` 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).