all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: please review new branch feature/byte-unwind-protect
Date: Sat, 27 Jan 2018 16:28:46 -0500	[thread overview]
Message-ID: <jwvfu6rngrb.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 87h8r719us.fsf@metalevel.at

> I have one feature request that is related to unwind-protect, filed as
> issue #23963:

While we're here I have another related feature request: make it
possible to provide a "rewind".  Currently the C code has a few
hard-coded rewinds (basically: those for let bindings and those for
save-excursion, IIRC), but doesn't offer any way to provide one's own.

The rewinds are used in the backtrace debugger when the user evaluates
an expression with `e` (which evaluates the expression in the specific
stack frame at point, so it first unwinds up to that stack frame so that
the evaluation has access to the same variables in the same buffer, and
afterwards rewinds back down to the stack frame where the error
occurred).


        Stefan




  reply	other threads:[~2018-01-27 21:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  5:20 please review new branch feature/byte-unwind-protect Tom Tromey
2018-01-23  8:47 ` John Wiegley
2018-01-23 15:50   ` Tom Tromey
2018-01-23 16:37     ` Stefan Monnier
2018-01-27 17:37 ` Markus Triska
2018-01-27 21:28   ` Stefan Monnier [this message]
2018-02-03 19:43 ` Philipp Stephani
  -- strict thread matches above, loose matches on Subject: below --
2018-01-26  7:58 Rocky Bernstein

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=jwvfu6rngrb.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /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.