emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: emacs-orgmode@gnu.org, Ulf Stegemann <ulf-news@zeitform.de>
Subject: Re: Re: Suppress linkification of external links possible?
Date: Tue, 17 Feb 2009 15:57:41 +0000 (GMT)	[thread overview]
Message-ID: <437629.60030.qm@web28311.mail.ukl.yahoo.com> (raw)
In-Reply-To: <zf.upneixxqkln.fsf@zeitform.de>

--- Mar 17/2/09, Ulf Stegemann <ulf-news@zeitform.de> ha scritto: 
> 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:...\=).

what about post processing your HTML file with 
an /ad hoc/ function (called e.g. my-replace-esc-hlink [1])?

In your file.org you may write \http://gateway.org 
that is exported as:
\<a href="http://gateway.org">http://gateway.org</a>

then open your html buffer and

M-x my-replace-esc-hlink 

to cancel the "\<a href="http://gateway.org">" string

HTH
Giovanni

[1]
(defun my-replace-esc-hlink ()
   "In a HTML file, replace escaped http links"
(interactive)
(goto-char (point-min))
 (while (< (point) (point-max))
    (re-search-forward "\\\\<a href=" nil nil )
  (let (x1 x2)
   (progn                        
    (re-search-backward "<")
    (delete-char -1)
    (setq x1 (point))   ; start  
    (re-search-forward ">") ;end
    (setq x2 (point))            
    (delete-region x1 x2)  ) ) ) )  


      Passa a Yahoo! Mail.

La webmail che ti offre GRATIS spazio illimitato, 
antispam e messenger integrato.
http://it.mail.yahoo.com/              

  reply	other threads:[~2009-02-17 15:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 11:44 Suppress linkification of external links possible? 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
2009-02-17 15:57     ` Giovanni Ridolfi [this message]
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=437629.60030.qm@web28311.mail.ukl.yahoo.com \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=ulf-news@zeitform.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).