bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37352: 27.0.50; recursive-edit aborts on elisp error after evaluatio


From: Lars Ingebrigtsen
Subject: bug#37352: 27.0.50; recursive-edit aborts on elisp error after evaluation
Date: Fri, 20 Sep 2019 20:30:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:


[...]

>       (unwind-protect
>         (recursive-edit)
>       (if (get-buffer-window buffy)
>           (progn
>             (setq new-value (buffer-substring (point-min) (point-max)))
>             (kill-buffer buffy))))
>       (switch-to-buffer this-buffer)
>       new-value)))
>
> Then you could edit some string to see how this is happening:
>
> (read-from-buffer "EDIT ME\nEvaluate this: (nonexistingfunction) ")
>
> Then there after you could evaluate some non existing function to invoke
> the Emacs Lisp error.
>
> At that time the editing with recursive-buffer is interrupted and data
> is lost.

I'm not quite sure I understand the function above, are you basically
doing this?

M-: (recursive-edit)
M-: (error)

And you say that this returns you to the to the top level?

It doesn't do that for me -- unless I have debug-on-error set, and use
`q' to exit that (which returns to top level, as advertised).

Is this what you're seeing?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]