From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Fwd: M-x shell question Date: Fri, 19 Aug 2016 14:45:06 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114495163ef6c1053a6dbf6c X-Trace: blaine.gmane.org 1471617939 9973 195.159.176.226 (19 Aug 2016 14:45:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2016 14:45:39 +0000 (UTC) Cc: emacs-devel To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 16:45:35 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 1bal37-0002KS-Vl for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 16:45:34 +0200 Original-Received: from localhost ([::1]:57613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal34-0002ZI-QO for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2016 10:45:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal2v-0002XO-1w for emacs-devel@gnu.org; Fri, 19 Aug 2016 10:45:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bal2s-0004lU-Qb for emacs-devel@gnu.org; Fri, 19 Aug 2016 10:45:20 -0400 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:35345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bal2s-0004lO-Jm for emacs-devel@gnu.org; Fri, 19 Aug 2016 10:45:18 -0400 Original-Received: by mail-oi0-x22d.google.com with SMTP id 4so66310920oih.2 for ; Fri, 19 Aug 2016 07:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k73MhZyjzdOj1OzIkFASwU6vZMA5TtSQA1xceURM90w=; b=LWEUuIcDFMlRwMqaKKK+Hc1gvmWjZe0MJh8aNp+SQR6HnQnV1ehcU7oy14IXIDVCGy Z4IQ8oo4KEnTt9haZsGU9ZGR8gNEEWub/1dN3kDYg5at1mVPH558iEUhyWrouYUZ+ufj yTrsdXjM/Ba6701LIaf2xdIcXpzt18PHGCE1zSEkg17oaduFi/Ecc2qG3yUN8+H4+utF 8uJoBbd53xCsYKIDfRuHTsC7+H4oJHdc0cpSxCp9FkTNu0bOB/jxrzKLYZHRBGIQAgd/ XcDrVLR4RAm4eDsbfEUHPzVxfMcPru8BqB0p0ZPOwxmBsud38ZI8dbE3CBnA0E7gR+g4 Aykg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k73MhZyjzdOj1OzIkFASwU6vZMA5TtSQA1xceURM90w=; b=NwNKKElhbxEEi6/Te0ORibUMmr0pRVF8O/GB5OHkdohG5wt7FYq7+LvivzrK8dovtB Sj7ozTQiSObfAcVUiuPUYsGvpuYV5Q0uHvXpzmnCbvicmB1Crdzu3sK8z+l8s96Rpa5v Udj2jBtQmjwW4n7A4PuI/Rs1ngoGBZ0jEmgWAh/WKJ4Zk7XQ4T0p6YxV/bpkhU/XIprQ k1uUirOlS7m7JL+cByXmCRRnLeZWxHYVqx54BjTo5xH/QNRdIvonytU+CslPATRRuLDd l6UF8NPrYxCbaSLXxASTqJ/qRbYxDSl1uCshSXriU0Eu8mx9pYnazXS08lFSGlBhM3h4 J7YQ== X-Gm-Message-State: AEkoouspZW9NF2npOpW/29DbS9TnjITFQtVcBfAfOeT3HMBD5CcCEIP5D+6OH+HtBMgd6+MHxEHIENauYPanPw== X-Received: by 10.157.20.73 with SMTP id h67mr5234556oth.60.1471617917972; Fri, 19 Aug 2016 07:45:17 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22d 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:206673 Archived-At: --001a114495163ef6c1053a6dbf6c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Aug 19, 2016 at 10:36 AM Robert Weiner wrote: > On Fri, Aug 19, 2016 at 10:14 AM, Kaushal Modi > wrote: > >> I wrote: This could just be an alias as well if all of the other shell >>> related commands start with shell-. >>> >> >> I have "^shell" instead of just "shell", so it shows me only the command= s >> that begin with "shell". Once I have that list, I pick one and hit retur= n. >> That's it. >> > > A > =E2=80=8Bpropos accepts regular expressions as well, so you don't need co= unsel to > get similar behavior. As I said, one of the command names could start wi= th > shell-. > As I said, it's preference. I meant to emphasize this in my previous email: I prefer: *Once I have that list, I pick one and hit return. That's it.* I like the speed: http://i.imgur.com/OP1RR8c.gifv rather than: 1. M-x apropos-command (or C-h a) 2. Find the command I want after scrolling through a possible multi-page buffer 3. M-x command-I-found 4. Repeat 1-2 till I find the right command --=20 Kaushal Modi --001a114495163ef6c1053a6dbf6c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Fri, Aug 19= , 2016 at 10:36 AM Robert Weiner <rsw@gnu= .org> wrote:
On Fri, Aug 19, 201= 6 at 10:14 AM, Kaushal Modi <kaushal.modi@gmail.com> wr= ote:
I wrote: This could just be an ali= as as well if all of the other shell related commands start with shell-.

=
I have "^shell" instead of = just "shell", so it shows me only the commands that begin with &q= uot;shell". Once I have that list, I pick one and hit return. That'= ;s it.

A
=E2=80=8Bpropos accepts regular expressions as well, so you don't need= counsel to get similar behavior.=C2=A0 As I said, one of the command names= could start with shell-.
=

As I said, it's preference. I meant to emphasize th= is in my previous email:=C2=A0

I prefer:

*= Once I have that list, I pick one and hit return. That's it.*=C2=A0

I like the = speed:

rather than:

1. M-x apropos-comm= and (or C-h a)
2. Find the= command I want after scrolling through a possible multi-page buffer=
3. M-x command-I-found
4.=C2=A0Repeat 1-2 till I find the right command
--

Kaushal Modi

--001a114495163ef6c1053a6dbf6c--