From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: (no subject) Date: Thu, 21 Dec 2006 11:43:55 -0700 Message-ID: References: <20061221.075538.77050043.wl@gnu.org> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166727974 14605 80.91.229.10 (21 Dec 2006 19:06:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2006 19:06:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 21 20:06:13 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxTF6-0005W3-RT for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2006 20:06:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxTF6-0006Et-Cr for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2006 14:06:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxTEN-0005xr-1e for emacs-devel@gnu.org; Thu, 21 Dec 2006 14:05:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxTEB-0005ml-Lj for emacs-devel@gnu.org; Thu, 21 Dec 2006 14:05:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxTEB-0005mS-CY for emacs-devel@gnu.org; Thu, 21 Dec 2006 14:05:15 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GxTEA-00016i-QG for emacs-devel@gnu.org; Thu, 21 Dec 2006 14:05:15 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GxTDy-0002dd-8t for emacs-devel@gnu.org; Thu, 21 Dec 2006 20:05:02 +0100 Original-Received: from c-24-9-156-178.hsd1.co.comcast.net ([24.9.156.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Dec 2006 20:05:02 +0100 Original-Received: from kevin.d.rodgers by c-24-9-156-178.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Dec 2006 20:05:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-9-156-178.hsd1.co.comcast.net User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) In-Reply-To: <20061221.075538.77050043.wl@gnu.org> 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:64062 Archived-At: Werner LEMBERG wrote: > [CVS 2006-10-28] > > I've just seen the following link in an email: > > http://www.google.com/codesearch?hl=en&q=+pango_layout_(iter_)%3Fget_(lines%3F%7Crun)%5B%5E_%5D&start=50&sa=N > > As you can probably can see immediately, thingatpt only colorizes (and > uses) the string up to `..._layout_', stopping at the opening > parenthesis. > > Is this intentional or is this a bug? It is intentional, as parentheses are explicitly excluded from URLs by thing-at-point-url-path-regexp. It could be a bug, as parentheses are defined as reserved characters in URIs, which are only sometimes percent- encoded, depending on the context; but I think they are allowed within both the path and query components of generic URIs (without being percent-encoded). So just as the slashes in the URI above should not need to be %-encoded (since they follow the ?, they are clearly within the query component), neither should the parentheses need to be %-encoded -- but perhaps they ought to be. -- Kevin Rodgers Denver, Colorado, USA