From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Parrone Newsgroups: gmane.emacs.help Subject: Re: (urgent) need to create .html file -- newest best-way (& easy) Date: Sat, 25 Sep 2004 00:18:00 GMT Organization: none Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yazqk4y.fsf@autistici.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096073652 7982 80.91.229.6 (25 Sep 2004 00:54:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2004 00:54:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 25 02:54:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CB0p7-0004kC-00 for ; Sat, 25 Sep 2004 02:54:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CB0vD-0003DV-8q for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Sep 2004 21:00:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Language: en X-Accept-Language: it, en X-Country: Italy X-Attribution: Marco X-Face: ]KIe+0@lNbQo2y\ey;]!*LKsR-0$V737yt[BnA*)c,)gu>IH>S}:"PPNWkV<}[ usLa_gJyB!BRUEC!~5OY;:`k1Tcv2g2<0|,'RI}ZhnPpaXC.,L^y?}R&FfrRiLE*b+AE, JY/a! `/ZN{E`NgLO_QV#s`!,#M%ppv@mcIb`K^/1``d^=o"AvteN1nNFyzU 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:20876 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20876 David Combs on 24 Sep 2004 16:14:52 -0400 writes: > Am using 21.2.1 (yes, I could upgrade, if you suggest what to) > and have sudden need to create an .html-file. > > The 21.2.1 comes with an html-mode, seems ok -- but, just > wondering, is there anything "better" out there? > > ie newer, more bells & lwhistles, or maybe (unlikely!) requiring > less html-tagging (ie by you typing in, in a prescribed > format, and it figuring out what's a list, a paragraph, > etc), There is BHL . > Like, given that you *know* the various alternatives, > which one do *you* prefer, and why? (And, where you > get it from, too.) I prefer HTML for writing HTML pages, because I have as much control as possible on the generated HTML output (as I'm writing it). Some suggestions: - when you have written the first page, you can use it as template - keep your page open in some window/frame of your browser, reloading it when needed - keep the references open in some other windows/frames of your browser - make good use of whitespace (for example, use empty lines to separate things like
  • elements in lists, and put long links in separate lines). - emacs keyboard macros are very useful: I use them to do repetitive commands, on multiple files too, for example when I want to do an operation on all the html files in the current directory, I do C-x d RET F2 C-s html RET RET M-< C-x C-s C-x d RET F3 F4 then I hit F4 some times. I have: (global-set-key [f2] 'start-kbd-macro) (global-set-key [f3] 'end-kbd-macro) (global-set-key [f4] 'call-last-kbd-macro) in my `.emacs'. This is even more useful when your HTML files have a coherent structure (for example, you can assume many more things in your keyboard macros). However, naturally all this is IMHO. -- Marco Parrone [0x45070AD6]