help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML and Fill-region


From: Stephen Montsaroff
Subject: XML and Fill-region
Date: Tue, 08 Sep 2009 11:34:04 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.0

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~~~~~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]