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 Date: 31 Oct 2002 17:01:32 -0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87k7jym7bn.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 1036113167 18303 80.91.224.249 (1 Nov 2002 01:12:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 01:12:47 +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 187QMf-0004l4-00 for ; Fri, 01 Nov 2002 02:12:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187QMY-0002q0-00; Thu, 31 Oct 2002 20:12:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187QB0-0004zl-00 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2002 20:00:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187QAy-0004za-00 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2002 20:00:41 -0500 Original-Received: from [216.91.56.159] (helo=dedasys.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 187QAk-0004tQ-00 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2002 20:00:26 -0500 Original-Received: by dedasys.com (Postfix, from userid 1000) id 576564C5BC; Thu, 31 Oct 2002 17:01:32 -0800 (PST) Original-To: bug-gnu-emacs@gnu.org Original-Lines: 32 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:3804 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3804 I made the following change to tcl.el in order to make it format paragraphs (fill-paragraph) correctly in comments. I sent email about the same problem earlier, but never heard anything back... although it was during your outage. --- /usr/share/emacs/21.2/lisp/progmodes/tcl.el Fri Mar 22 09:03:00 2002 +++ /home/davidw/.elisp/tcl.el Wed Oct 30 18:53:52 2002 @@ -1542,14 +1542,14 @@ p-start p-end) ;; Search backwards. (save-excursion - (while (looking-at "^[ \t]*#") + (while (looking-at "^[ \t]*#\\s-*$") (forward-line -1)) (forward-line) (setq p-start (point))) ;; Search forwards. (save-excursion - (while (looking-at "^[ \t]*#") + (while (looking-at "^[ \t]*#\\s-*$") (forward-line)) (setq p-end (point))) Thankyou for your time and attention, -- 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/