From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Forrest Y. Yu" Newsgroups: gmane.emacs.help Subject: Re: How to preview HTML inside emacs? Date: Fri, 11 Jan 2008 00:49:37 +0800 Message-ID: References: <87myrerti7.fsf@dell.linuxdev.us.dell.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1856943271==" X-Trace: ger.gmane.org 1199983805 18945 80.91.229.12 (10 Jan 2008 16:50:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 16:50:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Thierry Volpiatto" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 10 17:50:27 2008 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 1JD0bo-0000Xz-B5 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2008 17:50:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD0bQ-000274-SL for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2008 11:50:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JD0b8-00026O-Vu for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 11:49:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JD0b5-000252-C6 for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 11:49:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD0b5-00024z-6x for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 11:49:39 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.243]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JD0b4-0004kJ-P4 for help-gnu-emacs@gnu.org; Thu, 10 Jan 2008 11:49:39 -0500 Original-Received: by an-out-0708.google.com with SMTP id c25so149684ana.84 for ; Thu, 10 Jan 2008 08:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=+CyOLoyhsRlJ9JybwvQNU3ZGpbAlci417opk7GBf9qI=; b=YjzhBaKLniNokrqvBXj671udLTry2FWl6pp6SJsKnK2ySToEijPfh8G2S2MgQ70HfgwlXhQzaUPkG7etE7D5jXa9qURaUBDI7byVAISQp+27Pd0ZeZU7wWoVXN5f8uBtatwujVr74GTRUGXXJzYcF1srHyog5C+RdERoH+73/n8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gf3M09WjfxN5WjmzgzC1MwBCpOLNmmE6iXdD9IWSADu0lZ5DFivI63E/1ltnA1NrRsyiO9vU1iLpEKlgMZHX2HqYDqxswxCLg2oL7V7WLdSiRwf8MpU0AtTqrdJh57LP9TGQCSpyMz6jOQy3nffwm2xsoznPW89cQsZ1JQcHdgo= Original-Received: by 10.100.135.16 with SMTP id i16mr4573856and.51.1199983777529; Thu, 10 Jan 2008 08:49:37 -0800 (PST) Original-Received: by 10.100.135.11 with HTTP; Thu, 10 Jan 2008 08:49:37 -0800 (PST) In-Reply-To: <87myrerti7.fsf@dell.linuxdev.us.dell.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:50630 Archived-At: --===============1856943271== Content-Type: multipart/alternative; boundary="----=_Part_26895_21881166.1199983777526" ------=_Part_26895_21881166.1199983777526 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 10, 2008 4:10 PM, Thierry Volpiatto wrote: > > "Forrest Y. Yu" writes: > > > hi Everyone, > > > > I'm using emacs to edit HTML files, can I preview them inside the emacs > > without opening any external browser? > > > > `C-c C-v' is not good for me, 'coz it brings a firefox window in X and > > doesn't work in console. > > I use that and it's work fine: I'm sorry but, how can I make use of it? I added these two lines into my ~/.emacs: (require 'extview) (push '("\\.html$" . "w3m %s") extview-application-associations) then I press `C-c C-v' when editing a html file, it still brings a firefox window! > > http://www.emacswiki.org/cgi-bin/wiki/extview.el > -- > A+ Thierry > Pub key: http://pgp.mit.edu > -- Stupid is as stupid does. ------=_Part_26895_21881166.1199983777526 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Jan 10, 2008 4:10 PM, Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:
>
> "Forrest Y. Yu" < forrest.yu@gmail.com> writes:
>
> > hi Everyone,
> >
> > I'm using emacs to edit HTML files, can I preview them inside the emacs
> > without opening any external browser?
> >
> > `C-c C-v' is not good for me, 'coz it brings a firefox window in X and
> > doesn't work in console.
>
> I use that and it's work fine:

I'm sorry but, how can I make use of it?
I added these two lines into my ~/.emacs:
(require 'extview)
(push '("\\.html$" . "w3m %s") extview-application-associations)

then I press `C-c C-v' when editing a html file, it still brings a firefox window!

>
> http://www.emacswiki.org/cgi-bin/wiki/extview.el
> --
> A+ Thierry
> Pub key: http://pgp.mit.edu
>



--
Stupid is as stupid does. ------=_Part_26895_21881166.1199983777526-- --===============1856943271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1856943271==--