all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: davidw@dedasys.com (David N. Welton)
Subject: tcl.el - fill-paragraph in comments
Date: 21 Oct 2002 18:27:59 -0700	[thread overview]
Message-ID: <87ptu39s9s.fsf@dedasys.com> (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/

                 reply	other threads:[~2002-10-22  1:27 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=87ptu39s9s.fsf@dedasys.com \
    --to=davidw@dedasys.com \
    /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.