From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Re: Suppress linkification of external links possible? Date: Tue, 17 Feb 2009 14:05:56 +0100 Message-ID: References: <498334.41451.qm@web28308.mail.ukl.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZPeO-0000zj-Pk for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 08:06:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZPeM-0000yn-U6 for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 08:06:12 -0500 Received: from [199.232.76.173] (port=59701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZPeM-0000yf-OP for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 08:06:10 -0500 Received: from main.gmane.org ([80.91.229.2]:51795 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZPeM-0008If-4b for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 08:06:10 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LZPeL-0002kY-Il for emacs-orgmode@gnu.org; Tue, 17 Feb 2009 13:06:09 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Feb 2009 13:06:09 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Feb 2009 13:06:09 +0000 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: emacs-orgmode@gnu.org Thank you for all the quick responses :) Unfortunately, none of the proposed solutions really applies to the problem I have (That's however entirely my fault, I should have made things a bit clearer.). The workarounds (except for one) concentrate on making a link caused by a literal invalid address to become a valid link. However, what I like to achieve is some sort of escaping that prevents org-mode from generating a link at all (especially for HTML exporting). Giovanni Ridolfi wrote: > You can write: > > 1. [[ ][http://gateway.example.org]] > ^^^ please note the space here > when converted it should refer to > http://your-server/yourfile# Works, but still creates a link. > 2. use valid addresses ;-) Unfortunately, this isn't an option. Sebastian Rose wrote: > a dirty hackish aproach: > > (defun sr-no-link (href) > "Links, that are no links" > "#") > > (setq org-link-abbrev-alist > '(("man" . "http://localhost/devel/man.php?q=man&what=%s") > ;; ... many more ... > ("dummy" . sr-no-link)) > > [[dummy:][http://gateway.example.org]] > > It's still displayed as link then, but the browsers do nothing ;-) Goes in the same direction: a link is still created. Matthew Lundin wrote: > You can customize the variable org-activate-links and remove "plain" > from the list. This would work (I guess), but is AFAIK to be set globally, thus resulting in the loss of all other plain text links. What I was originally looking for was some sort of escape character/special markup that would prevent creating links at all, like \http://...\ . This would also allow us to use other markups on plain text links, something that - AFAIK - is currently not possible (like =\http:...\=). Ulf