From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: How to fetch a URL to an Emacs buffer? Date: Sun, 11 Mar 2007 17:00:55 +0100 Organization: disorganized Message-ID: <87r6rvixc8.fsf@localhorst.mine.nu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173629345 29642 80.91.229.12 (11 Mar 2007 16:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2007 16:09:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 17:08:59 2007 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 1HQQbS-0002Sx-4Y for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2007 17:08:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQQc0-00031q-E8 for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2007 11:09:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQQbl-00031j-0z for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 12:09:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQQbi-00031X-K5 for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 12:09:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQQbi-00031U-ER for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 11:09:14 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HQQb9-0006H0-39 for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 12:08:39 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQQax-0007Tj-QS for help-gnu-emacs@gnu.org; Sun, 11 Mar 2007 17:08:28 +0100 Original-Received: from e178023165.adsl.alicedsl.de ([85.178.23.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Mar 2007 17:08:27 +0100 Original-Received: from david.hansen by e178023165.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Mar 2007 17:08:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178023165.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:FzUUWEfVKf7nqEyi12L5CNCSOZQ= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:41884 Archived-At: On Sun, 11 Mar 2007 14:40:10 +0000 (UTC) kj wrote: > Is there an Emacs command that would load a given URL into an Emacs > buffer? > > Normally I would 1) switch to a browser; 2) visit the desired URL; > 3) use the browser's "Save as..." command to save the URL's content; > 4) switch back to Emacs; and 5) open the downloaded file, but this > but this song-and-dance can get cumbersome after a while. Make Emacs your browser :) http://emacs-w3m.namazu.org/ If you want to do it from lisp there's the url.el package that is part of Emacs 22, there's always the quick and dirty solution with a shell and wget. David