From: David Reitter <david.reitter@gmail.com>
Subject: x-popup-dialog with Mac event -> wrong-type-argument
Date: Tue, 20 Dec 2005 12:44:41 +0000 [thread overview]
Message-ID: <269A14C8-E69E-4642-8C69-419F0B28F50F@gmail.com> (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)
next reply other threads:[~2005-12-20 12:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-20 12:44 David Reitter [this message]
2005-12-21 12:39 ` x-popup-dialog with Mac event -> wrong-type-argument YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=269A14C8-E69E-4642-8C69-419F0B28F50F@gmail.com \
--to=david.reitter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).