From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Open a info file manually Date: Mon, 16 Nov 2009 01:41:56 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <4AF7CD4D.1040102@163.com> <20091111152643.GA31203@tomas> <071D6857-28D7-48DF-9544-707D12C329EB@Web.DE> <878we7cyxn.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258332214 12476 80.91.229.12 (16 Nov 2009 00:43:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 00:43:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 16 01:43:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N9pgk-0003mL-SQ for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Nov 2009 01:43:27 +0100 Original-Received: from localhost ([127.0.0.1]:37290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9pgk-0001Ge-EC for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Nov 2009 19:43:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9pfr-00011f-08 for help-gnu-emacs@gnu.org; Sun, 15 Nov 2009 19:42:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9pfl-0000zW-OJ for help-gnu-emacs@gnu.org; Sun, 15 Nov 2009 19:42:30 -0500 Original-Received: from [199.232.76.173] (port=41726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9pfl-0000zR-LC for help-gnu-emacs@gnu.org; Sun, 15 Nov 2009 19:42:25 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:57389) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N9pfl-0000AE-3e for help-gnu-emacs@gnu.org; Sun, 15 Nov 2009 19:42:25 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1N9pfh-0003Ss-Oh for help-gnu-emacs@gnu.org; Mon, 16 Nov 2009 01:42:21 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Nov 2009 01:42:21 +0100 Original-Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Nov 2009 01:42:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 78 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69767 Archived-At: Sean Sieger writes: > Peter Dyballa writes: > > Am 11.11.2009 um 16:26 schrieb tomas: > > > Hm. I don't quite understand what you want to do. Are you looking > > for a > > Lisp function to load an info file? Are you trying to load an info > > file > > given its path (as opposed to given an index entry)? > > I started to think of a function that is like C-h i and does not look > up local information but googles for it. Therefore this function > would be bound to C-u C-h i... > > W3m could be something, but it is more like a general solution to > access the internet. Maybe a package like those which look up in a > thesaurus words with the same meaning or which translate a word can > be a start. http://www.emacswiki.org/cgi-bin/wiki/mthesaur.el ? At > least Emacs wiki could be a start to search for more. > > Let's wait for some possible feedback! > > I often wished that along with the all-important M-$, that I could look > up a word in the Random House Unabridged Dictionary (used by > Dictionary.com), it's really a fine way to look up the etymologies and > American English pronunciations of words. > > Along with `backing out of' GNU/Emacs with C-u C-h i, I was thinking of > the possibility of backing out of our incredible editor with C-u M-$ (or > maybe a more appropriate binding than a spelling-related one) to get to > a resource like Dictionary.com. > > And now I can! Thanks for the prompting, Pete! > > I googled `emacswiki dictionary' and there it was: > > http://www.emacswiki.org/emacs/DictionaryDotCom > > I know this comes unsolicited but, my three favorite tools on this > planet are my Bianchi Pista, the Klein Haven Wire Rope Grip (I was an > inverted CM chain hoist rigger for a lot of years) and the GNU/Emacs > text editor. AND IT JUST GOT EVEN BETTER. > > I installed w3m (on Ubuntu 9.10), got emacs-w3m from CVS and put the > code from emacswiki in my dotemacs: > > ;;; w3m > (require 'w3m-load) > ;; dictionary > (global-set-key (kbd "C-c d") > (lambda () > (interactive) > (w3m-goto-url > (format "http://dictionary.reference.com/browse/%s" > (read-string "Search word: " (current-word)))))) > > Right?! No C-, M-f, M-w, no nothing, just C-c d! Anywhere! > > My one question is rooted in installing CVS emacs-w3m: was I really > really wrong doing sudo with each build command (autoconf, ./configure, > make and make install)? It was the only way I could come up with to run > the commands successfully. > > And did I mention how much more attrative Dictionary.com is in emacs-w3m > / GNU/Emacs 23.1.50 / Xterm than in Firefox?? Holy Moly! [... just did > C-c d on `moly'---it's an Hermetic herb, and this has been a truly > Hermetic theft, thanks for letting me steal from you!!] > > Anyway ... yahoo! Hi Sean. You might also consider the excellent dictem package. A lot faster than using w3m. My set can be found here:- http://tinyurl.com/ygbej87