From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Icicles [was: shell command completion gone] Date: Fri, 21 Jan 2011 07:33:02 -0800 Message-ID: References: <87pqs9cive.fsf@towardsfreedom.com><87aajbxcz0.fsf@towardsfreedom.com><9df7037c-e4d3-4a1b-9fcf-f130853de421@a10g2000vby.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295625387 4955 80.91.229.12 (21 Jan 2011 15:56:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 15:56:27 +0000 (UTC) To: "'rusi'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 21 16:56:22 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 1PgJLZ-0005nF-3x for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 16:56:21 +0100 Original-Received: from localhost ([127.0.0.1]:48289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgJ0M-000745-JZ for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 10:34:26 -0500 Original-Received: from [140.186.70.92] (port=45054 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgIzo-0006k3-Mz for help-gnu-emacs@gnu.org; Fri, 21 Jan 2011 10:34:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgIz9-00006o-Mx for help-gnu-emacs@gnu.org; Fri, 21 Jan 2011 10:33:12 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:49073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgIz9-00006i-Eu for help-gnu-emacs@gnu.org; Fri, 21 Jan 2011 10:33:11 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p0LFX6rf022643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Jan 2011 15:33:07 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p0LEisAf021082; Fri, 21 Jan 2011 15:33:05 GMT Original-Received: from abhmt006.oracle.com by acsmt355.oracle.com with ESMTP id 981535891295623984; Fri, 21 Jan 2011 07:33:04 -0800 Original-Received: from dradamslap1 (/10.159.218.181) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 21 Jan 2011 07:33:04 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: Acu5JYBw8s+v9EhPR3ihJ6E5po8kmwAVYCdg 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:78650 Archived-At: > vanilla gives history icicles gives all possible completions > Trying to answer my own question: You didn't ask a question. ;-) > Does (setq icicle-default-cycling-mode 'history) > do what I want? Dunno. What do you want? > [Well it seems to as far as I can tell. Just dunno > about odd/corner cases] If you want up/down to _always_ cycle the history, then customize these options accordingly: `icicle-modal-cycle-up-keys', `icicle-modal-cycle-down-keys'. Replace `up' and `down' in the key lists with keys of your choice. (If you do that, you might also want to change the similar options for keys that cycle per-mode actions, alternate actions, and help, `C-down', `C-S-down', `C-M-down', etc. for consistency.) Option `icicle-default-cycling-mode' determines only the _default_ cycling mode: the mode in effect if you do not specify the mode (i.e., before you specify it), by hitting `TAB' (for prefix completion) or `S-TAB' (for apropos completion). This option has no effect once you have specified the current cycling mode. If you leave the default bindings for `icicle-modal-cycle-(up|down)-keys' as `up' and `down', those two keys reflect the current completion mode. They do not cycle history once you have specified the current completion mode explicitly (`TAB' or `S-TAB'). E.g., if you type `foo TAB', then `up' and `down' perform prefix-mode cycling, not history cycling, regardless of the value of `icicle-default-cycling-mode'. It is only before you hit either `TAB' or `S-TAB' that a default setting of `icicle-default-cycling-mode' other than `prefix', `apropos', and `nil' cycles the history. ,---- | icicle-default-cycling-mode is a variable defined in `icicles-opt.el'. | Its value is prefix | | Documentation: | *Default completion mode for per-mode cycling. | When you hit a completion key (`TAB' or `S-TAB'), it sets the current | completion mode (prefix or apropos, respectively). That determines | the kind of completion to be used by the per-mode cycling keys. | | This option controls which completion mode to use if you cycle using a | per-mode key (e.g. `down') *before* hitting a completion key. | | - `prefix' means cycle prefix completions | - `apropos' means cycle apropos completions | - Any other non-nil value means cycle inputs from the input history | - nil means do not cycle - you must first hit a completion key | | The per-mode cycling keys are the values of | `icicle-modal-cycle-up-keys' (backward) and | `icicle-modal-cycle-down-keys' (forward). By default, these are keys | `up' and `down' as well as the mouse wheel. | | For example, if the value is `prefix' (the default) then you can | immediately cycle prefix completions using `up', `down', or the mouse | wheel, without first hitting `TAB'. | | Once you have used `TAB' or `S-TAB', the only way to traverse the | history is using `M-p' and `M-n' (they always traverse the history). | | This option affects only cycling with the per-mode keys. You can | always use the mode-specific cycling keys instead to cycle according | to a particular mode. The mode-specific keys are (by default): | | - `end' and `home' for prefix completion | - `next' and `prior' for apropos completion | | (By default there is no conflict between the cycling keys that are | mode-specific and those that are per-mode. But if you customize them | in such a way that you set a key to both, the mode-specific use takes | priority.) | | After you change the value of this option, toggle Icicle mode off, | then on again, for the change to take effect in the same session. | | You can customize this variable. `----