From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#24694: Document url--allow-chars for external use? Date: Fri, 14 Oct 2016 12:36:04 -0700 Message-ID: <7eafa26e-e158-be3c-84a2-4e95c04f2e50@topbug.net> References: <8337jy4uv3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="96JOPJ34vi3VGvO3IXtHgaDTbSwUiH6hW" X-Trace: blaine.gmane.org 1476473870 20279 195.159.176.226 (14 Oct 2016 19:37:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 19:37:50 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 Cc: 24694@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 21:37:46 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv8IA-0001Z2-5L for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 21:37:18 +0200 Original-Received: from localhost ([::1]:49165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8I8-00057z-MP for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Oct 2016 15:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8Hz-00055j-8z for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 15:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv8Hu-0004Lq-3w for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 15:37:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bv8Hu-0004Ll-0n for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 15:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bv8Ht-0001Zx-PX for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 15:37:01 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 24694-submit@debbugs.gnu.org id=B24694.14764737845997 (code B ref 24694); Fri, 14 Oct 2016 19:37:01 +0000 Original-Received: (at 24694) by debbugs.gnu.org; 14 Oct 2016 19:36:24 +0000 Original-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 Original-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 Original-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) In-Reply-To: <8337jy4uv3.fsf@gnu.org> X-Zoho-Virus-Status: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124483 Archived-At: 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--