Thanks,I put this in my .jedrc file and it works. After understanding what it does, I changed the "@" to "°", otherwise I couldn't insert a "@" in the file.
I suggest putting this functionality into the abrev.c, so that it looks only in the expanded abrev for the special character and also if one uses another delimiter than " " for the abreviation.
--On Mittwoch, November 13, 2002 13:03:12 -0500 "John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
Joachim Schmitz <js@xxxxxxxxxxxxx> wrote:define_abbrev ("xml", "hha", "<a href=\"\"></a>\010"); which inserts <a href=""></a> now I want the cursor to move inbetween the ""You will have to write a function for that. Perhaps you can write a wrapper around "self_insert_cmd" such as: define xml_insert_space () { call ("self_insert_cmd"); if (bfind ("@")) del (); } define xml_mode_hook () { local_setkey ("xml_insert_space", " "); } And use an abbrev such as: define_abbrev ("xml", "hha", "<a href=\"@\"></a>\010"); "@" may not be the best character for this. --John -------------------------- To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with the word "unsubscribe" in the message body. Need help? Email <jed-users-owner@xxxxxxxxxxx>.
Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://www.keyserver.net/en/