From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: davidw@dedasys.com (David N. Welton) Newsgroups: gmane.emacs.bugs Subject: tcl.el - fill-paragraph in comments Date: 21 Oct 2002 18:27:59 -0700 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87ptu39s9s.fsf@dedasys.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035258099 17238 80.91.224.249 (22 Oct 2002 03:41:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2002 03:41:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 183pvF-0004Tj-00 for ; Tue, 22 Oct 2002 05:41:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 183pvq-0002zF-00; Mon, 21 Oct 2002 23:42:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183puw-0001TX-00 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2002 23:41:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183puu-0001TC-00 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2002 23:41:17 -0400 Original-Received: from 12-233-209-213.client.attbi.com ([12.233.209.213] helo=dedasys.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 183puu-0001T6-00 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2002 23:41:16 -0400 Original-Received: by dedasys.com (Postfix, from userid 1000) id 4D6044C404; Mon, 21 Oct 2002 18:27:59 -0700 (PDT) Original-To: bug-gnu-emacs@gnu.org Original-Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3741 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3741 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/