From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: M-x shell question Date: Thu, 18 Aug 2016 10:07:32 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1471529280 26683 195.159.176.226 (18 Aug 2016 14:08:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2016 14:08:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 18 16:07:56 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 1baNz9-0006ex-6x for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2016 16:07:55 +0200 Original-Received: from localhost ([::1]:52886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNz6-0002a0-9S for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2016 10:07:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNyu-0002YS-9n for emacs-devel@gnu.org; Thu, 18 Aug 2016 10:07:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baNyt-0008RO-DJ for emacs-devel@gnu.org; Thu, 18 Aug 2016 10:07:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baNyo-0008Pk-60; Thu, 18 Aug 2016 10:07:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1baNym-0001Cg-C9; Thu, 18 Aug 2016 10:07:32 -0400 In-reply-to: (message from raman on Wed, 17 Aug 2016 11:09:17 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:206644 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Your function seems to do basically what I want (I think cd is better than pushd for this). I've put it in my .emacs, but I think it should be a standard feature -- perhaps as M-x cdshell. Does anyone disagree? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.