emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: M-x shell question


From: Kaushal Modi
Subject: Re: Fwd: M-x shell question
Date: Fri, 19 Aug 2016 14:14:33 +0000



On Fri, Aug 19, 2016 at 9:22 AM Robert Weiner <address@hidden> wrote:
On Fri, Aug 19, 2016 at 1:49 AM, Kaushal Modi <address@hidden> wrote:
But if the command is 'cd-shell', that reduces the discoverability

​Just use {M-x apropos RET} which will find either 'cd' or 'shell​'.  There is no need to use add-on packages for this.  Many Emacs command names still use a verb-noun ordering rather than a prefix-verb ordering, so in that sense, cd-shell works fine.  This could just be an alias as well if all of the other shell related commands start with shell-.

It all boils down to your workflow .. Instead of doing M-x apropos or M-x apropos-command and go through 10's or 100's of results, I prefer using counsel-M-x from the counsel package. Below shows me all commands that begin with 'shell'. Note that I intentionally use regexp here.. I have "^shell" instead of just "shell", so it shows me only the commands that begin with "shell". Once I have that list, I pick one and hit return. That's it.

pasted1
--

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]