From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74174 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.gnus.general Subject: Spurious line inserted if mm-uu-hide-markers is nil Date: Sat, 20 Nov 2010 22:00:49 +0100 Message-ID: <874obbg16m.fsf@caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290286952 19825 80.91.229.12 (20 Nov 2010 21:02:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Nov 2010 21:02:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22539@lists.math.uh.edu Sat Nov 20 22:02:28 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJuZo-00033V-Cb for ding-account@gmane.org; Sat, 20 Nov 2010 22:02:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PJuYo-0000wS-R3; Sat, 20 Nov 2010 15:01:26 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PJuYn-0000wH-I5 for ding@lists.math.uh.edu; Sat, 20 Nov 2010 15:01:25 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PJuYl-0002Pm-LX for ding@lists.math.uh.edu; Sat, 20 Nov 2010 15:01:24 -0600 Original-Received: from moutng.kundenserver.de ([212.227.126.186]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PJuYk-0005Vz-00 for ; Sat, 20 Nov 2010 22:01:22 +0100 Original-Received: from photon (p54A5085D.dip0.t-ipconnect.de [84.165.8.93]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Luron-1OKlIA38Bl-0105yk; Sat, 20 Nov 2010 22:00:52 +0100 X-Provags-ID: V02:K0:ZXjxgM/1c1/QhlUiJ3vPj+hIA9XPZTI9XEddokal9ig t7wtGPFluD5cRvWTwi8Gc0C54ep0+A6RHWlzeiRQF60ED45Uh2 eUB0maqz1ZGTuYc7ojZn2NspuCpo12eE+vsTWaOp0h2RoIAeqz xA6UTI+0YvKLvclnT6rUc1trrkJ9Odom6jvzFUTdsIiOgEyUBp K7C4g6l7WKQKmXSRYbvFQ== X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74174 Archived-At: Hi, if you set `mm-uu-hide-markers' to nil as to not lose stuff like verbatim marks when replying to a message, then a spurious empty line is inserted in front of a region marked with `message-mark-inserted-region' such as this: --8<---------------cut here---------------start------------->8--- foo --8<---------------cut here---------------end--------------->8--- The empty line is fontified with the face `mm-uu-extract'. The issue goes away if you apply the following patch: --- lisp/gnus/mm-uu.el 2010-09-02 01:42:32 +0000 +++ lisp/gnus/mm-uu.el 2010-11-20 20:36:07 +0000 @@ -165,7 +165,7 @@ ;; dependency on `message.el'. "^-+[8<>]*-\\{9,\\}[a-z ]+-\\{9,\\}[a-z ]+-\\{9,\\}[8<>]*-+$" "^-+[8<>]*-\\{9,\\}[a-z ]+-\\{9,\\}[a-z ]+-\\{9,\\}[8<>]*-+$" - (lambda () (mm-uu-verbatim-marks-extract -1 0 1 -1)) + (lambda () (mm-uu-verbatim-marks-extract 0 0 1 -1)) nil) ;; Omitting [a-z8<] leads to false positives (bogus signature separators ;; and mailing list banners). Does anybody know if the -1 for the `start-offset' parameter of `mm-uu-verbatim-marks-extract' has been used on purpose, i.e. would the change have any negative effects? If not and if there are no objections, I'd apply it in Emacs' Bazaar repository. -- Ralf