* URLs are not always linked properly @ 2009-11-30 19:10 PT 2009-11-30 19:47 ` Carsten Dominik 0 siblings, 1 reply; 4+ messages in thread From: PT @ 2009-11-30 19:10 UTC (permalink / raw To: emacs-orgmode For example, for this URL the bracketed part is not handled as part of the URL, though it should be: http://en.wikipedia.org/wiki/Lost_(TV_series) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URLs are not always linked properly 2009-11-30 19:10 URLs are not always linked properly PT @ 2009-11-30 19:47 ` Carsten Dominik 2009-12-02 3:19 ` William Henney 0 siblings, 1 reply; 4+ messages in thread From: Carsten Dominik @ 2009-11-30 19:47 UTC (permalink / raw To: PT; +Cc: emacs-orgmode Hi PT, could you please repeat your subject in the mail when it is part of the running text of the report. If you don't, the text in the mail does not make sense. On Nov 30, 2009, at 8:10 PM, PT wrote: > For example, for this URL the bracketed part is not handled as part > of the URL, > though it should be: > > http://en.wikipedia.org/wiki/Lost_(TV_series) More often than not parenthesis are around a link, not part of it - this is why the plain link heuristics does not allow them. Please surround such links with <..> or [[..]] - Carsten ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URLs are not always linked properly 2009-11-30 19:47 ` Carsten Dominik @ 2009-12-02 3:19 ` William Henney 2009-12-09 14:15 ` Carsten Dominik 0 siblings, 1 reply; 4+ messages in thread From: William Henney @ 2009-12-02 3:19 UTC (permalink / raw To: Carsten Dominik; +Cc: PT, emacs-orgmode On Mon, Nov 30, 2009 at 11:47 AM, Carsten Dominik <carsten.dominik@gmail.com> wrote: > > On Nov 30, 2009, at 8:10 PM, PT wrote: > >> For example, for this URL the bracketed part is not handled as part of the >> URL, >> though it should be: >> >> http://en.wikipedia.org/wiki/Lost_(TV_series) > > More often than not parenthesis are around a link, not part of it - this is > why the plain link heuristics does not allow them. Please surround such > links with <..> or [[..]] > > Coincidentally, just last Friday John Gruber posted a regex that deals nicely with these cases: http://daringfireball.net/2009/11/liberal_regex_for_matching_urls I think it is a perl-style regex, but perhaps it could be ported to emacs regexes. Cheers Will -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URLs are not always linked properly 2009-12-02 3:19 ` William Henney @ 2009-12-09 14:15 ` Carsten Dominik 0 siblings, 0 replies; 4+ messages in thread From: Carsten Dominik @ 2009-12-09 14:15 UTC (permalink / raw To: William Henney; +Cc: PT, emacs-orgmode On Dec 2, 2009, at 4:19 AM, William Henney wrote: > On Mon, Nov 30, 2009 at 11:47 AM, Carsten Dominik > <carsten.dominik@gmail.com> wrote: >> >> On Nov 30, 2009, at 8:10 PM, PT wrote: >> >>> For example, for this URL the bracketed part is not handled as >>> part of the >>> URL, >>> though it should be: >>> >>> http://en.wikipedia.org/wiki/Lost_(TV_series) >> >> More often than not parenthesis are around a link, not part of it - >> this is >> why the plain link heuristics does not allow them. Please >> surround such >> links with <..> or [[..]] >> >> > > Coincidentally, just last Friday John Gruber posted a regex that deals > nicely with these cases: > > http://daringfireball.net/2009/11/liberal_regex_for_matching_urls > > I think it is a perl-style regex, but perhaps it could be ported to > emacs regexes. Yes, this one looks good. I am now using part of this expression (but in Org-mode we insist on a protocol like "http:"). This change *might* break matching in XEmacs, I have tried to make it work, but please, XEmacs users, let me know if there are problems. Thanks Will! - Carsten > > Cheers > > Will > > > -- > > Dr William Henney, Centro de Radioastronomía y Astrofísica, > Universidad Nacional Autónoma de México, Campus Morelia ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-09 14:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-30 19:10 URLs are not always linked properly PT 2009-11-30 19:47 ` Carsten Dominik 2009-12-02 3:19 ` William Henney 2009-12-09 14:15 ` Carsten Dominik
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.