From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: M-x shell question Date: Wed, 17 Aug 2016 22:24:27 +0200 Message-ID: <877fbfuosk.fsf@linux-m68k.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471465529 3593 195.159.176.226 (17 Aug 2016 20:25:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2016 20:25:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 17 22:25:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba7Op-0000O3-93 for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2016 22:25:19 +0200 Original-Received: from localhost ([::1]:49411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba7Om-0006fQ-Fp for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2016 16:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba7O8-0006f9-0B for emacs-devel@gnu.org; Wed, 17 Aug 2016 16:24:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba7O2-00072X-Oh for emacs-devel@gnu.org; Wed, 17 Aug 2016 16:24:34 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:42014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba7O2-00071N-Hp; Wed, 17 Aug 2016 16:24:30 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3sF10r2yfCz3hjKf; Wed, 17 Aug 2016 22:24:28 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3sF10r2NQYzvkJK; Wed, 17 Aug 2016 22:24:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id cK_RW9XRiSJy; Wed, 17 Aug 2016 22:24:27 +0200 (CEST) X-Auth-Info: p1S2jdAh9rslAOUjCxVr66H+h+aNoI26mH/wuQ2PemflpDYMQYGwF6XiFi0G1blM Original-Received: from igel.home (ppp-88-217-1-119.dynamic.mnet-online.de [88.217.1.119]) by mail.mnet-online.de (Postfix) with ESMTPA; Wed, 17 Aug 2016 22:24:27 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 11C1E2C370D; Wed, 17 Aug 2016 22:24:27 +0200 (CEST) X-Yow: .. I feel.. JUGULAR.. In-Reply-To: (Richard Stallman's message of "Wed, 17 Aug 2016 13:45:15 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206639 Archived-At: On Aug 17 2016, Richard Stallman wrote: > I'm thinking that M-x shell should cd the subshell > to the current directory of the buffer you're in > when you type M-x shell. I often want to do that. Emacs doesn't know what the shell is currently running, sending a cd command may not do what you want. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."