Phillip Lord <[EMAIL PROTECTED]> writes: >>>>>> "Michael" == Michael Olson <[EMAIL PROTECTED]> writes: > > >> It would be good to know how you do this, though. I have a couple > >> of tags that I have implemented that I use a lot (mostly they > >> just set up span's or div's in HTML). I'd love to be able to nest > >> <example> tags inside this. > > Michael> I should have written "self-nestable" in my announcement, > Michael> because that better portrays the issue. Muse already has > Michael> support for nested tags, as long as they don't set their > Michael> entire contents read-only. So if you want a tag to be > Michael> parsed, just make sure it does not get marked read-only by > Michael> an outermost tag. > Michael> BTW, I've added some documentation to muse-goto-tag-end, so > Michael> it should be easier to understand now. > > Okay, I'll take a closer look. I've tried to (non-self) nest my own > tags but it hasn't worked. I just assumed you couldn't do > it. Probably by dodgy code.
Oh, I almost forgot: your function also needs to place the point before any other tags you want parsed when it returns. This is actually a more important point for nested tags than what I mentioned earlier. -- Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC |_] | \| |_| Reclaim your digital rights by eliminating DRM. See http://www.defectivebydesign.org/what_is_drm for details.
pgp9dU61yW1bq.pgp
Description: PGP signature
_______________________________________________ Muse-el-discuss mailing list [email protected] https://mail.gna.org/listinfo/muse-el-discuss
