Bastien <b...@altern.org> writes: > I see. So (thing-at-point 'url) would return the url/uri depending on > that 'uri-ref property. But as far as I've understood, thing-at-point > does not rely on properties -- am I wrong?
I am proposing a new property which currently available software of course does not support. If we promote it, maybe programmers of these other modes will like it enough to support it. > Unless such a property can be used with thing-at-point (for > `browse-url' and other commands), I'd rather put the burden of finding > the proper ref to htmlize, based on the help-echo area... > > What do you think? I think that the help-echo text is not a robust way to detect URLs. For example, org-mode's help-echo text is "LINK: url", someone else will use just the URL, others will translate "link", and yet others will not use help-echo at all. Modes need a reliable way to tell htmlize (and other interesting parties) about URI references in the buffer. A property seems like an obvious way to do so, and I'd prefer the property not to be specific to htmlize. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode