[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60269: 30.0.50; recursive-edit not completed when buffer killed
From: |
Drew Adams |
Subject: |
bug#60269: 30.0.50; recursive-edit not completed when buffer killed |
Date: |
Fri, 23 Dec 2022 17:29:48 +0000 |
> I am using many times recursive-edits to edit description, text, values
> in the database. ...
>
> When recursive edit is finished,
> the returning string is recorded in the database as recursive-edit
> remains with the running function waiting for input. Recursive edit
> buffer closes when finished, and that is signal that string is finished
> and shall go into the database.
>
> If I use ordinary file editing, it is unclear for invoking function when
> is that editing really finished. Or maybe I should add hook and replace
> buffer killing function C-x k with the function to load the saved file
> of the buffer back into the database?
>
> Any idea is appreciated.
You might want to try library `rec-edit.el':
https://www.emacswiki.org/emacs/RecursiveEdit#rec-edit.el
It can make it more obvious when you're
in a recursive edit, which level, etc.
And you can use the same key, `C-M-c', to
exit a recursive edit and (with `C-u') to
enter one at the top level.
https://www.emacswiki.org/emacs/rec-edit.el