From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Merging quoted-printable functions Date: Sat, 27 Dec 2003 17:16:49 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87hdzno4u6.fsf_-_@oak.pohoyda.family> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1072563679 9660 80.91.224.253 (27 Dec 2003 22:21:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Dec 2003 22:21:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Dec 27 23:21:16 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 1AaMo7-0003d6-00 for ; Sat, 27 Dec 2003 23:21:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AaMo7-0006vc-00 for ; Sat, 27 Dec 2003 23:21:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AaNlQ-00081L-Ji for emacs-devel@quimby.gnus.org; Sat, 27 Dec 2003 18:22:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AaNky-0007ex-9X for emacs-devel@gnu.org; Sat, 27 Dec 2003 18:22:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AaNkW-0007Ns-Rt for emacs-devel@gnu.org; Sat, 27 Dec 2003 18:21:59 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AaNkW-0007Ne-Ef for emacs-devel@gnu.org; Sat, 27 Dec 2003 18:21:36 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AaMjp-0004fu-VM; Sat, 27 Dec 2003 17:16:49 -0500 Original-To: Alexander Pohoyda In-reply-to: <87hdzno4u6.fsf_-_@oak.pohoyda.family> (message from Alexander Pohoyda on 26 Dec 2003 18:40:17 +0100) 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:18882 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18882 3. mail/rmail.el rmail-decode-quoted-printable (region) I just wrote some code (which I am not sure how to check in) to get rid of that. If you want to install before I can, feel free. 1. mail/mail-utils.el mail-(un)quote-printable (string) 2. gnus/qp.el quoted-printable-{en,de}code-{region|string} Merging these into one is a good idea. If the one you choose is the code from gnus/qp.el, let's move it to directory mail/. I would not like to append the mail- prefix, though. Is this OK? Ok. Can you preserve the old names in mail-... as aliases or trivial interfaces to the new functions? Also, I would like quoted-printable-...-region functions to return the resulting size, as their base64-...-region analogs do. That can't break anything, so no reason why not.