From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: August Karlstrom Newsgroups: gmane.emacs.help Subject: Re: Filling Block Comment Date: Tue, 28 Mar 2006 17:52:39 GMT Organization: Telia Internet Message-ID: References: <877j6ng2ub.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143571228 19338 80.91.229.2 (28 Mar 2006 18:40:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Mar 2006 18:40:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 28 20:40:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FOJ7A-0004eE-Dn for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Mar 2006 20:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOJ79-0007AH-UV for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Mar 2006 13:40:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <877j6ng2ub.fsf-monnier+gnu.emacs.help@gnu.org> Original-Lines: 22 Original-NNTP-Posting-Host: 83.250.232.200 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1143568359 83.250.232.200 (Tue, 28 Mar 2006 19:52:39 CEST) Original-NNTP-Posting-Date: Tue, 28 Mar 2006 19:52:39 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:138438 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34059 Archived-At: Stefan Monnier wrote: > August Karlstrom wrote: >>How do I make `fill-comment-paragraph' work with block comments? > > > You don't? > Instead, write your own function that will try to find the beginning/end of > the enclosing comment and then calls fill-region-as-paragraph. > > I had started to work on extending fill.el so that it used syntax-tables to > correctly respect comment and string boundaries when filling, but never got > far enough to get something really usable. Sounds like an excellent idea though. August -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License.