GNU bug report logs -
#74287
[PATCH] Rework history Isearch for Eshell
Previous Next
Reported by: Pengji Zhang <me <at> pengjiz.com>
Date: Sun, 10 Nov 2024 01:23:02 UTC
Severity: normal
Tags: patch
Done: Jim Porter <jporterbugs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #65 received at 74287 <at> debbugs.gnu.org (full text, mbox):
>> Please also see the commit 98f8c5fb07dcb4e20b8ba6648bdabf5c0d3b5145
>> that fixed this in dired by using a buffer-local variable. Do you
>> agree it's a good fix? Otherwise using a separate variable is also
>> fine.
>
> My concern with using a local variable is that users may also set the
> user option locally. That is perhaps not a problem for eshell or dired,
> but for comint, e.g., I may set 'comint-history-isearch' to 'dwim' only
> in 'M-x shell' via the mode hook.
Indeed, this is a valid use case.
> IMO, changing an internal variable feels a bit cleaner and safer than
> manipulating a user option. So I would prefer using a separate variable.
I agree that a separate variable is better. So now I added to comint.el
'comint--force-history-isearch' extracted from your Eshell patch.
Thanks for the fix!
This bug report was last modified 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.