emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Re: Suppress linkification of external links possible?
Date: Tue, 17 Feb 2009 14:05:56 +0100	[thread overview]
Message-ID: <zf.upneixxqkln.fsf@zeitform.de> (raw)
In-Reply-To: <498334.41451.qm@web28308.mail.ukl.yahoo.com>

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 <giovanni.ridolfi@yahoo.it> 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 <sebastian_rose@gmx.de> 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&amp;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 <mdl@imapmail.org> 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


  reply	other threads:[~2009-02-17 13:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 11:44 Ulf Stegemann
2009-02-17 12:20 ` Matthew Lundin
2009-02-17 12:46   ` Sebastian Rose
2009-02-17 20:40   ` Carsten Dominik
2009-02-17 12:21 ` Giovanni Ridolfi
2009-02-17 13:05   ` Ulf Stegemann [this message]
2009-02-17 15:57     ` Giovanni Ridolfi
2009-02-18  7:51       ` Ulf Stegemann
2009-02-17 21:27     ` Carsten Dominik
2009-02-18  7:58       ` Ulf Stegemann
2009-02-18 12:29         ` Carsten Dominik
2009-02-18 12:51           ` Ulf Stegemann
2009-02-18  8:07       ` Giovanni Ridolfi
2009-02-17 12:36 ` Sebastian Rose
2009-02-17 12:42 ` Sebastian Rose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=zf.upneixxqkln.fsf@zeitform.de \
    --to=ulf-news@zeitform.de \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Suppress linkification of external links possible?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).