Message from discussion
tab completion and non-consecutive letter matching
Received: by 10.180.98.234 with SMTP id el10mr4427946wib.3.1342127109643;
Thu, 12 Jul 2012 14:05:09 -0700 (PDT)
X-BeenThere: emacs-helm@googlegroups.com
Received: by 10.180.96.67 with SMTP id dq3ls2775461wib.1.gmail; Thu, 12 Jul
2012 14:05:09 -0700 (PDT)
Received: by 10.180.106.3 with SMTP id gq3mr4431291wib.1.1342127109176;
Thu, 12 Jul 2012 14:05:09 -0700 (PDT)
Received: by 10.180.106.3 with SMTP id gq3mr4431289wib.1.1342127109167;
Thu, 12 Jul 2012 14:05:09 -0700 (PDT)
Return-Path: <thierry.volpia...@gmail.com>
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44])
by gmr-mx.google.com with ESMTPS id a5si102770wiy.0.2012.07.12.14.05.09
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 12 Jul 2012 14:05:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of thierry.volpia...@gmail.com designates 74.125.82.44 as permitted sender) client-ip=74.125.82.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of thierry.volpia...@gmail.com designates 74.125.82.44 as permitted sender) smtp.mail=thierry.volpia...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-wg0-f44.google.com with SMTP id dr13so2523098wgb.1
for <emacs-helm@googlegroups.com>; Thu, 12 Jul 2012 14:05:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=from:to:subject:references:date:in-reply-to:message-id:user-agent
:mime-version:content-type;
bh=8Gr2WwsPXwM/VphQf8U89UwgSy+Tw98kV2vLUM5b+ck=;
b=UCSjDr9c5s8Zi4lATXcXMGAiE7slO7FgBHWmHGULV/ceR1H/MJ50slGakBdHzsGt98
Iug0/obqTgzF9qxNi2OIMebOaCz8qecekupJxHMMjT3H1ztwCpdpvcnkFB4HHUcefTTx
H3TiGO3CFwc4gZZatY0U1ZILJkyE+bSjF0yl8jlbPokdQSutdEwXW4o85l7RP59TqZqD
ogrm/rtetRuMo2U3c8eQydVjfTX6EWd7QR8o8hEyGUcu4Z4EL656/zx/zxHsig8ORbrX
RMNS1uEXgRUAxbjmHI0urAWGmjMg6/04lxooxB2pbpC8VmMeaw9+kj3ZOJo0HSv6oF14
Pw5w==
Received: by 10.180.76.135 with SMTP id k7mr58862885wiw.7.1342127108962;
Thu, 12 Jul 2012 14:05:08 -0700 (PDT)
Return-Path: <thierry.volpia...@gmail.com>
Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167])
by mx.google.com with ESMTPS id h9sm900164wiz.1.2012.07.12.14.05.07
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 12 Jul 2012 14:05:08 -0700 (PDT)
From: Thierry Volpiatto <thierry.volpia...@gmail.com>
To: emacs-helm@googlegroups.com
Subject: Re: tab completion and non-consecutive letter matching
References: <27796262-cab9-4149-a5af-526fce505362@googlegroups.com>
Date: Thu, 12 Jul 2012 23:05:00 +0200
In-Reply-To: <27796262-cab9-4149-a5af-526fce505362@googlegroups.com> (rizumu's
message of "Thu, 12 Jul 2012 10:06:12 -0700 (PDT)")
Message-ID: <87hatcoflv....@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Hi Tom,
rizumu <funks...@gmail.com> writes:
> Hi,
> I have helm-mode activated in my init.el and I also have smart-tab
> installed, but I am unfamiliar with helm and unsure what the expected
> behavior should be in the following two situations.
I don't know what is smart-tab and don't know if it works with helm.
> 1. I expected that tab completion would work in helm, but when I press tab
> nothing happens and the minibuffer says:
> Sole action: action-fn
Depend which completion you want; helm handle well elisp completion, for
tab to work use:
(define-key lisp-interaction-mode-map [remap indent-for-tab-command] 'helm-lisp-completion-at-point-or-indent)
(define-key emacs-lisp-mode-map [remap indent-for-tab-command] 'helm-lisp-completion-at-point-or-indent)
first hit on TAB will indent your code, second hit (fast [1]) will
complete.
[1] You can set this delay, see `helm-lisp-completion-or-indent-delay'.
> 2. Also about matching on non-consecutive letters. For example, for helm to
> match the M-x command "org-mobile-push". I expected to be able to type
> "rgmobpu" but instead I have to type "rg-mobile-pu" to achieve the same.
Type "rg mob pu" (notice the spaces)
Which give me here two candidate:
org-mobile-pull/push
You can type also this:
"rg mob pu !sh"
Which will remove the org-mobile-push candidate.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997