Re: Proper Filling of Verbatim Tags
Steinar Bang <[email protected]>
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Probably a good idea |
| Message-ID | <[email protected]> |
>>>>> "William E. Kempf" <[email protected]>: > Is there any way to get PSGML to not change the formatting of > verbatim tags, such as <pre> in HTML and <programlisting> in > DocBook? I tried searching the web and usenet for a solution, and > found a mention of sgml-inhibit-indent-tags in a posting, but this > isn't documented and greping the source doesn't find it. There's a buffer local variable called sgml-indent-data. I set it, and other buffer local variables, from a hook. (defun my-psgml-set-variables () "Set buffer local variables" (setq sgml-always-quote-attributes t) ; expected by many clients (setq sgml-indent-data nil) (setq sgml-indent-step 2) (setq sgml-omittag nil) (setq sgml-shorttag nil)) (add-hook 'sgml-mode-hook 'my-psgml-set-variables) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.