From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14138 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.gnus.user Subject: Re: w3m display buffer Date: Thu, 18 Nov 2010 15:10:44 -0500 Message-ID: <87mxp6l7ej.fsf@engels.HistoricalMaterialism.info> References: <87d3q3x1dp.fsf@engels.HistoricalMaterialism.info> <4b45736f-a5c7-467c-b7b4-1836a392ee5e@d8g2000yqf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291955940 9742 80.91.229.12 (10 Dec 2010 04:39:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 04:39:00 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 10 05:38:53 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQukv-0001Dt-D4 for gegu-info-gnus-english@m.gmane.org; Fri, 10 Dec 2010 05:38:53 +0100 Original-Received: from localhost ([127.0.0.1]:38956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQuku-00038l-JO for gegu-info-gnus-english@m.gmane.org; Thu, 09 Dec 2010 23:38:52 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 18 Nov 2010 14:12:14 -0600 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:eepsG1aqmotvxNMdxgowpN1b4Fk= Original-Lines: 36 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-JHb0CvvSlGxtMo5yv2KFoJdlm9xzsq/vjyonTknGwLt3SX2rrvNu+Yj7U6kCOjpYBmMKiNq7wXpmhfy!YvwhtLSb34gvM0ACbuIGPTV42sZ7RZPV69nfZXK/5/fYeas3qpk14Wksuclirv09LOnHiY3lRSc= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2845 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84972 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:28:10 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14138 Archived-At: Romero, Just realized I'm in the "gnus" group, not "gnu" emacs group. I really must move my question about emacs and w3m elsewhere. At present, in order to display a html file (I have a different emacs seesion for when I want to edit it), I do ! w3m filename.html There are two problems with this. Most of these html files have an eight or twn digit file name, and copying it is subject to error and takes a little time. Second, Sunrise-Commander appears as two panes, but beneat these panes is a scratch buffer (Lisp Interaction) mode. When I run the above command, the scratch buffer is divided into two panes, and the right one (Shell Command Output) displays the w3m rendering of the file. First, I need to get rid of the scratch buffer altogether, for I don't use it for this session of emas. Doing that might for the (Shell Command Output) to occupy the right Sunrise-Commander pane, which is fine. Also I have to figure out how to run w3m on the current html file with simply a RET, like I do with PDF. There is a browse-url.el that might help, but I don't know if it is compatible with Sunrise-Commander. Actually a third problem is that I don't see that I'm using emacs-w3m. Other than a faster loading, I don't see what it is supposed to do beyond whast the above command does. You suggest that I define the variable "browse-url-browser-function". I tried it, but could save it only for current session because I'm using a custom emacs init file. I selected "Emacs W3", although I'm not sure of its realtion to emacs-w3m or w3m. In any case, it opens the source FS, but no buffer holds the w3(m) output. Haines Brown