[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quickly finding out a function or a variable you need?
From: |
Stefan Monnier |
Subject: |
Re: Quickly finding out a function or a variable you need? |
Date: |
Wed, 08 Dec 2010 15:23:48 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> while writing Emacs Lisp code, I often use `describe-function' and
> `describe-variable' to search for functions and variables related to
> the task at hand.
> This commands, however - unlike `apropos' - require you to know the
> first characters. This means you'll have an hard time, for instance,
> finding `kill-buffer' when looking for functions which operate on
> buffers.
While these are clearly not the end-all-be-all of documentation, the
particular problem above is somewhat addressed in Emacs-23 by the new
completion facility where * is understand as a glob-character. I.e.
C-h f *buffer TAB will list all functions that contain "buffer" in
their name. Sadly, these are probably too many if you're looking for
kill-buffer.
Stefan