From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50272 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: paragraph separator in message mode Date: Sat, 22 Feb 2003 22:21:05 +0100 Organization: University of Duisburg, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84bs14hv0e.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045948958 7729 80.91.224.249 (22 Feb 2003 21:22:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2003 21:22:38 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18mh6S-00020X-00 for ; Sat, 22 Feb 2003 22:22:37 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18mh6C-0002G5-00; Sat, 22 Feb 2003 15:22:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 22 Feb 2003 15:23:18 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA00180 for ; Sat, 22 Feb 2003 15:23:07 -0600 (CST) Original-Received: (qmail 6046 invoked by alias); 22 Feb 2003 21:22:04 -0000 Original-Received: (qmail 6041 invoked from network); 22 Feb 2003 21:22:03 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 22 Feb 2003 21:22:03 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18mhKR-0006Mj-00 for ; Sat, 22 Feb 2003 22:37:03 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 20 Original-NNTP-Posting-Host: p50876ca9.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1045949822 23696 80.135.108.169 (22 Feb 2003 21:37:02 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 22 Feb 2003 21:37:02 GMT User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:rluAqYNWbtkpj1DCd32LcMkD4Cg= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50272 David S Goldberg writes: > I've had these lines in my message-mode-hook for some time now but > since I just noticed that I needed to make a fix to the regexp I > wonder if it shouldn't somehow be the default behavior for > message-mode. > > (make-local-variable 'paragraph-separate) > (setq paragraph-separate > (concat paragraph-separate > "\\|<#!*/?\\(multipart\\|part\\|external\\|mml\\|secure\\)")) Good idea. I've committed it. I'm not sure if I did it right, though. Hm. Semantically, it seems it should be in mml-mode? And the concat thing is potentially dangerous. Can it lead to a non-working value? Is there a regexp that will break if \\|foo is appended to it? -- A preposition is not a good thing to end a sentence with.