all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tcl.el - fill-paragraph in comments
@ 2002-10-22  1:27 David N. Welton
  0 siblings, 0 replies; only message in thread
From: David N. Welton @ 2002-10-22  1:27 UTC (permalink / raw)



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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-22  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22  1:27 tcl.el - fill-paragraph in comments David N. Welton

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.