From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: commas in URLs? Date: Fri, 1 Feb 2008 23:31:50 +0100 Message-ID: References: <20080130185346.GA21734@atlantic.linksys.moosehall> <20080131144639.GA21213@atlantic.linksys.moosehall> <2BCD353D-11F1-4932-B03B-43382C9537D8@science.uva.nl> <878x25lws8.fsf@bzg.ath.cx> <7E853237-E67E-4ED6-A8A9-F405CA12A6D5@science.uva.nl> <87fxwdyrxa.fsf@shellarchive.co.uk> <3c12eb8d0802010709q5467003cu9ef02806f2a193e5@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JL4QX-0006Q7-Av for emacs-orgmode@gnu.org; Fri, 01 Feb 2008 17:32:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JL4QU-0006P6-1S for emacs-orgmode@gnu.org; Fri, 01 Feb 2008 17:32:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JL4QT-0006Oz-OS for emacs-orgmode@gnu.org; Fri, 01 Feb 2008 17:32:01 -0500 Received: from wa-out-1112.google.com ([209.85.146.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JL4QS-0005VT-Qv for emacs-orgmode@gnu.org; Fri, 01 Feb 2008 17:32:01 -0500 Received: by wa-out-1112.google.com with SMTP id k34so789207wah.10 for ; Fri, 01 Feb 2008 14:31:54 -0800 (PST) In-Reply-To: <3c12eb8d0802010709q5467003cu9ef02806f2a193e5@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Piotr Zielinski Cc: org-mode mailing list On Feb 1, 2008, at 4:09 PM, Piotr Zielinski wrote: > Just to to add one vote for including commas in the urls by default > (at least in some cases); I often copy long links directly from the > browser and have this problem quite often. > >>>> So URLs should just exclude commas that are followed by a >>>> whitespace >>>> or a line break, not all commas - right? >> >>> Yes, but this is harder to do with a regexp. I wish Emacs had look- >>> ahead assertions like perl. > > What about saying that a url cannot end with a comma, but can contain > commas? Something like [a-z,]*[a-z] (this is a big big > simplication!). Excellent suggestion, yes, this works. Sometimes there are good ways to work around, and in this case this works perfectly. Thanks! - Carsten