* XML and Fill-region
@ 2009-09-08 18:34 Stephen Montsaroff
0 siblings, 0 replies; only message in thread
From: Stephen Montsaroff @ 2009-09-08 18:34 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]
Hi -
I was wondering if anyone could give me some guidance on using
fill-region with xml.
I have two basic questions
1. How do I stop Fill-region from combining tags on two lines on to one.
For example, running fill-region on
<a>
TEXT TEXT...
* </a>
<b>*
TEXT TEXT...
</b>
Gives:
<a>
TEXT TEXT...
* </a> <b>*
TEXT TEXT...
</b>
2. Is there anyway of telling fill-region *not* to fill between two
tags, for example to skip the material between <c> and </c>
<a>
TEXT TEXT...
* * </a>
<c>
TEXT TEXT...
* * </c>
<b>
TEXT TEXT...
</b>
Thanks.
--
**
*Stephen Montsaroff** *
* /o o// / */The Bear /
*711 23rd Ave. E***
*Seattle, WA 98112** *
* (' ')_____o */Who Swims/
*stephm@pobox.com***
*206 568 1641(p)*
***~ ~~~(______)~~~~~~~ *
******* ~~** ~**~~ oo oo~~~~~ *
****//****
[-- Attachment #2: Type: text/html, Size: 7033 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-08 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08 18:34 XML and Fill-region Stephen Montsaroff
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.