emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] commas in URLs?


From: Adam Spiers
Subject: Re: [Orgmode] commas in URLs?
Date: Thu, 31 Jan 2008 18:22:20 +0000
User-agent: Mutt/1.5.14 (2007-02-12)

On Thu, Jan 31, 2008 at 06:39:19PM +0100, Bastien wrote:
> Carsten Dominik <address@hidden> writes:
> >> On Thu, Jan 31, 2008 at 06:43:25AM +0100, Carsten Dominik wrote:
> >>> Yes, plain links are terminated by (among other) comma.
> >>>
> >>> Please enclose such links into <...> or [[...]]]
> >>
> >> Ah, OK thanks!  Just curious - what's the reasoning behind excluding
> >> commas?
> >
> > So that you can write
> >
> > Popular search engines are http://google.com, http://yahoo.com, and
> > http://ask.com
> 
> So URLs should just exclude commas that are followed by a whitespace or
> a line break, not all commas - right?

Hmm, good point!

> Anyway, I guess 99% of URLs are enclosed in brackets,

Not true here, by a long shot!

$ egrep -c 'https?://' */TODO.org
work/TODO.org:78
personal/TODO.org:180
$ egrep -c '[<[]https?://' */TODO.org
work/TODO.org:8
personal/TODO.org:50

So that's 58 out of 258 enclosed in brackets, which is 22.5%.

> so it might not be worth being fussy on this...

s/not be// ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]