From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Recent isearch changes in eshell Date: Mon, 16 Dec 2024 14:01:57 +0000 Message-ID: <874j339162.fsf@yandex.com> Reply-To: m43cap@yandex.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="40139"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 16 15:03:04 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 1tNBgb-000A9x-Ti for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Dec 2024 15:03:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNBfr-00053i-OJ; Mon, 16 Dec 2024 09:02:15 -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 1tNBfo-00052j-NQ for emacs-devel@gnu.org; Mon, 16 Dec 2024 09:02:12 -0500 Original-Received: from forward100a.mail.yandex.net ([178.154.239.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNBfk-0006Oc-5t for emacs-devel@gnu.org; Mon, 16 Dec 2024 09:02:11 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net [IPv6:2a02:6b8:c15:2c1c:0:640:7de8:0]) by forward100a.mail.yandex.net (Yandex) with ESMTPS id 8BC4B47217 for ; Mon, 16 Dec 2024 17:01:59 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id v1QZcl3OjqM0-c3HtAdoo; Mon, 16 Dec 2024 17:01:58 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1734357719; bh=Sahdv23YyY8y8MPudl/3zqqNZsIK+/MYvGWMZYofkN0=; h=Message-ID:Date:Reply-To:Subject:To:From; b=GrJZurB7vv8FE/ilQRcf1Qosvo05Ml8vkgPnaFJX4crl+0x5M/XUqsB0tTa0kmftN ToMIYZCOAADB5d3zbhpbXylRb70ZHJlRtjDJvir49zfsCNhQWULiWyLwB6MQvaqq3R 0ew54oVkBj5UQmgcrTeInzCaibmFaLeHBxAwMm+A= Authentication-Results: mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.com X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=178.154.239.83; envelope-from=m43cap@yandex.com; helo=forward100a.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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:326549 Archived-At: Recently, isearch in eshell was changed. According to NEWS, the following will revert the changes: --8<---------------cut here---------------start------------->8--- (keymap-set eshell-hist-mode-map "M-r" #'eshell-previous-matching-input) (keymap-set eshell-hist-mode-map "M-s" #'eshell-next-matching-input) --8<---------------cut here---------------end--------------->8--- It seems that the above will only work if they are evaluated after calling eshell, otherwise they give "void variable eshell-hist-mode-map" error. Can anyone suggest how I might revert the changes without having to eval the above keymap-set in a scratch buffer after "M-x eshell "? I have tried eval after load in my ~/.emacs but that appears to have no effect. Thank you. Colin Baxter.