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.help Subject: Re: How to get eshell to do what I used to do with shell Date: Sun, 11 Aug 2024 02:31:13 +0530 Message-ID: <86cymgytwm.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32152"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: "Help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 10 23:02:10 2024 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 1sctE1-0008HV-3e for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 10 Aug 2024 23:02:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sctDS-0003mK-VK; Sat, 10 Aug 2024 17:01:35 -0400 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 1sctDR-0003m6-Dl for Help-gnu-emacs@gnu.org; Sat, 10 Aug 2024 17:01:33 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sctDP-0001BV-90 for Help-gnu-emacs@gnu.org; Sat, 10 Aug 2024 17:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1723323682; x=1723928482; i=jimjoe@gmx.net; bh=uniy1dahZGer0WsvL/jMjjREOA8XUvbkORdo1pRH/4Y=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=FXHQmGwMyC28bRObzV2twrxFHDYRow76BxrEcBh0IheEgxlu6r9uuafG3RpAryg2 jNGTkcaY7wRx1moHfR8RY8z5IFXyCigFlDlVpBT21sF+2DRtzPBjfBrrRyApECVUB CbogGNYGvHLCH75gzB7fURt+hUNryBjBamyirkpIIxGmcOJJP8E6F8AAXESPrvsBJ nqg5lHjR6HGKt7JggJpndtet8koC/sHSFMEZEnZs+S1ywEZZMZ+hplxV5clEqNUOa 22j742S1Sl3cErOU+bneHJTTP5KUQsvDW3t/+8YxWyDAjmoqjLsa2F5LekeP1MOvz WnOgGDaTVAPkqYWxyw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([59.182.159.214]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N9MpS-1s6nbC0zX2-014xgR for ; Sat, 10 Aug 2024 23:01:22 +0200 In-Reply-To: (DAVID KARR's message of "Sat, 10 Aug 2024 17:00:44 +0000") X-Provags-ID: V03:K1:lgrKlhk+xhA9E1R3n8kOL8yzDwtUJkQCm+b3M9D/rv1y0/+pzyG O2Ox0PDFxJmU8TquLGMs7Umk8RWXFVBZBla/vojYyspWMeovvgLcJDBld79xTIVl79JtNJJ Xj7muZLrb6Q/JSdL3WiYlU47TSRnVlF8agU9/2gxp5N8msu0xeSSiJMf6J9qk94mvE465ia r6ZeqCBPnRidr6FzaiLxA== UI-OutboundReport: notjunk:1;M01:P0:QePZXIJaYAA=;icYQS/6cO/AbquKOQ++Dq7zkc9J ifob0eFIgQrEten/0/xOZFabzGpXjNLLDZ+x31JCI9awpZvsIlqkZbftteROYUm1S8g8xmA1P wg+zHz67uLsKJaBvfcimhRrNDY1d7i8TMyDVEwt//9b654S4In2oSqDLRF7jJ+QntbyTX5aEP uLO+AbiVzMl0hBLqGHmZe61pMhXgZLQa0rNX7WbEfCxqjfJSPBCgwaq4MgG9fwPeASXYwAEVK hpxZ379IKxtCZiqGn234aP4WXx4QzJlmPwMqvzqWrpETNGK4maTXSnf6n8y8inFv02mbF+QxJ 62VBhsGSA1RpjNEa/GnSsIj76jBpbLjTpBh+YIMQf1X7jEFAMDTDqy3t2ku1Jzn/PqaEdpKlU Fdlj8baUfMOO1hshBOlalFNaa7vBI1KaTBnxZXCFoUY96BFtGz66fVWENbB0KAn/GIHsDhzJC YgtWt/lYCr8nDbdKBPdzGF2USnRnFg/YvEe9z1lUPB4omD99LJtedWoUHY2xbrxa0wR2g87nk z+WSPM5Ghf/bb5Qe9MA7IRbobBfMmXLy0trtk4x1z2dKBc4AeSIh6hpMFskHS4AZdIyvI2ipE Xok+pmOy9vnaMFI5aMXZTG9vttIx9azamQR1DaSE0XJQZsrWXPBVhoq9N2bDns7RxzXc5n85h Ay8ajFK2/LtZEQWT+JLyllnwx2MBLmkyF8FbW9Jngz49PlklDLsT5dn7z/AuqpgZp/n00agF9 BtFHJGhbERD/3Ib8AnHDg0EK1jIS3QogZkfcKIM9Zbv5D/bPXkc8h/Uw6BRjbg2BmlmnbKyb Received-SPF: pass client-ip=212.227.15.19; 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_H3=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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147592 Archived-At: KARR, DAVID wrote: > My old wrapper had these features: > * In a non-shell buffer, execing the main func would either create the > first shell buffer, or go to the first one in the chain, perhaps > called the 0th. > * In a shell buffer, execing the main func would create a new shell in > the chain, using the current directory > * In a shell buffer, execing the "goto-next-shell" func would move to > the next buffer in the chain, or back to 0 if at the end > * In a shell buffer, execing the "find-shell-with-dir" func would take > a string argument and find the next buffer in the chain where the pwd > has that string as a substring > > I think all of these are doable They should be, but lemme just say that I think a better way to use eshell is to have a single buffer: the ability to transparently 'cd' to different remotes and selectively open async output buffers (at least for me) makes keeping multiple buffers redundant and is more convenient: if the user is a single person, all the commands are in a particular sequence, after all. Regards, James