From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Philip K." Newsgroups: gmane.emacs.help Subject: Re: Making ielm behave like a shell (getting to previous commands using the up-arrow key) Date: Fri, 18 Dec 2020 11:20:58 +0100 Message-ID: <87h7ojh0tx.fsf@posteo.net> References: <87im91ys4m.fsf@web.de> <87im90264s.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26819"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 18 11:21:49 2020 Return-path: Envelope-to: geh-help-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 1kqCtQ-0006sh-Sc for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 11:21:48 +0100 Original-Received: from localhost ([::1]:38182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqCtP-0000pt-V1 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 05:21:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqCso-0000n0-G2 for help-gnu-emacs@gnu.org; Fri, 18 Dec 2020 05:21:10 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:45501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqCsm-00066M-Pp for help-gnu-emacs@gnu.org; Fri, 18 Dec 2020 05:21:10 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4BE872400FB for ; Fri, 18 Dec 2020 11:21:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1608286864; bh=dqDhNXvdMOyYuOY6GmQYRuDsOQAO+HyOU/97XM2O8v0=; h=From:To:Cc:Subject:Date:From; b=Po5429bqJ3XRnBPFqq5EpSNhFJdT+sfQTUlEVkIyiuNs/08cqtvd2Ep5rOSRyQMh4 NWWwCryRW2FSZ0R6gBxMEqYZanXgKoL5sZ3qr02kXh/MW0C4yNzG4j6H/3a+G0V7fY 1d66Y8guWLbqbn0o/UpdgmrTIClJxDTSuHRh2p5eAfeJEwr9xrbqzKav53n9JS/iWR KnMy/qHEKxElLg/dkeJaqZcpV9hav5bp2G9gaMy2LsVh/IksBxHsSAfsv61LG7WAdT /KzLIuzj7f/VMTodvg8rM9vvekAF7EDryhD5tY4luY4iR77xhTsC9It5COHBupUq5Q gJLUNTLKNCvnw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cy4dR29z9z6tmX; Fri, 18 Dec 2020 11:20:59 +0100 (CET) In-Reply-To: <87im90264s.fsf@fastmail.fm> (Joost Kremers's message of "Thu, 17 Dec 2020 09:22:34 +0100") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126487 Archived-At: Joost Kremers writes: > On Thu, Dec 17 2020, Michael Heerdegen wrote: >> steve-humphreys@gmx.com writes: >> >>> I have started using ielm and would be useful for it to behave like a >>> terminal That is enabling history on ielm to view all the previous >>> executed commands using the Up Arrow Key. >> >> You know that M-p does that? > > Also Ctrl-up. :-) C-c C-p to jump back to the last prompt, that can be modified and re-evaluated is aoso helpful. >> FWIW, personally I'm quite happy that I can "walk around" with the arrow >> keys in ielm buffers. > > Indeed. -- Philip K.