unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: rswgnu@gmail.com, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Fwd: M-x shell question
Date: Fri, 19 Aug 2016 14:14:33 +0000	[thread overview]
Message-ID: <CAFyQvY0gdGrWhEXSCBG=q1Mzj7CCVSKDXUxH-N-sYAfvhUfkNQ@mail.gmail.com> (raw)
In-Reply-To: <CA+OMD9iEzf0-=2mL3EXVOXk4nNyoar+RVsWmNAyYDbpCF83McA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1097 bytes --]

On Fri, Aug 19, 2016 at 9:22 AM Robert Weiner <rsw@gnu.org> wrote:

> On Fri, Aug 19, 2016 at 1:49 AM, Kaushal Modi <kaushal.modi@gmail.com>
> 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.

[image: pasted1]
-- 

Kaushal Modi

[-- Attachment #1.2: Type: text/html, Size: 2017 bytes --]

[-- Attachment #2: pasted1 --]
[-- Type: image/png, Size: 36273 bytes --]

  reply	other threads:[~2016-08-19 14:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 17:45 M-x shell question Richard Stallman
2016-08-17 18:09 ` raman
2016-08-17 19:04   ` Uwe Brauer
2016-08-17 21:13     ` raman
2016-08-18 14:07   ` Richard Stallman
2016-08-18 14:13     ` Fwd: " Kaushal Modi
2016-08-19  5:29       ` Richard Stallman
2016-08-19  5:49         ` Kaushal Modi
2016-08-19  7:18           ` Eli Zaretskii
2016-08-19 13:21           ` Robert Weiner
2016-08-19 14:14             ` Kaushal Modi [this message]
2016-08-19 14:35               ` Robert Weiner
2016-08-19 14:45                 ` Kaushal Modi
2016-08-19  7:16         ` Eli Zaretskii
2016-08-18 14:22     ` Oleh Krehel
2016-08-18 15:11     ` Andreas Schwab
2016-08-19  2:53       ` Tino Calancha
2016-08-18 15:27     ` raman
2016-08-17 19:12 ` Robert Weiner
2016-08-17 20:24 ` Andreas Schwab
2016-08-18  3:51   ` Roland Winkler
2016-08-18 14:06   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY0gdGrWhEXSCBG=q1Mzj7CCVSKDXUxH-N-sYAfvhUfkNQ@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).