From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Peterson Newsgroups: gmane.emacs.help Subject: Re: Configuring fill-paragraph not to mash the subversion delimiter? Date: 06 Apr 2007 12:40:17 -0700 Organization: University of California, Davis Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175898247 2571 80.91.229.12 (6 Apr 2007 22:24:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2007 22:24:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 07 00:23:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZvB2-0000Or-CZ for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Apr 2007 22:36:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZvEY-0004JQ-7q for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Apr 2007 16:40:34 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!newsfeed.news.ucla.edu!ucdavis!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: moobilenet-59-65.ucdavis.edu Original-X-Trace: skeeter.ucdavis.edu 1175888416 20856 128.120.59.65 (6 Apr 2007 19:40:16 GMT) Original-X-Complaints-To: usenet@ucdavis.edu Original-NNTP-Posting-Date: Fri, 6 Apr 2007 19:40:16 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/22.0.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:146864 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:42469 Archived-At: Adam Funk on Fri, 16 Mar 2007 21:21:48 +0000 didst step forth and proclaim thus: > Is there any easy way to set something in my ~/.emacs file so that > when I'm editing subversion commit messages and I use M-q to tidy up a > few lines of text, the fill-paragraph command will treat the standard > line > > --This line, and those below, will be ignored-- > > as not being part of the paragraph, even if there is no blank line > before it? Methinks customizing paragraph-separate may prove fruitful. Something like: (setq paragraph-separate (concat "--.*\?--\\|" paragraph-separate)) I don't know what *-hook variable is run for subversion commit messages. If you find the right hook, just place the above code in a lambda or defun for it. -- Sam Peterson skpeterson At nospam ucdavis.edu "if programmers were paid to remove code instead of adding it, software would be much better" -- unknown