From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42612: 28.0.50; Eshell: support setting working buffer like IELM Date: Thu, 30 Jul 2020 20:06:36 +0300 Message-ID: <83v9i5djab.fsf@gnu.org> References: <87o8nx1sfj.fsf@iris.silentflame.com> <834kppf8km.fsf@gnu.org> <87lfj10wz8.fsf@iris.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42612@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 30 19:08:18 2020 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 1k1C2T-0000yh-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jul 2020 19:08:17 +0200 Original-Received: from localhost ([::1]:54194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1C2S-0007x9-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jul 2020 13:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1C2E-0007wk-TU for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2020 13:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1C2E-0000Sj-I1 for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2020 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1C2E-0004M4-1Q for bug-gnu-emacs@gnu.org; Thu, 30 Jul 2020 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jul 2020 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42612 X-GNU-PR-Package: emacs Original-Received: via spool by 42612-submit@debbugs.gnu.org id=B42612.159612882216666 (code B ref 42612); Thu, 30 Jul 2020 17:08:02 +0000 Original-Received: (at 42612) by debbugs.gnu.org; 30 Jul 2020 17:07:02 +0000 Original-Received: from localhost ([127.0.0.1]:36651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1C1F-0004Ke-I9 for submit@debbugs.gnu.org; Thu, 30 Jul 2020 13:07:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1C1D-0004KM-Bc for 42612@debbugs.gnu.org; Thu, 30 Jul 2020 13:07:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41745) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1C17-0000Nj-8C; Thu, 30 Jul 2020 13:06:53 -0400 Original-Received: from [176.228.60.248] (port=4496 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1C16-00060k-Ha; Thu, 30 Jul 2020 13:06:53 -0400 In-Reply-To: <87lfj10wz8.fsf@iris.silentflame.com> (message from Sean Whitton on Thu, 30 Jul 2020 09:49:15 -0700) 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" Xref: news.gmane.io gmane.emacs.bugs:183709 Archived-At: > From: Sean Whitton > Cc: 42612@debbugs.gnu.org > Date: Thu, 30 Jul 2020 09:49:15 -0700 > > In IELM you can type C-c C-b and select a buffer, and then when you eval > further sexps in *ielm*, it will be as if you used M-: with that other > buffer selected. Useful for debugging a major or minor mode. > > In Eshell the closest thing you can do is wrap your sexps in a > (with-current-buffer) form, or use (progn (set-buffer ...) ...), which > is less convenient. Eshell is a shell. What is the semantics of running a shell in a buffer? The only semantics I can think of is to run the shell in the default-directory of that buffer.