all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: rms@gnu.org
Cc: raman@google.com, emacs-devel@gnu.org
Subject: Re: Fwd: M-x shell question
Date: Fri, 19 Aug 2016 05:49:15 +0000	[thread overview]
Message-ID: <CAFyQvY3_vHC27QOcs3zAofxoBTnEWZi=VvB2n=60qPFbgRfTvw@mail.gmail.com> (raw)
In-Reply-To: <E1bacNB-0006My-O9@fencepost.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

On Fri, Aug 19, 2016 at 1:29 AM Richard Stallman <rms@gnu.org> wrote:

> That name is logical, but inconvenient: you have to type s h e SPC SPC c d.
>
> 'shell-this-directory' is almost as inconvenient: s h e SPC SPC t.
>

I believe that keeping package name as first part of the command improves
discoverability. If I were to look into what all commands are available
related to 'shell', I can easily come across 'shell-cd' or 'shell-foo'
 with packages like ido or counsel or helm and start using it. But if the
command is 'cd-shell', that reduces the discoverability (unless you have
the fuzzy search enabled in packages like ido).

I would just bind 'shell-cd' to a binding (like "C-c d s" maybe? :) ), if I
find myself using it very often. But naming it 'cd-shell' just so that it
comes up with lesser chars to type for guessing the right command doesn't
seem like a permanent solution to access that command quickly. What if
tomorrow we have more commands starting with 'cds'? Again, having
'cd-shell' show up as the best match for 'c d s' is very subjective. It is
very useful to people using 'cd-shell' or 'shell-cd' regularly, but
probably not to others.

What do you think?
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1728 bytes --]

  reply	other threads:[~2016-08-19  5:49 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 [this message]
2016-08-19  7:18           ` Eli Zaretskii
2016-08-19 13:21           ` Robert Weiner
2016-08-19 14:14             ` Kaushal Modi
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

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

  git send-email \
    --in-reply-to='CAFyQvY3_vHC27QOcs3zAofxoBTnEWZi=VvB2n=60qPFbgRfTvw@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    --cc=rms@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.