From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.help Subject: Re: shell command completion gone Date: Tue, 11 Jan 2011 12:54:10 +0800 Message-ID: References: <87pqs9cive.fsf@towardsfreedom.com> <87aajbxcz0.fsf@towardsfreedom.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e65b40f616b2bf04998ae001 X-Trace: dough.gmane.org 1294721691 6738 80.91.229.12 (11 Jan 2011 04:54:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 04:54:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: prad Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 11 05:54:47 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcWFp-0000jU-O6 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 05:54:46 +0100 Original-Received: from localhost ([127.0.0.1]:56913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcWFp-0000iU-7a for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jan 2011 23:54:45 -0500 Original-Received: from [140.186.70.92] (port=48740 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcWFK-0000gM-MW for help-gnu-emacs@gnu.org; Mon, 10 Jan 2011 23:54:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcWFI-0001vW-C1 for help-gnu-emacs@gnu.org; Mon, 10 Jan 2011 23:54:14 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:56871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcWFI-0001vK-3x for help-gnu-emacs@gnu.org; Mon, 10 Jan 2011 23:54:12 -0500 Original-Received: by ewy27 with SMTP id 27so9769166ewy.0 for ; Mon, 10 Jan 2011 20:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=kH0QQ+7ioTvJU0PohdSgAmOaV/FNiXWGq1eu1LpXJ8Y=; b=XCfkNyt5+QxiG/VcA5mjiEsN2orvpd7idVMaOYt9Z3bPpVkpRBM0CX3Mtg7SZshvNn 5InbsTNhCQXZUQ9IpB0eXMAqlcOdVk4kgI5Z0vqhVpMbhYXxxaGQAEbyHPa0+z0/tuHy Hy8jeqlO80kdQBqek4hLuVvtXtgATJYR+GBbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CKv+yx82OrCWcxNkI3G4ksOIEjdbz7BtHkOIkbwA11U3SYLs9jbVA3zhhc9qfJ9r8/ 3xvcVgPYcGFu/csk10Y0G25eteZgCQ4pUlYYiQcg5lWa1+V+ni/LAEFHeE+/mKhoBdAF rat3phTEU/SFHVgdzGoSgyzE3Hps45x3TftBk= Original-Received: by 10.14.17.193 with SMTP id j41mr2429028eej.38.1294721650962; Mon, 10 Jan 2011 20:54:10 -0800 (PST) Original-Received: by 10.14.119.11 with HTTP; Mon, 10 Jan 2011 20:54:10 -0800 (PST) In-Reply-To: <87aajbxcz0.fsf@towardsfreedom.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78382 Archived-At: --0016e65b40f616b2bf04998ae001 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jan 9, 2011 at 6:11 AM, prad wrote: > certainly rusi and i appreciate your asking this since i tend to just > use it very passively being effectively a newbie. exploring the package > further gets you to really appreciate the wonderful work it really is! > Considering everything in the package, it's difficult for anyone to not use it "very passively". I'm just getting reacquainted with it myself. I think Drew's approach in designing the package was to put everything under the sun completion related in there and enable most of it by default. The advantage of this approach is people can discover features "by accident". The downside is the dramatic behavior changes can scare away people just testing the waters. Rest assured, though, *the behaviors you do not want can be disabled*. And if you notice something that could be a bug Drew is a super responsible and responsive maintainer. Here is the use-case I find useful above all else icicles offers: I want help with the function that searches regexps backwards. I know that the keywords "backward" "regex" and "search" occurs in its name, but I don't know in what order. Normally I would have to apropos several possible orders before finding the exact name. With icicles, I can just use the `* icicle-narrow-candidates*' to interactively filter the completion list, to wit: 1. fregex 2. back 3. search After each step, the completion candidates are narrowed, and whenever the list is short enough, I can pop into the completion list window and select it myself. Drew's analogy for this is shell piping into successive greps. I often find functions that I didn't know existed and are in fact better suited to my purpose by using this narrowing tool. The wiki is a great place to get more info on icicles. Drew is very active there. Researching my little example above, I just found out that the can be shortened to just . hth. -- Le --0016e65b40f616b2bf04998ae001 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sun, Jan 9, 2011 at 6:11 AM, prad <prad@towardsfreedom= .com> wrote:
certainly rusi and i appreciate your asking this since i = tend to just
use it very passively being effectively a newbie. exploring the package
further gets you to really appreciate the wonderful work it really is!
<= /blockquote>

Considering everything in the package, it&#= 39;s difficult for anyone to not use it "very passively". =A0I= 9;m just getting reacquainted with it myself. =A0I think Drew's approac= h in designing the package was to put everything under the sun completion r= elated in there and enable most of it by default. =A0The advantage of this = approach is people can discover features "by accident". =A0The do= wnside is the dramatic behavior changes can scare away people just testing = the waters.

Rest assured, though, the behaviors you do not= want can be disabled. =A0And if you notice something that could be a b= ug Drew is a super responsible and responsive maintainer.

Here is the use-case I find useful above all else icicles offers:

I want help with the fun= ction that searches regexps backwards. =A0I know that the keywords "ba= ckward" "regex" and "search" occurs in its name, b= ut I don't know in what order. =A0Normally I would have to apropos seve= ral possible orders before finding the exact name. =A0With icicles, I can j= ust use the `icicle-narrow-candidates' to interactively filter t= he completion list, to wit:

  1. <C-h>fregex<shift-tab>
  2. <= M-*>back<shift-tab>
  3. <M-*>search<shift-tab>
After each step, the completion candidates are narrowed, and whe= never the list is short enough, I can pop into the completion list window a= nd select it myself.

Drew's analogy for this is shell piping into = successive greps. =A0I often find functions that I didn't know existed = and are in fact better suited to my purpose by using this narrowing tool.

The wiki is a great place to get more info= on icicles. =A0Drew is very active there. =A0Researching my little example= above, I just found out that the <S-tab><M-*> can be shortened= to just <S-spc>.

hth.
--
Le
--0016e65b40f616b2bf04998ae001--