From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mah@everybody.org (Mark A. Hershberger) Newsgroups: gmane.emacs.devel Subject: Re: HTML and URL escaping functions Date: Mon, 14 Jun 2010 08:38:31 -0400 Message-ID: <871vc9n60o.fsf@everybody.org> References: <201006131226.27512.amax@redsymbol.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276519136 7525 80.91.229.12 (14 Jun 2010 12:38:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 12:38:56 +0000 (UTC) Cc: Aaron Maxwell To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 14 14:38:54 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OO8wG-0004cB-SO for ged-emacs-devel@m.gmane.org; Mon, 14 Jun 2010 14:38:53 +0200 Original-Received: from localhost ([127.0.0.1]:59636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8wG-0002jd-9P for ged-emacs-devel@m.gmane.org; Mon, 14 Jun 2010 08:38:52 -0400 Original-Received: from [140.186.70.92] (port=50479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8w9-0002iC-Vy for emacs-devel@gnu.org; Mon, 14 Jun 2010 08:38:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO8w8-0002pX-97 for emacs-devel@gnu.org; Mon, 14 Jun 2010 08:38:45 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59730) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO8w8-0002oz-3B for emacs-devel@gnu.org; Mon, 14 Jun 2010 08:38:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OO8w4-0004UC-Ju for emacs-devel@gnu.org; Mon, 14 Jun 2010 14:38:40 +0200 Original-Received: from 24.152.221.116.res-cmts.eph.ptd.net ([24.152.221.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jun 2010 14:38:40 +0200 Original-Received: from mah by 24.152.221.116.res-cmts.eph.ptd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jun 2010 14:38:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 24.152.221.116.res-cmts.eph.ptd.net X-URL: http://hexmode.com/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:425NXJMe+P5drg73U0txU6aLHbg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125902 Archived-At: Aaron Maxwell writes: > ; (url-quote-str "ab/c de/f") > ; "ab/c%20de/f" > ; (url-unquote-str "ab/c%20de/f") > ; "ab/c de/f" Check out url-hexify-string in mediawiki-el I'm planning on adding the url-* functions there to Emacs' url.el libraries soon. For HTML-escaping a string, see xml.el or nxml.el. Mark. -- http://hexmode.com/ Embrace Ignorance. Just don't get too attached.