From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74287: [PATCH] Rework history Isearch for Eshell Date: Mon, 09 Dec 2024 20:23:59 +0200 Organization: LINKOV.NET Message-ID: <87msh4n29s.fsf@mail.linkov.net> References: <871pzjkhmm.fsf@pengjiz.com> <8c80ae91-476e-e665-43be-86d72fb57ed1@gmail.com> <86v7waz603.fsf@gmx.net> <6fdd8386-8915-e3a8-046a-b18750a7057d@gmail.com> <87v7vzgtuq.fsf@mail.linkov.net> <87jzcecnc9.fsf@pengjiz.com> <87h67icmu1.fsf@pengjiz.com> <87cyi159vo.fsf@pengjiz.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Jim Porter , 74287@debbugs.gnu.org To: Pengji Zhang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 09 19:25:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tKiRe-000AeJ-3s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Dec 2024 19:25:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKiRP-00011v-4Y; Mon, 09 Dec 2024 13:25:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKiRK-00011M-NP for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2024 13:25:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKiRK-0005dA-DX for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2024 13:25:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Lkj5wD8F7k2TPu6TAstcggZGEeTDovszOmGbMt3muSw=; b=BOpTZoBlAXuDloaaV/j5uY6E2wEQ51xX6pGCMhMRGlvrZPRpkzdX2NWWF/Vuh2d0ar00D91hvLDP6Jcg49KUPC9VFIt+gTDiDT4EsEIYJQh/ZdQcjatFkRGTikgrNkpSy+LemxLIj5oz8vBx8fKyTJkGxKwFseosHREWu9u/AeQv8mhDR1xMAQk1y+QNDvUdMxRmCatho1pUumN724pWwHBXgPHvdpq+KmWAnIqPLd1z7yABS75VDpblIKpjh/Oq7QdHqu360DOTeFwELePXoVKlJJZPpkud5d/oK2qxZeWsD5IZbquAfth7cYaeR/g7NAueqVvkU47rgTaN795CEA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKiRJ-0004Or-Re for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2024 13:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Dec 2024 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74287 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74287-submit@debbugs.gnu.org id=B74287.173376869916894 (code B ref 74287); Mon, 09 Dec 2024 18:25:01 +0000 Original-Received: (at 74287) by debbugs.gnu.org; 9 Dec 2024 18:24:59 +0000 Original-Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKiRH-0004OP-7o for submit@debbugs.gnu.org; Mon, 09 Dec 2024 13:24:59 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:45317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKiRF-0004O7-2h for 74287@debbugs.gnu.org; Mon, 09 Dec 2024 13:24:58 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id EC6B040008; Mon, 9 Dec 2024 18:24:48 +0000 (UTC) In-Reply-To: <87cyi159vo.fsf@pengjiz.com> (Pengji Zhang's message of "Mon, 09 Dec 2024 20:16:59 +0800") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296713 Archived-At: >> Is there a way we could change this so that users who use 'setopt' (or >> even 'setq'?) instead of the Customize package can enable this >> feature? > > Indeed, it only works with 'M-x customize' (and friends). I guess we can > instead save the original value to another variable and restore from it. > > Juri, since you wrote that for 'comint.el' in commit 71e458505f3, what > do you think? Thanks! I confirm the same problem in comint. The current solution was described in bug#30187 as the least bad. Fortunately, no one complained because it works with saved customizations. But still we need to fix it. So do you propose to add an internal variable that duplicates the user option?