From unknown Fri Aug 15 16:24:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26103: 25.1; Typo in rfc2231-encode-string docstring Resent-From: Tim Landscheidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Mar 2017 01:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 26103@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148954110529903 (code B ref -1); Wed, 15 Mar 2017 01:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2017 01:25:05 +0000 Received: from localhost ([127.0.0.1]:56175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnxgX-0007mF-6j for submit@debbugs.gnu.org; Tue, 14 Mar 2017 21:25:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnxgV-0007lb-7w for submit@debbugs.gnu.org; Tue, 14 Mar 2017 21:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnxgP-0007SI-En for submit@debbugs.gnu.org; Tue, 14 Mar 2017 21:24:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cnxgP-0007SE-C5 for submit@debbugs.gnu.org; Tue, 14 Mar 2017 21:24:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnxgO-0006xY-2N for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 21:24:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnxgK-0007Pg-S2 for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 21:24:56 -0400 Received: from mezzogiorno.tim-landscheidt.de ([78.47.87.37]:39288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnxgK-0007MD-L2 for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2017 21:24:52 -0400 Received: from x4e32b706.dyn.telefonica.de ([78.50.183.6]:52104 helo=passepartout.tim-landscheidt.de) by mezzogiorno.tim-landscheidt.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnxgB-0005Sh-RI for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2017 01:24:43 +0000 From: Tim Landscheidt Organization: http://www.tim-landscheidt.de/ Date: Wed, 15 Mar 2017 01:24:38 +0000 Message-ID: <87lgs7jprd.fsf@passepartout.tim-landscheidt.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) In: | (defun rfc2231-encode-string (param value) | "Return and PARAM=3DVALUE string encoded according to RFC2231. | Use `mml-insert-parameter' or `mml-insert-parameter-string' to insert | the result of this function." | [=E2=80=A6] it should read: "Return a PARAM=3DVALUE string [=E2=80=A6]." From unknown Fri Aug 15 16:24:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26103: 25.1; Typo in rfc2231-encode-string docstring In-Reply-To: <87lgs7jprd.fsf@passepartout.tim-landscheidt.de> Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Mar 2017 05:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tim Landscheidt Cc: 26103@debbugs.gnu.org Received: via spool by 26103-submit@debbugs.gnu.org id=B26103.148955727229547 (code B ref 26103); Wed, 15 Mar 2017 05:55:01 +0000 Received: (at 26103) by debbugs.gnu.org; 15 Mar 2017 05:54:32 +0000 Received: from localhost ([127.0.0.1]:56237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1co1tH-0007gV-Mt for submit@debbugs.gnu.org; Wed, 15 Mar 2017 01:54:31 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:41945 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1co1tF-0007gG-O8 for 26103@debbugs.gnu.org; Wed, 15 Mar 2017 01:54:30 -0400 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1co1t6-000lTs-E3; Wed, 15 Mar 2017 00:54:21 -0500 Date: Wed, 15 Mar 2017 14:54:14 +0900 Message-ID: From: Katsumi Yamaoka References: <87lgs7jprd.fsf@passepartout.tim-landscheidt.de> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:E5Xbtds95LljoB+GDaf+/fVy+fc= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, 15 Mar 2017 01:24:38 +0000, Tim Landscheidt wrote: > In: >| (defun rfc2231-encode-string (param value) >| "Return and PARAM=3DVALUE string encoded according to RFC2231. >| Use `mml-insert-parameter' or `mml-insert-parameter-string' to insert >| the result of this function." >| [=E2=80=A6] > it should read: "Return a PARAM=3DVALUE string [=E2=80=A6]." I think so, too. Furthermore, there are two similar ones: (defun rfc2045-encode-string (param value) "Return and PARAM=3DVALUE string encoded according to RFC2045." (defun rfc2047-encode-parameter (param value) "Return and PARAM=3DVALUE string encoded in the RFC2047-like style. Lars wrote rfc2231- and rfc2045- 18 years ago, and rfc2047- is what I made 13 years ago following in Lars' footsteps. All those are typo errors, aren't they? ;-) From unknown Fri Aug 15 16:24:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26103: [PATCH] fix typos in doc of mail RFCs References: <87lgs7jprd.fsf@passepartout.tim-landscheidt.de> In-Reply-To: <87lgs7jprd.fsf@passepartout.tim-landscheidt.de> Resent-From: Ruslan Bekenev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2017 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 26103@debbugs.gnu.org Received: via spool by 26103-submit@debbugs.gnu.org id=B26103.149470077028179 (code B ref 26103); Sat, 13 May 2017 18:40:02 +0000 Received: (at 26103) by debbugs.gnu.org; 13 May 2017 18:39:30 +0000 Received: from localhost ([127.0.0.1]:43244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bwv-0007KQ-Ky for submit@debbugs.gnu.org; Sat, 13 May 2017 14:39:29 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9bwt-0007KE-R2 for 26103@debbugs.gnu.org; Sat, 13 May 2017 14:39:28 -0400 Received: by mail-lf0-f49.google.com with SMTP id m18so6924410lfj.0 for <26103@debbugs.gnu.org>; Sat, 13 May 2017 11:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version; bh=TF4jlijyxkDeGRaY7b1IrLVzsOQuLaH9Xm40+TqhUlg=; b=LAXfzdCYRrWBW+PoDX/mp9tgoZ5ugy0JGi1q0ecIIK+nlY9JAFLNrta10lYzlP2waC Rqv8aeE/9VIPGteWyeWYGQMX1s6i/USl0i+Xyy7l83R8VPEGr5Wu5VP/GkapuUCPaUkY +M/tkzhuvnngGkMi9zMp/nakZ6AcS5hS9JC4Y91iqOAl5NPOzvLYd9Awxeziyz2HmcDo HIMDjIsj0AJVtXrEZX7+CZsDw5uwFJ4nwswRgVnZYiZp77v00Aq+/LdxQCCxHiH3UtYf NFqUZTcDibIDCc6FcOe6NGVeb9vfH214Dihr4h80XDD1BgtFgXeJUzFtuWvCsgTV712P MYUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:subject:mime-version; bh=TF4jlijyxkDeGRaY7b1IrLVzsOQuLaH9Xm40+TqhUlg=; b=MIREoYIY1cmWUp1VGb0nSZqcqCBMnnh9IqMnIQrtL/EVCOIPDT9R8OEmxtOPXdEldZ TUrLP85hEdr840Da2NXl3EUvYbw4Xgy9YeFVr1VL7At/xrOJsaJ7ZiqvIRMuNs3xEKgM PxAXp27BPcNqVYZqnbiHdUlCFfRXtuNzN3RkwaNx5UqHjQ/VGvTeSHbvV++YxaKU1QNu retLjlI9dSurYQeaYqracueNiKk/SgZxwCWazm6HbWBuAWniYpkb+y/4ZBrhWOcdaneL K3s0ixKzZ+6HQWycsPeW8y0LtwlVJJNXdxPFQAhz4RgTRAVgZcFqfazfh3entsjdRklP aa/w== X-Gm-Message-State: AODbwcCD/+64c1Gx6agcP7kET8KD5aDw1/55ve5LrkhKxdRjVarUilFY onBa7U9K63I8uPJb X-Received: by 10.25.22.213 with SMTP id 82mr4059511lfw.46.1494700761560; Sat, 13 May 2017 11:39:21 -0700 (PDT) Received: from Ruslans-MacBook-Air.local.mail ([37.78.206.134]) by smtp.gmail.com with ESMTPSA id a22sm1234803lfk.62.2017.05.13.11.39.19 for <26103@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 11:39:20 -0700 (PDT) Date: Sat, 13 May 2017 21:39:18 +0300 From: Ruslan Bekenev Message-ID: X-Mailer: Airmail (424) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="591752d6_4610c49_8ce6" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --591752d6_4610c49_8ce6 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi :) yeah, it really looks like typos.=C2=A0 If it is ok I attached a patch that changes =60and=60 to =60a=60.=C2=A0 --- =C2=A0lisp/mail/rfc2045.el =7C 2 +- =C2=A0lisp/mail/rfc2047.el =7C 2 +- =C2=A0lisp/mail/rfc2231.el =7C 2 +- =C2=A03 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/mail/rfc2045.el b/lisp/mail/rfc2045.el index f6000500e1..11a6151887 100644 --- a/lisp/mail/rfc2045.el +++ b/lisp/mail/rfc2045.el =40=40 -28,7 +28,7 =40=40 =C2=A0(require 'ietf-drums) =C2=A0 =C2=A0(defun rfc2045-encode-string (param value) - =C2=A0=22Return and PARAM=3DVALUE string encoded according to R=46C2045= .=22 + =C2=A0=22Return a PARAM=3DVALUE string encoded according to R=46C2045.=22= =C2=A0 =C2=A0(if (or (string-match (concat =22=5B=22 ietf-drums-no-ws-ctl= -token =22=5D=22) value) =C2=A0 =C2=A0(string-match (concat =22=5B=22 ietf-drums-tspecials =22=5D= =22) value) =C2=A0 =C2=A0(string-match =22=5B =5Cn=5Ct=5D=22 value) diff --git a/lisp/mail/rfc2047.el b/lisp/mail/rfc2047.el index bcbdc17631..d276e2117f 100644 --- a/lisp/mail/rfc2047.el +++ b/lisp/mail/rfc2047.el =40=40 -851,7 +851,7 =40=40 Point moves to the end of the region.=22 =C2=A0 =C2=A0 =C2=A0(buffer-string))) =C2=A0 =C2=A0(defun rfc2047-encode-parameter (param value) - =C2=A0=22Return and PARAM=3DVALUE string encoded in the R=46C2047-like = style. + =C2=A0=22Return a PARAM=3DVALUE string encoded in the R=46C2047-like st= yle. =C2=A0This is a substitution for the =60rfc2231-encode-string' function, = that =C2=A0is the standard but many mailers don't support it.=22 =C2=A0 =C2=A0(let ((rfc2047-encoding-type 'mime) diff --git a/lisp/mail/rfc2231.el b/lisp/mail/rfc2231.el index ba972c7346..66f539f698 100644 --- a/lisp/mail/rfc2231.el +++ b/lisp/mail/rfc2231.el =40=40 -234,7 +234,7 =40=40 These look like: =C2=A0 (decode-coding-string (buffer-string) coding-system))))) =C2=A0 =C2=A0(defun rfc2231-encode-string (param value) - =C2=A0=22Return and PARAM=3DVALUE string encoded according to R=46C2231= . + =C2=A0=22Return a PARAM=3DVALUE string encoded according to R=46C2231. =C2=A0Use =60mml-insert-parameter' or =60mml-insert-parameter-string' to = insert =C2=A0the result of this function.=22 =C2=A0 =C2=A0(let ((control (ietf-drums-token-to-list ietf-drums-no-ws-ct= l-token)) --=C2=A0 2.11.0 (Apple Git-81) --=C2=A0 Ruslan Bekenev --591752d6_4610c49_8ce6 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline