From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 18:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24694@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147646951831585 (code B ref -1); Fri, 14 Oct 2016 18:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 18:25:18 +0000 Received: from localhost ([127.0.0.1]:55540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7AT-0008DN-Uz for submit@debbugs.gnu.org; Fri, 14 Oct 2016 14:25:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7AT-0008DB-3b for submit@debbugs.gnu.org; Fri, 14 Oct 2016 14:25:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv7AN-0006gl-5P for submit@debbugs.gnu.org; Fri, 14 Oct 2016 14:25:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bv7AN-0006fu-2M for submit@debbugs.gnu.org; Fri, 14 Oct 2016 14:25:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv7AK-0000Ft-Uh for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 14:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv7AG-0006bS-LW for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 14:25:07 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:21498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bv7AG-0006az-B3 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 14:25:04 -0400 Received: from [192.168.88.14] (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1476469498744689.5577088780163; Fri, 14 Oct 2016 11:24:58 -0700 (PDT) From: Hong Xu Message-ID: Date: Fri, 14 Oct 2016 11:24:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t7xOtqhQsgNHGMAnKQPIGovkI7UTHwpLa" X-Zoho-Virus-Status: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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.4 (----) 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.4 (----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t7xOtqhQsgNHGMAnKQPIGovkI7UTHwpLa Content-Type: multipart/mixed; boundary="nU1JmGQ9bduhf9djGEjWPNshdHihEvrB8"; protected-headers="v1" From: Hong Xu To: bug-gnu-emacs@gnu.org Message-ID: Subject: Document url--allow-chars for external use? --nU1JmGQ9bduhf9djGEjWPNshdHihEvrB8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Currently url-hexify-string has an optional argument allowed-chars, which is a long vector. However, it is more natural to specify a list of characters. Internally, the default value of allowed-chars is specified by converting a list of chars to such a vector by using an internal function url--allow-chars. I would like to suggest to document url--allow-chars for external use, thus we can improve the interface of the url-hexify-string function. I can draft the document change, if you agree with me. --nU1JmGQ9bduhf9djGEjWPNshdHihEvrB8-- --t7xOtqhQsgNHGMAnKQPIGovkI7UTHwpLa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYASL1AAoJECZsfTOCL4R4S3UQAJMGF/kH0MZDNRIqy6vj1Gw5 6j1T2amLh3FpXD8V7Bkmib7kCUQ6arDmC+Cva6hOjGYNMYvqA5HzmVnvrSns8X6X w/pwCaXNp76LUF0Ntepn/ogDJ+69pozgy+v/j8MhhO/oE4J9YAYtvAm7kcnfGHxK xs8HhfPQR/dtz6aiZWWJsrm/wCq8m9/y4bLau8I5vlIq4DlviubxeyQojIaGBXlm blM56bZqIxeARYHTLFSehVorzg8OVSN1jS/5gmpYXS3JUatOiYEIO+cifYLufm/L d+ZGbeoI56iwCvdzH5SYtGr7rkScCf6ozXnM8TOiOBHQFIEWnZTcAoaNJobdCQ/T OzM9hPTvn5opSSKhj843vKSJXxt0U1hMXUt+rP6G1bYEWpgOjW783ROicEdRkyEk tDeSjURe+jQr7xfQos2tm85qd06aIfmM5gLIsIRXIkZBWXgz4qmNjbT6yLhKh2G+ m7sVLnaRxd5IJZS6ewojA/pNZ4T6YmT3V5MVkEEAWfFv9yrxh6HSOztC9U3ZOK1Y NNUzBHO12HttYF/DPioM15mDFzYP64WExOhcPYF4tdtRINgGmbHdbJ1q5C8rjvCV PxY/t6W0Bufmhxigr/keQNqwktd0rlN6/PAomkvK65HA9flnwhOHAAJfttVkNvV+ ls2f+GbfEy5gkhPOFbb7 =KEO9 -----END PGP SIGNATURE----- --t7xOtqhQsgNHGMAnKQPIGovkI7UTHwpLa-- From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Hong Xu Cc: 24694@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.14764717622723 (code B ref 24694); Fri, 14 Oct 2016 19:03:01 +0000 Received: (at 24694) by debbugs.gnu.org; 14 Oct 2016 19:02:42 +0000 Received: from localhost ([127.0.0.1]:55568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7kf-0000hr-Sn for submit@debbugs.gnu.org; Fri, 14 Oct 2016 15:02:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7ke-0000he-OR for 24694@debbugs.gnu.org; Fri, 14 Oct 2016 15:02:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv7kW-0004bW-Dj for 24694@debbugs.gnu.org; Fri, 14 Oct 2016 15:02:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv7kW-0004bC-AL; Fri, 14 Oct 2016 15:02:32 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2563 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bv7kU-00008A-5h; Fri, 14 Oct 2016 15:02:30 -0400 Date: Fri, 14 Oct 2016 22:02:24 +0300 Message-Id: <8337jy4uv3.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Hong Xu on Fri, 14 Oct 2016 11:24:52 -0700) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) 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: -5.4 (-----) > From: Hong Xu > Date: Fri, 14 Oct 2016 11:24:52 -0700 > > Currently url-hexify-string has an optional argument allowed-chars, > which is a long vector. However, it is more natural to specify a list of > characters. Internally, the default value of allowed-chars is specified > by converting a list of chars to such a vector by using an internal > function url--allow-chars. I would like to suggest to document > url--allow-chars for external use, thus we can improve the interface of > the url-hexify-string function. > > I can draft the document change, if you agree with me. Isn't it better to teach url-hexify-string to accept lists as well? From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2016 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 24694@debbugs.gnu.org Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.14764737845997 (code B ref 24694); Fri, 14 Oct 2016 19:37:01 +0000 Received: (at 24694) by debbugs.gnu.org; 14 Oct 2016 19:36:24 +0000 Received: from localhost ([127.0.0.1]:55640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8HH-0001Yf-TD for submit@debbugs.gnu.org; Fri, 14 Oct 2016 15:36:24 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:21439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8HG-0001YW-3K for 24694@debbugs.gnu.org; Fri, 14 Oct 2016 15:36:22 -0400 Received: from [192.168.88.14] (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1476473773988519.5019112570744; Fri, 14 Oct 2016 12:36:13 -0700 (PDT) References: <8337jy4uv3.fsf@gnu.org> From: Hong Xu Message-ID: <7eafa26e-e158-be3c-84a2-4e95c04f2e50@topbug.net> Date: Fri, 14 Oct 2016 12:36:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <8337jy4uv3.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="96JOPJ34vi3VGvO3IXtHgaDTbSwUiH6hW" X-Zoho-Virus-Status: 1 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 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --96JOPJ34vi3VGvO3IXtHgaDTbSwUiH6hW Content-Type: multipart/mixed; boundary="opKT7tbvx7jQb487ptTvhgWRtJo2BMUje"; protected-headers="v1" From: Hong Xu To: Eli Zaretskii Cc: 24694@debbugs.gnu.org Message-ID: <7eafa26e-e158-be3c-84a2-4e95c04f2e50@topbug.net> Subject: Re: bug#24694: Document url--allow-chars for external use? References: <8337jy4uv3.fsf@gnu.org> In-Reply-To: <8337jy4uv3.fsf@gnu.org> --opKT7tbvx7jQb487ptTvhgWRtJo2BMUje Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/14/2016 12:02 PM, Eli Zaretskii wrote: >> From: Hong Xu >> Date: Fri, 14 Oct 2016 11:24:52 -0700 >> >> Currently url-hexify-string has an optional argument allowed-chars, >> which is a long vector. However, it is more natural to specify a list = of >> characters. Internally, the default value of allowed-chars is specifie= d >> by converting a list of chars to such a vector by using an internal >> function url--allow-chars. I would like to suggest to document >> url--allow-chars for external use, thus we can improve the interface o= f >> the url-hexify-string function. >> >> I can draft the document change, if you agree with me. >=20 > Isn't it better to teach url-hexify-string to accept lists as well? >=20 Yes, that would be even better. --opKT7tbvx7jQb487ptTvhgWRtJo2BMUje-- --96JOPJ34vi3VGvO3IXtHgaDTbSwUiH6hW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYATOoAAoJECZsfTOCL4R4LPsP/1Odbp9pQleOmm3p/R4vIORP k2/rYl87XKe77PTb42a4JXZs8GLqATctJVNZ5pCGbZNXBh41Z44ZSafpMsx8l14V z5X8E4jCi1FDqMAdElcnm+dpuGwvNF+rUBZ4f6Z2hXW+LGO9gqSMFVVih9PmScNr vmI5lMelHKF0rdJuMpMF09/kd0M0KRe1GEKe/qxpAJkDzU+qZliJl3NeKYdpz2uf xAilWv9/NHucXen1myV2cTi+xj/JNz78k8Zb9+b40XKklpya2M09NkzRo08AgAw6 XejrdthY/LMaDNBYKrhxjTWKATJT4H9uGyISBkCX/xx3ehZLSklrWYsU6qEgztgV /YHTuSweMsuFcXC9FQY+6KQkt6vtRwZUaj3mc5VzREBzZiiJnykNPFngn0dBdnyp z0tYAuJ9XxoVMy0jSv/J/CJ2OwZdGzbK1AW8V2te/ABdmRskXWcRFtjIBMOoytus GL3LwhfRp9zyxc/sKe5+n56lW63IeIULHyX1xBUP0IThG4DJF4pRRt00sCct6g/d FM6kWze1wpF8fTH5jECj5eUhV14X48WPGJycnY0AjWxDbnAXi5cziKzbTZiTCnZa E1xaZ5kEMCjP/pLyr0HUgp8Hx8NiOF2GbyPMNv2ISj/tfGkOtoaoyW0Na+flGzfw TRduN3ovVE8L3QajGtM5 =XY2M -----END PGP SIGNATURE----- --96JOPJ34vi3VGvO3IXtHgaDTbSwUiH6hW-- From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2016 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 24694@debbugs.gnu.org Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.148062770717883 (code B ref 24694); Thu, 01 Dec 2016 21:29:02 +0000 Received: (at 24694) by debbugs.gnu.org; 1 Dec 2016 21:28:27 +0000 Received: from localhost ([127.0.0.1]:49161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCYu2-0004eN-OH for submit@debbugs.gnu.org; Thu, 01 Dec 2016 16:28:27 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCYu0-0004eF-Qy for 24694@debbugs.gnu.org; Thu, 01 Dec 2016 16:28:25 -0500 Received: from localhost (cpe-104-32-170-214.socal.res.rr.com [104.32.170.214]) by mx.zohomail.com with SMTPS id 1480627698450364.5297664177135; Thu, 1 Dec 2016 13:28:18 -0800 (PST) References: <8337jy4uv3.fsf@gnu.org> User-agent: mu4e 0.9.17; emacs 25.1.90.2 From: Hong Xu In-reply-to: <8337jy4uv3.fsf@gnu.org> Date: Thu, 01 Dec 2016 13:28:17 -0800 Message-ID: <87oa0vtk3y.fsf@topbug.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Zoho-Virus-Status: 1 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 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2016-10-14 Fri 12:02 GMT-0800, Eli Zaretskii wrote: >> From: Hong Xu >> Date: Fri, 14 Oct 2016 11:24:52 -0700 >>=20 >> Currently url-hexify-string has an optional argument allowed-chars, >> which is a long vector. However, it is more natural to specify a list of >> characters. Internally, the default value of allowed-chars is specified >> by converting a list of chars to such a vector by using an internal >> function url--allow-chars. I would like to suggest to document >> url--allow-chars for external use, thus we can improve the interface of >> the url-hexify-string function. >>=20 >> I can draft the document change, if you agree with me. > > Isn't it better to teach url-hexify-string to accept lists as well? The patch is attached. Make url-hexify-string accept a list of allowed chars. * url-util.el (url-hexify-string): Accept a list of allowed chars. * url.texi (URI Encoding): Update url-hexify-string doc and index improvem= ents. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=url.patch Content-Transfer-Encoding: quoted-printable diff --git a/doc/misc/url.texi b/doc/misc/url.texi index 91cb6b54a847..b5e6e2ce465a 100644 =2D-- a/doc/misc/url.texi +++ b/doc/misc/url.texi @@ -221,6 +221,7 @@ URI Encoding @section URI Encoding =20 @cindex percent encoding +@findex url-generic-parse-url The @code{url-generic-parse-url} parser does not obey RFC 3986 in one respect: it allows non-@acronym{ASCII} characters in URI strings. =20 @@ -233,6 +234,7 @@ URI Encoding @acronym{ASCII} characters must also be percent encoded when they appear in URI components.) =20 +@findex url-encode-url The function @code{url-encode-url} can be used to convert a URI string containing arbitrary characters to one that is properly percent-encoded in accordance with RFC 3986. @@ -244,11 +246,13 @@ URI Encoding previously uppercase. @end defun =20 +@findex url-hexify-string +@findex url-unhex-string To convert between a string containing arbitrary characters and a percent-encoded all-@acronym{ASCII} string, use the functions @code{url-hexify-string} and @code{url-unhex-string}: =20 =2D@defun url-hexify-string string &optional allowed-chars +@defun url-hexify-string string &optional allowed-chars list-chars This function performs percent-encoding on @var{string}, and returns the result. =20 diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 1ae2213eee65..96fc741a1700 100644 =2D-- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -398,18 +398,23 @@ url--allowed-chars vec)) =20 ;;;###autoload =2D(defun url-hexify-string (string &optional allowed-chars) +(defun url-hexify-string (string &optional allowed-chars list-chars) "URI-encode STRING and return the result. If STRING is multibyte, it is first converted to a utf-8 byte string. Each byte corresponding to an allowed character is left as-is, while all other bytes are converted to a three-character string: \"%\" followed by two upper-case hex digits. =20 =2DThe allowed characters are specified by ALLOWED-CHARS. If this +The allowed characters are specified by ALLOWED-CHARS. If this argument is nil, the list `url-unreserved-chars' determines the =2Dallowed characters. Otherwise, ALLOWED-CHARS should be a vector =2Dwhose Nth element is non-nil if character N is allowed." =2D (unless allowed-chars +allowed characters. Otherwise, if LIST-CHARS is nil or omitted, +ALLOWED-CHARS should be a vector whose Nth element is non-nil if +character N is allowed; if LIST-CHARS is non-nil, ALLOWED-CHARS +should be a list of allowed chars. +" + (if allowed-chars + (when list-chars + (setq allowed-chars (url--allowed-chars allowed-chars))) (setq allowed-chars (url--allowed-chars url-unreserved-chars))) (mapconcat (lambda (byte) (if (aref allowed-chars byte) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYQJXxAAoJECZsfTOCL4R4mkUP/AjHulPxCZMlSoo/h35g8C3g +gYVvmqMJS5DJ9svxMM2Fm9UfsvbN/4ZfB7mVD9ngNtHDdF+6ys+ED6vEihTSHnD GlEMu5N1HgOaMB3uAqrieAuEAQQHX8qR5A4Br+1SuMa5QnynZNkJW+VhECJ3cJQ1 PH+Vne+pI09cgzEorm6mSOsXbsDl2T6PDyLGCK0sxbTTXk6wc5HJQrJ83AGd1FTG FZ57NfJieUs89leXyTlj1SjH3MGeClSaVNKxaLLyXpGrxWYiBpuVt8fJcJct63V4 NK7qAODrqtRO0mLgu1LOBUcASJduQyimAEubEFjpncjlady4J+jodDF+m9ZxaqUV W0CUFoQmj7JtrHu4KH7dJrdJMHc4YSe2BrXGUGzseKgjGFsYVUVaPGj2P7ECye7p uNrBLT5UySL7GLgvNp0cZTjroNLr84jQWBVRj8woBJvHp5RFvvbdmUP4Of2dCcGJ 4XavzI4NSvFT0yshEqn03z/ef/cH3TCbTN1yH1eLX+m14HHSD0CCKCPEyVo8h+V2 VdskaiJxCp5pQNDn8NzCD7rNp8UWMYZFQ+KIAQ3QOJ/6ek/8BoKPcE68k2cHnSqF 3Cmvuoq/1i/r0TvXdtO64IzQqc2EGkp4c2PJTFRXYWE8n4pv5JysHmDiViUvbNZ9 +WKwe6j6bCetpzpltVQi =WJUl -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 00:05:27 2019 Received: (at control) by debbugs.gnu.org; 29 Sep 2019 04:05:27 +0000 Received: from localhost ([127.0.0.1]:51902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEQSc-0003OP-VO for submit@debbugs.gnu.org; Sun, 29 Sep 2019 00:05:27 -0400 Received: from mail-pg1-f173.google.com ([209.85.215.173]:34962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEQSa-0003OD-UK for control@debbugs.gnu.org; Sun, 29 Sep 2019 00:05:25 -0400 Received: by mail-pg1-f173.google.com with SMTP id a24so5489627pgj.2 for ; Sat, 28 Sep 2019 21:05:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=L79zZVyaBjaThSLzlc7YvVdXxDs8jHCi/VWvfaLAUOY=; b=NhX+dtsOabRF5IJXK18pQKOUG37EVOWFmLipnlizHLmQpv8eADwWs6JJfRKXCoQahh 3vU+/lJx2T6+P7xBuBScWNjy9ldSOnUkf1qYh+xr1TjPJmDXUuqg5aJqBX5daSF6XR9N ULMr3316MroMu0qNraiFhK35irQ4Mr2iSMyuKrLW0Rxwq9I6IvkOjFgbbShZNZ+lSoJY qVyKDLauIJd0DJGMfPuYKF0VNraxyPN0VDPtWkyabiD5+1h/zT7ZPjcI020D1Tnjs08q WNsGMzjiz8tVSRbIyFkzEzRjzu2FwylCzANYEWPwNyMKwwRE2rskA7nnNSragCt9Gnce dBUQ== X-Gm-Message-State: APjAAAWayvR0mPkqNzQ2dcTJb3JQupkM45YEjHj/RCMMFupTFZrshJ/k XVgAojV8bJn0F5JlP841HWPpBK2e3Fj3eOH1LQo9K11s+X8= X-Google-Smtp-Source: APXvYqwzsI3b2reAj3raAqkwCWly9cmCit2+IXGcA5yAn0glYRNSkW48pHQSySv6oW1ifG2YLFu/RwBLbtahDWr0hgI= X-Received: by 2002:a62:e917:: with SMTP id j23mr14097761pfh.50.1569729919047; Sat, 28 Sep 2019 21:05:19 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 29 Sep 2019 06:05:08 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 24694 + patch quit Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.173 listed in list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.215.173 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control 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: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 24694 + patch quit Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.173 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.215.173 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BLANK_SUBJECT Subject is present but empty 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different tags 24694 + patch quit From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2019 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24694@debbugs.gnu.org Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.15702174991002 (code B ref 24694); Fri, 04 Oct 2019 19:32:02 +0000 Received: (at 24694) by debbugs.gnu.org; 4 Oct 2019 19:31:39 +0000 Received: from localhost ([127.0.0.1]:43485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGTIh-0000G6-7F for submit@debbugs.gnu.org; Fri, 04 Oct 2019 15:31:39 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGTIf-0000Fx-D6 for 24694@debbugs.gnu.org; Fri, 04 Oct 2019 15:31:37 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1570217490; cv=none; d=zoho.com; s=zohoarc; b=bL2BaCDpv0kO+GQX6Sb+bnYMzMhQslWCVdjJ6cRhdTFTomZo7U+BHT6di+eaPhs3Hi33XoKyFOGqbvdmxH1mDy7tLACOwlQ4IIYfeuCzTxPFtS97fyDkO0Xi9CR2s3Ip3sPsCOsr8aIcm6Tiwr7Bt82mQdUtLCEeys8WowIeMXM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570217490; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=xGYmq9+Z6HOZmqGsnXe+pBhNCChHk7ZxBiUqrG66/Og=; b=U1lh1nIUL37NSM/OAvj2vT5Vv5puAy/p5dBh98ICJ4dhviygQC7U8+3iTPES9ipFOGTUytNVldBVKLjGiAu2+j+JZnYLZYcSoLsY19BRrjTwI2vy4pajcOAzdpvseYQC10/lX6rg3uasYnVWORaIH4YExVle4GYuv5YwbaV9/l4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570217490; s=zoho; d=topbug.net; i=hong@topbug.net; h=Subject:From:To:Cc:Message-ID:References:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=1189; bh=xGYmq9+Z6HOZmqGsnXe+pBhNCChHk7ZxBiUqrG66/Og=; b=UhEms9PpHMjE6sp/5fPd8f4PQ3wcCIZ6Y0mSJ6qvtx6aGCsOpgf64gxqrTNf+wfN hVFqv+rEX7GqROllWuCH/FHp7AdKGKZVI89W81gPjJTqQ/LdzjJhOZ/5tF7V1lH9fPl GDKvY23PLjT8eWGX0xGX5ftWsShXpaXBGjWMSjxs= Received: from [192.168.88.88] (69-215-149-151.lightspeed.sntcca.sbcglobal.net [69.215.149.151]) by mx.zohomail.com with SMTPS id 1570217488331107.73417285181779; Fri, 4 Oct 2019 12:31:28 -0700 (PDT) From: Hong Xu Message-ID: <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> Openpgp: preference=signencrypt Date: Fri, 4 Oct 2019 12:31:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <87oa0vtk3y.fsf@topbug.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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: -1.0 (-) On 12/1/16 1:28 PM, Hong Xu wrote: >=20 > On 2016-10-14 Fri 12:02 GMT-0800, Eli Zaretskii wrote: >=20 >>> From: Hong Xu >>> Date: Fri, 14 Oct 2016 11:24:52 -0700 >>> >>> Currently url-hexify-string has an optional argument allowed-chars, >>> which is a long vector. However, it is more natural to specify a list o= f >>> characters. Internally, the default value of allowed-chars is specified >>> by converting a list of chars to such a vector by using an internal >>> function url--allow-chars. I would like to suggest to document >>> url--allow-chars for external use, thus we can improve the interface of >>> the url-hexify-string function. >>> >>> I can draft the document change, if you agree with me. >> >> Isn't it better to teach url-hexify-string to accept lists as well? >=20 > The patch is attached. >=20 > Make url-hexify-string accept a list of allowed chars. >=20 > =09* url-util.el (url-hexify-string): Accept a list of allowed chars. > =09* url.texi (URI Encoding): Update url-hexify-string doc and index impr= ovements. >=20 It's been a few years... I'm wondering whether this patch is still interest= ing? From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2019 12:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Hong Xu Cc: 24694@debbugs.gnu.org Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.157079750730953 (code B ref 24694); Fri, 11 Oct 2019 12:39:01 +0000 Received: (at 24694) by debbugs.gnu.org; 11 Oct 2019 12:38:27 +0000 Received: from localhost ([127.0.0.1]:58180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIuBe-00083B-PA for submit@debbugs.gnu.org; Fri, 11 Oct 2019 08:38:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIuBa-00082m-E8 for 24694@debbugs.gnu.org; Fri, 11 Oct 2019 08:38:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIuBV-0003oD-6z; Fri, 11 Oct 2019 08:38:17 -0400 Received: from [176.228.60.248] (port=4153 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIuBT-0000hw-PR; Fri, 11 Oct 2019 08:38:16 -0400 Date: Fri, 11 Oct 2019 15:38:03 +0300 Message-Id: <83r23jpidw.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> (message from Hong Xu on Fri, 4 Oct 2019 12:31:27 -0700) References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Hong Xu > Cc: 24694@debbugs.gnu.org > Date: Fri, 4 Oct 2019 12:31:27 -0700 > > > Make url-hexify-string accept a list of allowed chars. > > > > * url-util.el (url-hexify-string): Accept a list of allowed chars. > > * url.texi (URI Encoding): Update url-hexify-string doc and index improvements. > > > > It's been a few years... I'm wondering whether this patch is still interesting? I think it is, yes. Can you send a patch relative to the current master branch? Thanks. From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2019 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24694@debbugs.gnu.org, Hong Xu Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.157080436516031 (code B ref 24694); Fri, 11 Oct 2019 14:33:01 +0000 Received: (at 24694) by debbugs.gnu.org; 11 Oct 2019 14:32:45 +0000 Received: from localhost ([127.0.0.1]:60117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIvyH-0004AU-4k for submit@debbugs.gnu.org; Fri, 11 Oct 2019 10:32:45 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:39028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIvyF-0004AA-LB for 24694@debbugs.gnu.org; Fri, 11 Oct 2019 10:32:44 -0400 Received: by mail-wr1-f44.google.com with SMTP id r3so12201347wrj.6 for <24694@debbugs.gnu.org>; Fri, 11 Oct 2019 07:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=2f4OLWwVQ4gFqoolJ1WDGGdNLX0q5pG0tUTAAkup8B8=; b=f+aP6TFNrFStM3KiFXGSJx3T36F3UNiyCVrQdTKAJv3H35z56GIbTF8ZbyXgj1l2VS 0fCoyPkqRp+7mohGdkR2lfSbfSnerxwD2flM4zv2QnR022+klJAooolQEFKDwE6MFBBe xKCnc6fc2O89rpaujLRErRVRGx5oZfmUEl/u+M3d0wmixYm0VmaKYg0UevIkDKpnvKFi 9a2vaEAb8daIoyNh9aRgFboKldPh6Ito6JbyJxqp5T5G0DXqxgEdqv1t7ANqLKfOSZ02 2iOMOpFhv3kld5DHH1TL9XU9UgWEWaDpynq6SbNbl9S2uhahbgrUtmTnOTlmqKvl79MQ YXsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=2f4OLWwVQ4gFqoolJ1WDGGdNLX0q5pG0tUTAAkup8B8=; b=dOOpCxZ/7Q7kOPiZysmKHRiMGKIoWTBLLVYac1dq2UYLFlADVQzSGgOJJtX4b3C1dQ R7WXkLsWFx90m7Zg+BNI0LD9bRztobV0uZQbdhCrBscYPTmsQlVmKpRqO/qys4qOK45P Kal/9LfVkNAjSAKnsEUB3Z3l5sYwIUGBmgxgEjPxHuAPohHFazB+ZdcMBJ4fBpltX07e zmW1h5YKLn75ziqXFKquV5jjFBcnNxHo80K86k4KaIvP4V1Zck5sRpEM5s3PhoIjw2O/ a5cK2EhImHBccyNimEMlalKJ/Mfcaof/2vBZH313SbzLHwETa0ZYz4WSXUuO0gzV8l2f duWQ== X-Gm-Message-State: APjAAAVpst9VWHTemUmta/cRepdTgpZqrvQNhfXTP0LwirHTWOiEht5l u/crtf/eocej6aglqyt+YD/X6xMmIcc= X-Google-Smtp-Source: APXvYqxbV5pi1/VIsQsqiPwJ3EutK7yppDHtT4U8g3PYvyoq55yGjPfZdo9UrZhkw/AkAHsHA5lu8Q== X-Received: by 2002:a5d:518f:: with SMTP id k15mr12918841wrv.328.1570804357237; Fri, 11 Oct 2019 07:32:37 -0700 (PDT) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id a2sm10447932wrp.11.2019.10.11.07.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 07:32:36 -0700 (PDT) From: Robert Pluim References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> <83r23jpidw.fsf@gnu.org> Date: Fri, 11 Oct 2019 16:32:35 +0200 In-Reply-To: <83r23jpidw.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Oct 2019 15:38:03 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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: -1.0 (-) >>>>> On Fri, 11 Oct 2019 15:38:03 +0300, Eli Zaretskii said: >> From: Hong Xu >> Cc: 24694@debbugs.gnu.org >> Date: Fri, 4 Oct 2019 12:31:27 -0700 >> >> > Make url-hexify-string accept a list of allowed chars. >> > >> > * url-util.el (url-hexify-string): Accept a list of allowed chars. >> > * url.texi (URI Encoding): Update url-hexify-string doc and index improvements. >> > >> >> It's been a few years... I'm wondering whether this patch is still interesting? Eli> I think it is, yes. Can you send a patch relative to the current Eli> master branch? Api nit: if the first argument is going to be a list or a vector, you could just keep one argument and check 'vectorp'. Robert From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2019 02:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Robert Pluim , Eli Zaretskii Cc: 24694@debbugs.gnu.org Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.15708469039456 (code B ref 24694); Sat, 12 Oct 2019 02:22:01 +0000 Received: (at 24694) by debbugs.gnu.org; 12 Oct 2019 02:21:43 +0000 Received: from localhost ([127.0.0.1]:60543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJ72M-0002SS-SB for submit@debbugs.gnu.org; Fri, 11 Oct 2019 22:21:43 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJ72K-0002SJ-Sy for 24694@debbugs.gnu.org; Fri, 11 Oct 2019 22:21:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1570846896; cv=none; d=zoho.com; s=zohoarc; b=kRDZjTMAjg8nI5/Eg0BdUKpPP/xzdE9PrOZO1eDikriw2SL9DOSZlN+4Kf9E6MRkey/0WJbZcDGzPpLvznw8MSJfqsHBRSpoJSsHVxrGZYbq9wLgVa/xJ2gDHrQdBw4q6yUz/twzi8PzpHyQxWgF9Ig5IsXiYXQ1D04ONhyLVtQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570846896; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7bv8lHhyhV5eWnHsTODiDZfaqMfrrd0YbHJxkJRLcr4=; b=LLyJZOWAwMAoVM9WP5YQKsOLEtPu0SX/b7Ft+N/Dm1OLjCR055wzNsdzoP5uxr5x2a0BU9fgDB7XLCKzp5ZjyOwtElTWfB/tAycx5+nRg3BoIJeS1+O/GZ4+8MjW82N20g3EYMCYXkXQ3OWeRdSiGdmHGChx3ahaVyQrDPDeXUI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570846896; s=zoho; d=topbug.net; i=hong@topbug.net; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type; l=3835; bh=7bv8lHhyhV5eWnHsTODiDZfaqMfrrd0YbHJxkJRLcr4=; b=Nv/GE7Ch2jcs65+ZKdfhnJezTjC69rOl21CrWD5Hwzn3IDV6sMhjQlwkoJGyEZLE 1lFdbo+PQ+KBA9zFmNSpl1YGonWEAIuDV/yD4t04jCB54b+n6681CXcT1tGaazot502 AdpBQVp9UZIYvh8HUqVu9KlSOyvNRS95YyKF6RUs= Received: from [192.168.88.88] (69-215-149-151.lightspeed.sntcca.sbcglobal.net [69.215.149.151]) by mx.zohomail.com with SMTPS id 157084689521073.66396316165242; Fri, 11 Oct 2019 19:21:35 -0700 (PDT) References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> <83r23jpidw.fsf@gnu.org> From: Hong Xu Openpgp: preference=signencrypt Message-ID: <6b6be3c2-9e52-7899-df83-d82611029aee@topbug.net> Date: Fri, 11 Oct 2019 19:21:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------10C94F9EB4507EE526206D65" Content-Language: en-US X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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: -1.0 (-) This is a multi-part message in MIME format. --------------10C94F9EB4507EE526206D65 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/11/19 7:32 AM, Robert Pluim wrote: >>>>>> On Fri, 11 Oct 2019 15:38:03 +0300, Eli Zaretskii said: > > >> From: Hong Xu > >> Cc: 24694@debbugs.gnu.org > >> Date: Fri, 4 Oct 2019 12:31:27 -0700 > >> > >> > Make url-hexify-string accept a list of allowed chars. > >> > > >> > * url-util.el (url-hexify-string): Accept a list of allowed chars. > >> > * url.texi (URI Encoding): Update url-hexify-string doc and index improvements. > >> > > >> > >> It's been a few years... I'm wondering whether this patch is still interesting? > > Eli> I think it is, yes. Can you send a patch relative to the current > Eli> master branch? > > Api nit: if the first argument is going to be a list or a vector, you > could just keep one argument and check 'vectorp'. > Thanks, I've updated the patch as attached. --------------10C94F9EB4507EE526206D65 Content-Type: text/x-patch; name="0001-Make-url-hexify-string-accept-a-list-of-allowed-char.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Make-url-hexify-string-accept-a-list-of-allowed-char.pa"; filename*1="tch" >From 4f56c4081f44ab04e3095b5f3b5332d5c3eb1cdf Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Fri, 11 Oct 2019 19:17:23 -0700 Subject: [PATCH] Make url-hexify-string accept a list of allowed chars. * url-util.el (url-hexify-string): Accept a list of allowed chars. * url.texi (URI Encoding): Update url-hexify-string doc and index improvements. --- doc/misc/url.texi | 4 ++++ lisp/url/url-util.el | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/misc/url.texi b/doc/misc/url.texi index e72d9bfe3d2e..ff6c547bec1e 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi @@ -221,6 +221,7 @@ URI Encoding @section URI Encoding @cindex percent encoding +@findex url-generic-parse-url The @code{url-generic-parse-url} parser does not obey RFC 3986 in one respect: it allows non-@acronym{ASCII} characters in URI strings. @@ -233,6 +234,7 @@ URI Encoding @acronym{ASCII} characters must also be percent encoded when they appear in URI components.) +@findex url-encode-url The function @code{url-encode-url} can be used to convert a URI string containing arbitrary characters to one that is properly percent-encoded in accordance with RFC 3986. @@ -244,6 +246,8 @@ URI Encoding previously uppercase. @end defun +@findex url-hexify-string +@findex url-unhex-string To convert between a string containing arbitrary characters and a percent-encoded all-@acronym{ASCII} string, use the functions @code{url-hexify-string} and @code{url-unhex-string}: diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index a390723e73dc..7abd5c216eeb 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -395,9 +395,13 @@ url-hexify-string The allowed characters are specified by ALLOWED-CHARS. If this argument is nil, the list `url-unreserved-chars' determines the -allowed characters. Otherwise, ALLOWED-CHARS should be a vector -whose Nth element is non-nil if character N is allowed." - (unless allowed-chars +allowed characters. Otherwise, ALLOWED-CHARS should be either a +vector whose Nth element is non-nil if character N is allowed or +a list of allowed chars. +" + (if allowed-chars + (unless (vectorp allowed-chars) + (setq allowed-chars (url--allowed-chars allowed-chars))) (setq allowed-chars (url--allowed-chars url-unreserved-chars))) (mapconcat (lambda (byte) (if (aref allowed-chars byte) -- 2.20.1 --------------10C94F9EB4507EE526206D65-- From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2019 09:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Hong Xu Cc: 24694@debbugs.gnu.org, rpluim@gmail.com Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.157087152514214 (code B ref 24694); Sat, 12 Oct 2019 09:13:02 +0000 Received: (at 24694) by debbugs.gnu.org; 12 Oct 2019 09:12:05 +0000 Received: from localhost ([127.0.0.1]:60738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJDRU-0003hB-Ss for submit@debbugs.gnu.org; Sat, 12 Oct 2019 05:12:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJDRT-0003gh-GJ for 24694@debbugs.gnu.org; Sat, 12 Oct 2019 05:12:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJDRO-0006r1-9Q; Sat, 12 Oct 2019 05:11:58 -0400 Received: from [176.228.60.248] (port=4617 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJDRN-0007x0-8F; Sat, 12 Oct 2019 05:11:57 -0400 Date: Sat, 12 Oct 2019 12:11:47 +0300 Message-Id: <835zkunx9o.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <6b6be3c2-9e52-7899-df83-d82611029aee@topbug.net> (message from Hong Xu on Fri, 11 Oct 2019 19:21:34 -0700) References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> <83r23jpidw.fsf@gnu.org> <6b6be3c2-9e52-7899-df83-d82611029aee@topbug.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) > Cc: 24694@debbugs.gnu.org > From: Hong Xu > Date: Fri, 11 Oct 2019 19:21:34 -0700 > > Thanks, I've updated the patch as attached. I have a couple of minor comments: > * url-util.el (url-hexify-string): Accept a list of allowed chars. > * url.texi (URI Encoding): Update url-hexify-string doc and index > improvements. The log message should specify each file with leading directories starting from the root of the Emacs tree. E.g., url-util.el should be shown as lisp/url/url-util.el. Also, please always mention the bug number in the log message. These and other stylistic issues are described in detail in CONTRIBUTE. > +allowed characters. Otherwise, ALLOWED-CHARS should be either a > +vector whose Nth element is non-nil if character N is allowed or > +a list of allowed chars. ^ Please insert a comma where indicated, it will make the sentence easier to read. Thanks. From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2019 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 24694@debbugs.gnu.org, rpluim@gmail.com Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.157090554511451 (code B ref 24694); Sat, 12 Oct 2019 18:40:02 +0000 Received: (at 24694) by debbugs.gnu.org; 12 Oct 2019 18:39:05 +0000 Received: from localhost ([127.0.0.1]:34111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJMIC-0002yc-Uq for submit@debbugs.gnu.org; Sat, 12 Oct 2019 14:39:05 -0400 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJMI9-0002yC-WB for 24694@debbugs.gnu.org; Sat, 12 Oct 2019 14:39:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1570904631; cv=none; d=zoho.com; s=zohoarc; b=Q61N8sNqwUVI3tG0am3T8TmbbGVf++BhDW6jGGUq8u0Xalg7mV6Scz5lkvbipFh6XquAZ+rPzM2NocFT6x4KfWaApiaLpRPfele/5higkL8JBN/Zk+keB7RE2GuWP/ecOt2JnyBrbMSud11Z3XxNIgNc6WwS4Qq8jeAwmn0Nd1U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570904631; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=dtwjQNyImmJHDzqiF0G9ybaVQVOy3sC1eA5LdPkiAbE=; b=KugGef5SXijs5SmZTTnX1qjGbmbsHqJQFiGUV2hfY2fg97Tt6rOmq0p81nGVrXgHV+9hvnQ/cb9UFJooj58N4iv9QU9KbKJh6/vdiebubevVbmLAycLkOxHrgTUI+PmlXefR3RJSlGiBRPtAFKKlRPQahTX82fjzb7FC5QH+eRU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1570904631; s=zoho; d=topbug.net; i=hong@topbug.net; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type; l=4310; bh=dtwjQNyImmJHDzqiF0G9ybaVQVOy3sC1eA5LdPkiAbE=; b=b8svijaXcBVtr+MB6LcQlEp1qObJCCsRWzBu6UMebKiuV27aenpCgUGSZfjq7Bpd hWX8FblVjEO3ifMieN98EhCe2M84zotNbm0P25PsQA0PelG/IGg0hde3AK4NaQQIydt 2XnjqSYKOiMp4x7rNx2zCSZl5fX0H+xeWPDMQvUI= Received: from [192.168.88.88] (69-215-149-151.lightspeed.sntcca.sbcglobal.net [69.215.149.151]) by mx.zohomail.com with SMTPS id 1570904629087924.3103497271802; Sat, 12 Oct 2019 11:23:49 -0700 (PDT) References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> <83r23jpidw.fsf@gnu.org> <6b6be3c2-9e52-7899-df83-d82611029aee@topbug.net> <835zkunx9o.fsf@gnu.org> From: Hong Xu Openpgp: preference=signencrypt Message-ID: <3e23aa8b-248b-8416-206e-eadff0d75a31@topbug.net> Date: Sat, 12 Oct 2019 11:23:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <835zkunx9o.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------4BF361A623307A72F5A9A623" Content-Language: en-US X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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: -1.0 (-) This is a multi-part message in MIME format. --------------4BF361A623307A72F5A9A623 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/12/19 2:11 AM, Eli Zaretskii wrote: > > I have a couple of minor comments: I've attached an update. > > The log message should specify each file with leading directories > starting from the root of the Emacs tree. E.g., url-util.el should be > shown as lisp/url/url-util.el. Done. > > Also, please always mention the bug number in the log message. Done. > >> +allowed characters. Otherwise, ALLOWED-CHARS should be either a >> +vector whose Nth element is non-nil if character N is allowed or >> +a list of allowed chars. ^ > > Please insert a comma where indicated, it will make the sentence > easier to read. I swapped the two choices (the shorter one goes first) and hopefully this will be easier to read. Also updated the doc in url.texi. --------------4BF361A623307A72F5A9A623 Content-Type: text/x-patch; name="0001-Make-url-hexify-string-accept-a-list-of-allowed-char.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Make-url-hexify-string-accept-a-list-of-allowed-char.pa"; filename*1="tch" >From 01bb6f74a4e91534a253bffab0457a27f6cb6111 Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Fri, 11 Oct 2019 19:17:23 -0700 Subject: [PATCH] Make url-hexify-string accept a list of allowed chars (bug#26469) * lisp/url/url-util.el (url-hexify-string): Accept a list of allowed chars. * doc/misc/url.texi (URI Encoding): Update url-hexify-string doc and index improvements. --- doc/misc/url.texi | 8 ++++++-- lisp/url/url-util.el | 10 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/misc/url.texi b/doc/misc/url.texi index e72d9bfe3d2e..79dead185dd0 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi @@ -221,6 +221,7 @@ URI Encoding @section URI Encoding @cindex percent encoding +@findex url-generic-parse-url The @code{url-generic-parse-url} parser does not obey RFC 3986 in one respect: it allows non-@acronym{ASCII} characters in URI strings. @@ -233,6 +234,7 @@ URI Encoding @acronym{ASCII} characters must also be percent encoded when they appear in URI components.) +@findex url-encode-url The function @code{url-encode-url} can be used to convert a URI string containing arbitrary characters to one that is properly percent-encoded in accordance with RFC 3986. @@ -244,6 +246,8 @@ URI Encoding previously uppercase. @end defun +@findex url-hexify-string +@findex url-unhex-string To convert between a string containing arbitrary characters and a percent-encoded all-@acronym{ASCII} string, use the functions @code{url-hexify-string} and @code{url-unhex-string}: @@ -263,8 +267,8 @@ URI Encoding argument is @code{nil}, the allowed characters are those specified as @dfn{unreserved characters} by RFC 3986 (see the variable @code{url-unreserved-chars}). Otherwise, @var{allowed-chars} should -be a vector whose @var{n}-th element is non-@code{nil} if character -@var{n} is allowed. +be either a list of allowed chars, or a vector whose Nth element is +non-nil if character N is allowed. @end defun @defun url-unhex-string string &optional allow-newlines diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index a390723e73dc..e5b09d5a29db 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -395,9 +395,13 @@ url-hexify-string The allowed characters are specified by ALLOWED-CHARS. If this argument is nil, the list `url-unreserved-chars' determines the -allowed characters. Otherwise, ALLOWED-CHARS should be a vector -whose Nth element is non-nil if character N is allowed." - (unless allowed-chars +allowed characters. Otherwise, ALLOWED-CHARS should be either a +list of allowed chars, or a vector whose Nth element is non-nil +if character N is allowed. +" + (if allowed-chars + (unless (vectorp allowed-chars) + (setq allowed-chars (url--allowed-chars allowed-chars))) (setq allowed-chars (url--allowed-chars url-unreserved-chars))) (mapconcat (lambda (byte) (if (aref allowed-chars byte) -- 2.20.1 --------------4BF361A623307A72F5A9A623-- From unknown Sat Aug 09 22:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24694: Document url--allow-chars for external use? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 04:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Hong Xu Cc: 24694@debbugs.gnu.org, Eli Zaretskii , rpluim@gmail.com Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.157102844026566 (code B ref 24694); Mon, 14 Oct 2019 04:48:02 +0000 Received: (at 24694) by debbugs.gnu.org; 14 Oct 2019 04:47:20 +0000 Received: from localhost ([127.0.0.1]:37490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsGO-0006uP-5H for submit@debbugs.gnu.org; Mon, 14 Oct 2019 00:47:20 -0400 Received: from [80.91.231.51] (port=48314 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsGL-0006uG-Q3 for 24694@debbugs.gnu.org; Mon, 14 Oct 2019 00:47:18 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJsGH-0001Zi-6r; Mon, 14 Oct 2019 06:47:15 +0200 From: Lars Ingebrigtsen References: <8337jy4uv3.fsf@gnu.org> <87oa0vtk3y.fsf@topbug.net> <7137f36f-983f-2e78-ebdc-4b2e277410a1@topbug.net> <83r23jpidw.fsf@gnu.org> <6b6be3c2-9e52-7899-df83-d82611029aee@topbug.net> <835zkunx9o.fsf@gnu.org> <3e23aa8b-248b-8416-206e-eadff0d75a31@topbug.net> Date: Mon, 14 Oct 2019 06:47:12 +0200 In-Reply-To: <3e23aa8b-248b-8416-206e-eadff0d75a31@topbug.net> (Hong Xu's message of "Sat, 12 Oct 2019 11:23:48 -0700") Message-ID: <8736fwrl0v.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hong Xu writes: >> I have a couple of minor comments: > > I've attached an update. Thanks; applied to the trunk now. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hong Xu writes: >> I have a couple of minor comments: > > I've attached an update. Thanks; applied to the trunk now. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: topbug.net] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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.3 (/) Hong Xu writes: >> I have a couple of minor comments: > > I've attached an update. Thanks; applied to the trunk now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 00:47:26 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 04:47:26 +0000 Received: from localhost ([127.0.0.1]:37493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsGU-0006uj-FL for submit@debbugs.gnu.org; Mon, 14 Oct 2019 00:47:26 -0400 Received: from [80.91.231.51] (port=48332 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJsGQ-0006uZ-Us for control@debbugs.gnu.org; Mon, 14 Oct 2019 00:47:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJsGN-0001Zq-Of for control@debbugs.gnu.org; Mon, 14 Oct 2019 06:47:21 +0200 Date: Mon, 14 Oct 2019 06:47:19 +0200 Message-Id: <871rvgrl0o.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24694 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 24694 fixed close 24694 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 24694 fixed close 24694 27.1 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: control 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.3 (/) tags 24694 fixed close 24694 27.1 quit