From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: How to get a list of all commands with given prefix? Date: Wed, 19 Mar 2014 07:59:54 +0000 Message-ID: <87ob12mxet.fsf@bennee.com> References: <87lhw7mlrg.fsf@gmail.com> <87k3br1ifz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1395216013 5466 80.91.229.3 (19 Mar 2014 08:00:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 08:00:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Thorsten Jolitz To: Jambunathan K Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 09:00:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQBQE-0003mj-37 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2014 09:00:22 +0100 Original-Received: from localhost ([::1]:39086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQBQD-0004Xp-Ob for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2014 04:00:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQBPh-0004GK-FI for help-gnu-emacs@gnu.org; Wed, 19 Mar 2014 03:59:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQBPb-0000cB-Gq for help-gnu-emacs@gnu.org; Wed, 19 Mar 2014 03:59:49 -0400 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:57597 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQBPb-0000c4-AW for help-gnu-emacs@gnu.org; Wed, 19 Mar 2014 03:59:43 -0400 Original-Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1WQBPt-00028l-6w; Wed, 19 Mar 2014 09:00:01 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.13 In-reply-to: <87k3br1ifz.fsf@gmail.com> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96611 Archived-At: Jambunathan K writes: > Thorsten Jolitz writes: > >> I wonder how I can easily get a list of all interactive commands with a >> given prefix 'foo-' in a program (non-interactively)? > > If you are adventurous you can use the completion mechanism to give the > shortlisted candidates for you. You have to fill in the holes yourself. > > If you are having very recent Emacs, experiment with > > M-x icomplete-mode > There is also a useful helm completion mode called helm-descbinds which I often use to find both interactive commands bound to keys in given modes. There is also helm-apropos for more general searching through defined functions and variables. -- Alex Bennée