From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.devel Subject: Re: Comint-like history search for Eshell? Date: Mon, 04 Nov 2024 12:13:06 +0530 Message-ID: <86o72vebyd.fsf@gmx.net> References: <878qu01mfc.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="4749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Pengji Zhang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 04 07:44:41 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t7qpN-00019q-6e for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Nov 2024 07:44:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7qog-0000MP-W5; Mon, 04 Nov 2024 01:43:59 -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 1t7qoe-0000J7-8g for emacs-devel@gnu.org; Mon, 04 Nov 2024 01:43:56 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7qoc-0000NJ-4A for emacs-devel@gnu.org; Mon, 04 Nov 2024 01:43:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1730702629; x=1731307429; i=jimjoe@gmx.net; bh=eoOvsMLL2vujw/lgOa2oMCcpZdiaizG6040aRhDh9bk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: References:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=dYfVBbzkwmBlyu2rrMX67wMgs8Vd7mXbqCM2xGN8f8RsLNTxY0ODK677qS585XDO 7sYcO5NibEaLcenPN4pXW0hHG2898WW3q2aBepArIIhcSUJQMdAFLi4Q7C0UK/QII 73OUsasstmLJNolgI9MXZgqeUUe2st9hFIBFgFWGbKHJ2e2hICuoOfmZ6x9PNbp0y 94tGeRZYZa4/odUrNRGNglusMywWem1hhgG/NQJQLf5O9V3w9nj3tA5ageXdf4zKv NuMLsTnXtVvlXs4r2EA68WofhR/b8/hME+BMU/hSBDnnmD2bcPv0h+zMhLsTK89rS u/M1hYe9zeCR03wIZg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([120.61.80.88]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MGz1V-1t4GAw0AfT-00ASQk; Mon, 04 Nov 2024 07:43:49 +0100 In-Reply-To: <878qu01mfc.fsf@pengjiz.com> (Pengji Zhang's message of "Sun, 03 Nov 2024 21:23:03 +0800") X-Provags-ID: V03:K1:vpK4mbvWv3oCCZ/i2J5znbdPLbu9tPcFbuU9cIZByyU0AhZKHxQ B4VEW98eAr1uRw3wRpmKSnu7RDdZ+YgjpBizgZF/IVL9aZMNqKKuOIIWV9p3gQpe8vgFxGk 9Kyulc09p/3qzxo4CH9HEJVd0RVsm9c3XFtjRtzPXcLie55Eav5Ju3NOAgztVMoRiQohng/ V9VVdtq1MoBVVHHcKX1+Q== UI-OutboundReport: notjunk:1;M01:P0:NbGsdtXS5fo=;YGZfvAyI7S76JEwfSONYiOit/6J pbX8fA3UXIKoo0GHFcsvwKsHci9hnx/xAVeWpX9jClUSqMULr3BJPRT8cqJIfCEb9nhXsK2A4 Kt3iHXlZ2a8adxwvq3z5Apozg01+kjXosKvkitnrTtHPp3jECV17rghr1DNoWZffdxMS7BxSZ AU7ghbQPLGz1vLLgA/GzTwMhXdqLhTvMs2gf8h03fot9fcvZq9ondrdre4mSXh3M4zo6/AX+F C924ISiyGpXvq50BgL+/iZp0ZV29bKm2Uhz78zZoBgiJr6+ZOCdcYHE/tzYGun3tjyiDwIwAc uTglo8EiK2jFqmc5IX0VgObD2JOcYB7FFj8PGEBKvRMj0qHh1eZftSf+a8oG+X67iHphnqMTJ QYpo/Gy5Voj4GXwRnDJ8tvxe8c53dhwcTyOFCYxuRYoC2CXneaXdq1of0t3xJTQzo08gu2m2P 3KnMR3v81HiVhv+4X8OXD4teaWcSAEEJLOCzRH/ti4CB/vduw/Dp0nwTHNHuNPtVdg0/bJWoE ml2w8Vxq3eCMhlKJuunsMdlCG5Ng4dT3rXpAcBlDtDU0cvFLWntn73PUrw5IHOuy4bdTdYnCy B8TUw04zICLTmi/MkFJmq1ldSHzanLWro9mwvbnfgmDsk4Yrm2aoTXz6IWFaF+rxw5N4XgVcX XP2cgqWwEuZKFkl8gclmd2/H1VCglUspFW3rDEGzddRoMbfQQ02vcoDgfN5uR2lRKiUDLp2yo 0XUdJpftt2/VxEr8WhEKV7GyNzxshH5LRCCOBIK3GzJD3tfJvrB3WX1p7hT2tszRphSGTARP Received-SPF: pass client-ip=212.227.15.15; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325078 Archived-At: Pengji Zhang wrote: > I hacked a small patch (attached) implementing a comint-like interface > for history search in Eshell, and I would like to know what people think > about it. You may type 'M-r' in Eshell to try the interface. > > I myself always miss the 'M-r' in 'M-x shell' whenever I use 'M-r' in > Eshell. I tried 'eshell-isearch-{forward,backward}', but IMO they are a > bit rough -- they are implemented by inserting the whole history file > into the buffer and overriding Isearch keys. One thing is that those used to the effectively infinite eshell-history-size previously, may be surprised. Like I was. Regards, James