all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question on using emacs to write html
Date: Fri, 23 Jan 2004 10:18:34 +0100	[thread overview]
Message-ID: <16400.59114.88896.499847@mail.eng.it> (raw)
In-Reply-To: <m2brovd3cy.fsf@Stella-Blue.local>

>>>>> "TM" == Tim McNamara <timmcn@bitstream.net> writes:

TM> Jeff <jeffrey@cunningham.net> writes:
>> I've been programming so long using emacs that other key bindings
>> drive me crazy. Lately I've been writing html using emacs because
>> bluefish uses the Microsoft bindings. Is there a way to bind keys
>> to the insertion of common toggle pairs, like <center></center>,
>> <table></table>, <td></td>, <a href=""></a>, and so on? Is there a
>> way to have this work only in an 'html mode'?

TM> Try "html-helper-mode" which works like a charm.  It has a menu
TM> (with associated key bindings) for most tags and such.  You can
TM> even select a string and html-helper-mode will place the opening
TM> and closing tags in their proper places.  Trick!

When it works well it's all Nelson Minar's credit!

TM> The only trouble I've had- and it's *really* minor- is that it
TM> spends a bit of time fontifying files, not much of a problem
TM> except on big files.  html-helper-mode colors tags and text very
TM> nicely and it's easy to see the structure of the document.  I
TM> haven't tried it with jit-lock or lazy-lock, which might speed up
TM> that fontifying.

Hmmm... Calling it *really* minor  is a BIG kindness. I still consider
html-helper-mode a  kluge (RMS kindly  said that some things  could be
done in an easier way...)

Anyway,  the  latest released  version  is  available  (should be)  at
http://www.nongnu.org/baol-hth/index.html while the  project url is at
https://savannah.nongnu.org/projects/baol-hth/

(baol is the logname I use when saint is not available)

WARNING!

Under Emacs  21 html-helper-mode is  known to hang Emacs  with certain
(JSP/ASP/PHP) files.

Consider server-side code fontification as "broken" under Emacs 21 and
this trouble could happen with  multiline blocks. I fear that the code
is too slow to finish the job before the jit starts it again.

Disabling JIT could be an UGLY workaround.

Work is  in progress to fix  it, actually the CVS  version on savannah
works  except some  features (like  tag  attributes -  namely all  the
font-lock-keywords stuff) are lost and doesn't highlight the last tag.

My apologies.

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

  parent reply	other threads:[~2004-01-23  9:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 21:14 Question on using emacs to write html Jeff
2004-01-22 21:57 ` Kevin Rodgers
2004-01-22 22:29 ` Tim McNamara
2004-01-23  5:58   ` Jeff
2004-01-23  9:18   ` Gian Uberto Lauri [this message]
2004-01-23  6:46 ` Jeff
2004-01-23  7:08   ` Jeff
2004-01-23 11:44     ` Oliver Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16400.59114.88896.499847@mail.eng.it \
    --to=gianuberto.lauri@eng.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=saint@eng.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.