all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Montsaroff <stephm@pobox.com>
To: help-gnu-emacs@gnu.org
Subject: XML and  Fill-region
Date: Tue, 08 Sep 2009 11:34:04 -0700	[thread overview]
Message-ID: <4AA6A39C.9000205@pobox.com> (raw)

[-- 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 --]

                 reply	other threads:[~2009-09-08 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AA6A39C.9000205@pobox.com \
    --to=stephm@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.