[Gllug] Emacs Problem

Mick Farmer mick at dcs.bbk.ac.uk
Wed Mar 24 15:15:24 UTC 2004


Dear GLLUGers,

There is an irritating problem when I use emacs for editing
mark-up documents.  For example, I bind the following to a
function key in order to emphasis text.

(define-skeleton html-em
  "HTML emphasis element"
  nil
  "<em>" _ "</em>")

This works fine if I hit the function key at the point where
I'm typing.  However, if I highlight some text and then hit
the function key, a newline is added after the "</em>". It's
not life-threatening, just annoying.

Regards,

Mick               /"\                      
                   \ /                      
Linux Registered    X  ASCII Ribbon Campaign
User #287765       / \ Against HTML Mail
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list