[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tcl.el - fill-paragraph in comments
From: |
David N. Welton |
Subject: |
tcl.el - fill-paragraph in comments |
Date: |
21 Oct 2002 18:27:59 -0700 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hello,
This is more of a feature request, but it is something that's
annoying...
The basic problem is this: "paragraphs" are not preseved in Tcl
comments. For example:
# blah blah blah blah blah sddsfkj dsljfdjsfjfjdkjfjdskfjkdsljkkj
# sdfjdsjfkjfkdskfjd jkjsdjffjsdj sdfjjdf dsjkjdskjfkdsjk
# dklsjfkjsdkfjkdsj kfjkdjsj dskfjkj fkjfjsdkjfjdskjk kjsdfjkdjf
#
# sdfjkjdsfkj sdkjfkjdskfjdkfjk ksdjfjdfjdksfjkdsjjfkljdsfkdjs
# jdfkdjfdsk dkf dkfj fdsjfdjskjfkjfds jdksjfkdsfk kdsfjkdjfjdsjf
# kjfkdsjfkdsj kdfj
Executing fill-paragraph on the preceding text, in Tcl mode, scrunches
it all into one big blob of text, without preserving the break.
One way of fixing the problem might be to set these variables:
paragraph-start and paragraph-seperate
to "^#$" while processing comments, but I'm not a great elisp hacker,
so I don't know if that's the best way of fixing things.
I am using emacs-version:
"GNU Emacs 21.2.1 (powerpc-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-03-26 on voltaire, modified by Debian"
Thankyou,
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- tcl.el - fill-paragraph in comments,
David N. Welton <=