>>"Michael" == Michael P Soulier <[EMAIL PROTECTED]> writes:


 Michael> So, the proper way to handle this is to customize the psgml
 Michael> faces then?  I'm trying to reinstall psgml now, but my
 Michael> connection to the debian servers isn't that great right
 Michael> now. I've really got to get away from rogers...

 - User Option: sgml-markup-faces
     A list of markup to face mappings.  Each element looks like
     `(MARKUP-TYPE . FACE)'.  Possible values for MARKUP-TYPE is:
    `comment'         comment declaration
    `doctype'         doctype declaration
    `end-tag'         end-tag
    `ignored'         ignored marked section
    `ms-start'        marked section end, if not ignored
    `ms-end'          marked section start, if not ignored
    `pi'              processing instruction
    `sgml'            SGML declaration
    `start-tag'       start-tag
    `entity'          entity reference
    `shortref'        short reference

 >> C-X h   mark-whole-buffer
 >> ESC C-\ indent-region
 >> 
 >> Prettifies the buffer for me quite nicely.

 Michael> Well, it depends on the mode. In cperl-mode I found it
 Michael> messed up my code, so I wrote a simpler one. I haven't
 Michael> looked at the code for indent-region, so I don't know why it
 Michael> doesn't always work intuitively.

        I meant for psgml's modes. As for perl, well, Perl syntax is
 hard to parse for anything but, umm, perl itself.  I wouldn't plcae
 blame on indent region or cperl mode for that ;-)

        manoj
-- 
 "...proper attention to Earthly needs of the poor, the depressed and
 the downtrodden, would naturally evolve from dynamic, articulate,
 spirited awareness of the great goals for Man and the society he
 conspired to erect." David Baker, paraphrasing Harold Urey, in "The
 History of Manned Space Flight"
Manoj Srivastava   <[EMAIL PROTECTED]>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply via email to