[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ielm automatic saving of history -- bug 67000
From: |
Madhu |
Subject: |
Re: ielm automatic saving of history -- bug 67000 |
Date: |
Sun, 13 Oct 2024 15:19:28 +0530 (IST) |
Hello,
* Eli Zaretskii <eliz@gnu.org> <86v7xwtu3i.fsf@gnu.org>
Wrote on Sun, 13 Oct 2024 09:06:25 +0300
>> 2. The way to opt out of this is to set ielm-history-file-name to nil in
>> user customization. In that case this code path should be avoided
>> altogether.
>
> If you do that, comint-write-input-ring is supposed to do nothing and
> return immediately. Does that not happen?
It still interferes with any user customization, (e.g. the
my-ielm-mode-hook in the file attached upthread)
>> The "worst" problem happens when ielm buffer exits without running
>> kill-buffer-hook
>
> How can this happen? can you show a recipe for this?
(let (kill-buffer-hook (executing-kbd-macro 'kludge) buffer-file-name
kill-buffer-query-functions) (kill-buffer "*ielm*")) -- used as outlined in the
quoted portion below, to opt out of saving history for "this" particular ielm
session.
I agree it is outside the design-scope of the current implementation,
but it does still hurt, -- Regards, Madhu
> ( -- historically I've used this pattern to avoid
>> saving history for a particular buffer, this is the way to opt out of
>> saving the history) but in this case it runs from the kill-emacs-hook,
>> and that forces me to choose a coding system to save the buffer. There
>> is no option to opt out.
- ielm automatic saving of history -- bug 67000, Madhu, 2024/10/13
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/13
- Re: ielm automatic saving of history -- bug 67000,
Madhu <=
- Re: ielm automatic saving of history -- bug 67000, Augusto Stoffel, 2024/10/14
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/14
- Re: ielm automatic saving of history -- bug 67000, Madhu, 2024/10/15
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/15
- Re: ielm automatic saving of history -- bug 67000, Madhu, 2024/10/15
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/15
- Re: ielm automatic saving of history -- bug 67000, Madhu, 2024/10/16
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/16
- Re: ielm automatic saving of history -- bug 67000, Madhu, 2024/10/16
- Re: ielm automatic saving of history -- bug 67000, Eli Zaretskii, 2024/10/16