From: Jambunathan K <kjambunathan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: ofv@wanadoo.es, emacs-devel@gnu.org
Subject: Re: unwind-protect not cleaning up?
Date: Sun, 01 Jul 2012 23:31:13 +0530 [thread overview]
Message-ID: <81a9zjgy3a.fsf@gmail.com> (raw)
In-Reply-To: <81ehovgypj.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 01 Jul 2012 23:17:52 +0530")
> [CONTEXT SWITCH]
> I also tried comparing `condition-case' with `unwind-protect'.
>
> (condition-case err
> (error "Forced error")
> ((debug error) ;; ASSIGNMENT TO THE READER: add `quit' to this
> ;; list and see the behaviour on C-g with various
> ;; values of `debug-on-quit'. Particularly note
> ;; whether or not the handler is called.
> (message "Released resources")))
>
> With `debug' added to the list and `debug-on-error' set to `t', a
> developer can examine the stacktrace and also trigger the cleanup with a
> `c'. In other words, the cleanup happens irrespective of the value of
> `debug-on-error'. (Compare this behaviour with C-g and `debug-on-quit',
> search for ADDITIONAL NOTE above)
This paragraph is not clear even to me (the original author). Let me
gather myself and articulate what I am trying to accomplish separately.
--
prev parent reply other threads:[~2012-07-01 18:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 0:54 unwind-protect not cleaning up? Jambunathan K
2012-06-30 2:07 ` Óscar Fuentes
2012-06-30 5:31 ` Jambunathan K
2012-06-30 6:09 ` Eli Zaretskii
2012-07-01 17:47 ` Jambunathan K
2012-07-01 18:01 ` Jambunathan K [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81a9zjgy3a.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/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 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.