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: Tue, 10 Dec 2024 19:41:32 +0200 Organization: LINKOV.NET Message-ID: <87zfl3mo4z.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> <87msh4n29s.fsf@mail.linkov.net> <8734iwl5kw.fsf@pengjiz.com> <8734iwq8to.fsf@mail.linkov.net> <87frmv245n.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="6500"; 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 Tue Dec 10 18:50:37 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 1tL4NZ-0001Yq-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 18:50:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL4N4-0005Am-5x; Tue, 10 Dec 2024 12:50:06 -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 1tL4N1-00056N-QG for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 12:50:03 -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 1tL4N1-0007gs-Gw for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 12:50:03 -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=4155cJfeeyU4Pcr9oK8nEufz0Q1+0Dn5mosM9LJhzdI=; b=LzUF0+wJZ1n3WeDeDPoyzrAGVtaJH7Xez1AunqTKypjHnZufji/MmZ3DCrGUJJzt/QWAunRXB3bqB/Mepz8tQBmg9W0ke9WhmPwKIggrjd4xhGWUCv+jdy1qah51rviLQl3bNsECFpKIlIplTfBG87xDnjRgLfMhyP17/gqbVPM968a0P8dpuwTIRG+oWmPmz6PgKDkQo3QND09l3FGukgT7OzFCinNAh5M/10BzbQIQW66PTpJY696fwuuy1o3ivRXMLYggUwbTAycpD66ClUB7o2ipSX6fvCJnPeIeHdSVqeWdEtSEIQq8sTSeg/t/sxvuAckVay6C3RyAybc90w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL4N1-0002CL-95 for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 12:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Dec 2024 17:50:03 +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.17338529488320 (code B ref 74287); Tue, 10 Dec 2024 17:50:03 +0000 Original-Received: (at 74287) by debbugs.gnu.org; 10 Dec 2024 17:49:08 +0000 Original-Received: from localhost ([127.0.0.1]:59484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL4M7-0002A8-RG for submit@debbugs.gnu.org; Tue, 10 Dec 2024 12:49:08 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL4M6-00029L-Aq for 74287@debbugs.gnu.org; Tue, 10 Dec 2024 12:49:06 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id A13BC20002; Tue, 10 Dec 2024 17:48:57 +0000 (UTC) In-Reply-To: <87frmv245n.fsf@pengjiz.com> (Pengji Zhang's message of "Tue, 10 Dec 2024 19:01:08 +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:296773 Archived-At: >> I agree this would be the right thing, because even in Isearch we have >> variables that duplicate the user options such as e.g. the option >> 'search-invisible' and the internal variable 'isearch-invisible'. > > Thanks! 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.