From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.devel Subject: Re: RMAIL, MIME-related bug Date: 20 Oct 2003 19:39:07 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87smlnizb8.fsf@oak.pohoyda.family> References: <200310121947.h9CJlhKH006102@oak.pohoyda.family> <6480-Thu16Oct2003192118+0200-eliz@elta.co.il> <3405-Thu16Oct2003205828+0200-eliz@elta.co.il> <9003-Fri17Oct2003082402+0200-eliz@elta.co.il> <6480-Sat18Oct2003102948+0200-eliz@elta.co.il> <87smlocv4p.fsf@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066671597 12207 80.91.224.253 (20 Oct 2003 17:39:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 17:39:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Oct 20 19:39:55 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABe0Z-0002JY-00 for ; Mon, 20 Oct 2003 19:39:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABe0Z-0002T6-00 for ; Mon, 20 Oct 2003 19:39:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABe0W-00066B-6z for emacs-devel@quimby.gnus.org; Mon, 20 Oct 2003 13:39:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABe0Q-00064o-Vr for emacs-devel@gnu.org; Mon, 20 Oct 2003 13:39:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABdzt-0005iR-Sn for emacs-devel@gnu.org; Mon, 20 Oct 2003 13:39:45 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1ABdzt-0005iG-DK for emacs-devel@gnu.org; Mon, 20 Oct 2003 13:39:13 -0400 Original-Received: (qmail 31588 invoked by uid 65534); 20 Oct 2003 17:39:10 -0000 Original-Received: from p508BD39C.dip.t-dialin.net (EHLO oak.pohoyda.family) (80.139.211.156) by mail.gmx.net (mp001) with SMTP; 20 Oct 2003 19:39:10 +0200 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.9/8.12.9) with ESMTP id h9KHd8AR001623 for ; Mon, 20 Oct 2003 19:39:08 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.9/8.12.9/Submit) id h9KHd7TW001620; Mon, 20 Oct 2003 19:39:07 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) X-Authentication-Warning: oak.pohoyda.family: apog set sender to alexander.pohoyda@gmx.net using -f Original-To: emacs-devel@gnu.org In-Reply-To: Original-Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17267 Lars Magne Ingebrigtsen writes: > > After I implemented it myself, I have found 2 more implementations > > of quoted-printable primitives in Emacs/lisp tree. > Where did the second implementation live? mail/rmail.el, rmail-decode-quoted-printable function. I'd be very thankful if you merge them. Also, could we please agree that these functions should return the size of en/de-coded text, the same way as their base64-... counterparts? > > Guess why? Because "Describe function" had no idea that they are > > already implemented and I haven't found them in Emacs Lisp > > manual. > Well, ok, but I find it somewhat puzzling that anybody would think > that Emacs didn't have something as basic as qp en/decoding > somewhere in its vast mass. I was easily able to locate base64, thus the absence of quoted-printable in base installation made me believe that it was intentionally left out. > > Would I even found them at the beginning, I would not dare to use > > the one from Gnus, because: > > * it belongs to different project in my eyes. > > * gnus/qp.el requires mm-util, which I neither need nor want right > > now. > I think a better solution than writing yet another implementation > would be to move gnus/qp.el to mime/qp.el, and remove the Why not mail/qp.el instead? The mime/ directory is going to be quite empty :-) > > 2Lars: Only first 7 lines of the References header field are > > highlighted in Gnus v5.9.0 and sorry, if this is already fixed. > You mean in Message? That's handled by font-lock, which has a > tendency to stop highlighting extremely long lines after a certain > point. I'm sure it's customizable. :-) Indeed. Thank you! :-) -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44