From: Michael Schierl <schierlm-usenet@gmx.de>
Subject: Re: helpex.el 0.2 --- useful extensions for the C-h prefix
Date: Wed, 21 Jan 2004 20:36:33 +0100 [thread overview]
Message-ID: <bumkcg$jipot$1@ID-39741.news.uni-berlin.de> (raw)
In-Reply-To: jwv7jzmim6u.fsf-monnier+gnu.emacs.sources@asado.iro.umontreal.ca
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> (defun helpex-find-library (library)
>
>Emacs-CVS has `find-library' which does the same (with completion and all).
Nice. I don't have Emacs CVS ;)
Does that break helpex in any way on Emacs-CVS or do you just don't
like having redundant code loaded?
>> (defun helpex-locate-library (library)
>> "Show the precise file name of Emacs library LIBRARY.
>> This command uses `locate-library', so see there for more
>> information. The only difference is that it uses completion when
>> called interactively."
>
>In Emacs-CVS, locate-library does completion as well.
Nicer.
Is there a good solution for the Info-goto-node "problem" as well?
(And, if not, does Info-goto-node work properly w/
partial-completion-mode now? ATM I have quite a dirty hack in my
.emacs for that problem)
IOW: If you have an info file called "foo" with a node "Bar Baz" (e.g.
"(elisp)Regular Expressions"), can you type
C-h i g (foo)Bar SPC Baz RET
while p-c-m is enabled, *without* making Emacs barf about no
completion when hitting SPC?
>I think (fboundp 'locate-file-completion) is a good way to tell whether to
>use your own code or the built-in one (I think the built-in's completion is
>slightly better because it is more complete (e.g. works when the user has
>entered /foo/bar/baz<TAB>) and it is "on-the-fly" (i.e. it only searches the
>file-system when you press TAB rather than when you call locate-library)).
Since you don't have to bind my functions to any key, it should not
make any problems to the "minority" using CVS versions, does it? Or
are the key bindings used by helpex (C-h L, C-h o) used by CVS emacs
by default as well?
BTW: If someone uses CVS, he should be able to rebind the keys to the
"origininal" functions himself...
Michael
--
"New" PGP Key! User ID: Michael Schierl <schierlm@gmx.de>
Key ID: 0x58B48CDD Size: 2048 Created: 26.03.2002
Fingerprint: 68CE B807 E315 D14B 7461 5539 C90F 7CC8
http://home.arcor.de/mschierlm/mschierlm.asc
next prev parent reply other threads:[~2004-01-21 19:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <buhb0j$hu8n8$2@ID-39741.news.uni-berlin.de>
2004-01-20 17:16 ` helpex.el 0.2 --- useful extensions for the C-h prefix Stefan Monnier
2004-01-21 19:36 ` Michael Schierl [this message]
2004-01-21 20:44 ` Stefan Monnier
2004-01-22 19:20 ` Kevin Rodgers
2004-01-26 19:43 ` Michael Schierl
2004-01-26 22:02 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bumkcg$jipot$1@ID-39741.news.uni-berlin.de' \
--to=schierlm-usenet@gmx.de \
--cc=schierlm@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.