From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66966 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] mml.el: Make sure that <#part> sections are at beginning of line. Date: Mon, 19 May 2008 19:36:19 +0200 Message-ID: References: <871w3y1dl1.fsf@grepfind.mwolson.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211218689 27981 80.91.229.12 (19 May 2008 17:38:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2008 17:38:09 +0000 (UTC) Cc: ding@gnus.org To: Michael Olson Original-X-From: ding-owner+M15442@lists.math.uh.edu Mon May 19 19:38:47 2008 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.50) id 1Jy9Ju-00009H-DB for ding-account@gmane.org; Mon, 19 May 2008 19:38:46 +0200 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 1Jy9Ij-0001rV-NM; Mon, 19 May 2008 12:37:33 -0500 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 1Jy9Ii-0001rA-AX for ding@lists.math.uh.edu; Mon, 19 May 2008 12:37:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Jy9Ic-0005qw-03 for ding@lists.math.uh.edu; Mon, 19 May 2008 12:37:32 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Jy9Iq-0007gp-00 for ; Mon, 19 May 2008 19:37:40 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m4JHbIAL007305; Mon, 19 May 2008 19:37:19 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 21F111311D; Mon, 19 May 2008 19:37:18 +0200 (CEST) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Michael Olson , ding@gnus.org In-Reply-To: <871w3y1dl1.fsf@grepfind.mwolson.org> (Michael Olson's message of "Mon, 19 May 2008 09:08:26 -0700") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.50 (gnu/linux) X-DCC-dcc-servers.net-Metrics: poseidon 102; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66966 Archived-At: On Mon, May 19 2008, Michael Olson wrote: > * lisp/gnus/mml.el (mml-read-part): Only look for parts at the beginning > of a line. This way emailed patches that just happen to have "<#part>" > in them will not be misinterpreted. > --- > This patch is for the version of Gnus that is included with CVS HEAD in > Emacs. I thought I'd run it by the Gnus mailing list first to see if > I'm doing something mistaken. I'm not sure if it's correct. AFAICS, the specification doesn't say that the tags are at the beginning of line, cf. (info "(emacs-mime)MML Definition"). Maybe instead, we should check if there's a closing `<#/part>' or `<#/multipart>' tag. If not, suggest to run `mml-quote-region' on the body: ,----[ `C-h k ' ] | runs the command | mml-quote-region | which is an interactive compiled Lisp function in `mml.elc'. | It is bound to , C-c RET q. | (mml-quote-region beg end) | | Quote the MML tags in the region. `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/