unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* (urgent) need to create .html file -- newest best-way (& easy)
@ 2004-09-24 20:14 David Combs
  2004-09-25  0:18 ` Marco Parrone
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Combs @ 2004-09-24 20:14 UTC (permalink / raw)


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), 

Like, given that you *know* the various alternatives,
which one do *you* prefer, and why?  (And, where you
get it from, too.)

(Yes, I've google-grouped on this group, but not much
there since 95 or 96 (yes, some *few* since 2000,
but only very, very few).)

Thanks!

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (urgent) need to create .html file -- newest best-way (& easy)
  2004-09-24 20:14 (urgent) need to create .html file -- newest best-way (& easy) David Combs
@ 2004-09-25  0:18 ` Marco Parrone
  2004-09-25  5:07   ` David Combs
  2004-09-25  8:51 ` Gian Uberto Lauri
  2004-09-25 17:04 ` Kai Grossjohann
  2 siblings, 1 reply; 5+ messages in thread
From: Marco Parrone @ 2004-09-25  0:18 UTC (permalink / raw)


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 <http://www.nongnu.org/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 <http://www.w3.org> open in some other
    windows/frames of your browser

  - make good use of whitespace (for example, use empty lines to
    separate things like <li> 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-<
    <KEYSTROKES>
    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 <marc0@autistici.org> [0x45070AD6]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (urgent) need to create .html file -- newest best-way (& easy)
  2004-09-25  0:18 ` Marco Parrone
@ 2004-09-25  5:07   ` David Combs
  0 siblings, 0 replies; 5+ messages in thread
From: David Combs @ 2004-09-25  5:07 UTC (permalink / raw)


In article <878yazqk4y.fsf@autistici.org>,
Marco Parrone  <marc0@autistici.org> wrote:

Thanks so much for the ideas!  

Will give them a try.

Thanks,

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* (urgent) need to create .html file -- newest best-way (& easy)
  2004-09-24 20:14 (urgent) need to create .html file -- newest best-way (& easy) David Combs
  2004-09-25  0:18 ` Marco Parrone
@ 2004-09-25  8:51 ` Gian Uberto Lauri
  2004-09-25 17:04 ` Kai Grossjohann
  2 siblings, 0 replies; 5+ messages in thread
From: Gian Uberto Lauri @ 2004-09-25  8:51 UTC (permalink / raw)
  Cc: help-gnu-emacs

>>>>> "DC" == David Combs <dkcombs@panix.com> writes:

DC> Am using 21.2.1 (yes, I could upgrade, if you suggest what to)
DC> and have sudden need to create an .html-file.

DC> The 21.2.1 comes with an html-mode, seems ok -- but, just
DC> wondering, is there anything "better" out there?

You could try html-helper-mode that you can get from 

http://savannah.nongnu.org/download/baol-hth/

(get the kilo version). For plain html works fine. Some problems with
jsp/asp/php.

-- 
 /\            ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
  //--\ | | \|  |   Integralista GNUslamico e fancazzista 
\/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (urgent) need to create .html file -- newest best-way (& easy)
  2004-09-24 20:14 (urgent) need to create .html file -- newest best-way (& easy) David Combs
  2004-09-25  0:18 ` Marco Parrone
  2004-09-25  8:51 ` Gian Uberto Lauri
@ 2004-09-25 17:04 ` Kai Grossjohann
  2 siblings, 0 replies; 5+ messages in thread
From: Kai Grossjohann @ 2004-09-25 17:04 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> The 21.2.1 comes with an html-mode, seems ok -- but, just
> wondering, is there anything "better" out there?

There is psgml.  If you give it a DTD, then it can do
context-sensitive completion, and it will also automatically fill in
required elements and stuff.

There is also nxml-mode, for XML.  If you want to type XHTML instead
of HTML, then this is also a good solution.  It does on-the-fly syntax
checking so you can always see whether there is a problem.

I still have to learn more about nxml-mode so that I find out how it
can automatically fill in some tags and stuff.

Kai

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-25 17:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24 20:14 (urgent) need to create .html file -- newest best-way (& easy) David Combs
2004-09-25  0:18 ` Marco Parrone
2004-09-25  5:07   ` David Combs
2004-09-25  8:51 ` Gian Uberto Lauri
2004-09-25 17:04 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).