Following the convention of keeping the package name as the first part of the command name, may be the command should be named 'shell-cd'? ---------- Forwarded message --------- From: Richard Stallman Date: Thu, Aug 18, 2016 at 10:07 AM Subject: Re: M-x shell question To: raman Cc: [[[ 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? -- Kaushal Modi