From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: prad Newsgroups: gmane.emacs.help Subject: Re: shell command completion gone Date: Sat, 08 Jan 2011 14:11:31 -0800 Message-ID: <87aajbxcz0.fsf@towardsfreedom.com> References: <87pqs9cive.fsf@towardsfreedom.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1294524736 16847 80.91.229.12 (8 Jan 2011 22:12:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2011 22:12:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 08 23:12:13 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 1Pbh18-0006Gb-19 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jan 2011 23:12:10 +0100 Original-Received: from localhost ([127.0.0.1]:48627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbh17-0005je-Dx for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jan 2011 17:12:09 -0500 Original-Received: from [140.186.70.92] (port=40228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbh0j-0005jV-Il for help-gnu-emacs@gnu.org; Sat, 08 Jan 2011 17:11:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pbh0i-0006Ik-E0 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2011 17:11:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:52333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pbh0h-0006IC-W8 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2011 17:11:44 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pbh0f-00062D-Kj for help-gnu-emacs@gnu.org; Sat, 08 Jan 2011 23:11:41 +0100 Original-Received: from 70.67.160.177 ([70.67.160.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2011 23:11:41 +0100 Original-Received: from prad by 70.67.160.177 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2011 23:11:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 78 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 70.67.160.177 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:NkHKZdYbVrtG0OpPQ1GiJ3lV0co= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:78313 Archived-At: rusi writes: > Hi Prad. > Do you think you could spell out some (say 5-10) typical use-cases of > icicles? > Reason I ask: Ive tried a couple of times to use icicles but could not > get into it > 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! * ideas on icicles these are just some basic explorations of what you can do with drew adam's enormously helpful icicles package. ** cycling completions ref: http://www.emacswiki.org/emacs/Icicles_-_Cycling_Completions use , keys to cycle through all possibilities in minibuffer use to cycle as well and see possibilities in a separate buffer too ex: C-x C-f and use those keys to cycle through available files ex: C-h C-i m and cycles through topics in info ex: C-x b and cycle through your buffer choices ex: C-h v, type gnu and cycle through all variable which begin with "gnu" ** apropos completion via regexp ref: http://www.emacswiki.org/emacs/Icicles_-_Apropos_Completions use , for matching regexp anywhere (instead of just prefix as with gnu ex above) use S- to see all items which have regexp in them in separate buffer ex: M-x line and use those keys to cycle through all commands which has "line" ex: M-x tran.*line and use those keys to find "transpose-lines" right away ex: M-x line S- to see all commands which have "line" in them ex: C-x b at and use those keys to cycle through all buffers with "at" in them ** input history completion if you want to see what you have actually done yourself instead of what is available, just use M-n, M-p which let you traverse your own input history ex: visit some buffers then C-x b and M-n, M-p will show you where you have been ** progressive completion ref: http://www.emacswiki.org/emacs/Icicles_-_Progressive_Completion analogous to sequential piping, this let's you narrow a search through repeated internal matching using S- (or S- and repeated M-*) ex: say you can't quite remember that the gnus-save-article-folder command or may be it's gnus-save-folder-article or something with "save" and "folder" anyway. so type C-h f gnus S- then S- save then S- folder and this way you'll keep narrowing your search without having to worry about the order of the components. how's that for starters? my uses are presently limited to command, help, buffer and file issues but i'm wondering if i can make better use of it for ordinary text completions too - sort of as a non-verbal speech recognition mechanism. i think company.el may facilitate this idea, but i haven't explored it yet. -- in friendship, prad