From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.help Subject: Re: helpex.el 0.2 --- useful extensions for the C-h prefix Date: Wed, 21 Jan 2004 20:36:33 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: schierlm@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074714462 6759 80.91.224.253 (21 Jan 2004 19:47:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2004 19:47:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 20:47:37 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjOK8-0003Mx-00 for ; Wed, 21 Jan 2004 20:47:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AjOJJ-0007tL-Jg for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2004 14:46:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!ags9-d9ba53c1.pool.mediaways.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-NNTP-Posting-Host: ags9-d9ba53c1.pool.mediaways.net (217.186.83.193) Original-X-Trace: news.uni-berlin.de 1074713809 20539165 217.186.83.193 ([39741]) X-Newsreader: Forte Agent 1.93/32.576 English (American) Original-Xref: shelby.stanford.edu gnu.emacs.help:120309 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:16253 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16253 Stefan Monnier 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) 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 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