emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: David Maus <dmaus@ictsoc.de>, "Cook, Malcolm" <MEC@stowers.org>,
	"'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
Subject: Re: link export confused when URL parameter is another URL
Date: Fri, 22 Oct 2010 06:28:23 +0200	[thread overview]
Message-ID: <8739ryq2ag.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <57618952-F767-4DCC-8C75-E71DE28FF254@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

At Thu, 21 Oct 2010 19:38:17 +0200,
Carsten Dominik wrote:
> This is a bit hard without lookbehind assertions as they are available
> in perl.  For something like this it is somtimes easier to just to
> the normal match you wanted to use anyway and then confirm by
> taking a separate look at the text before the match
> which is, for example,
>
>    (buffer-substring (point-at-bol) (match-beginning 0))

Thanks, that looks much better than using looking-back.  I've pushed a
possible fix to master.  Plain links that are behind the query part of
something that looks like a bracket link ("\\[\\[\\S-+:\\S-*?") are
now not normalized.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

      reply	other threads:[~2010-10-22  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 20:17 link export confused when URL parameter is another URL Cook, Malcolm
2010-10-21  4:35 ` David Maus
2010-10-21 13:37   ` Cook, Malcolm
2010-10-21 17:38   ` Carsten Dominik
2010-10-22  4:28     ` David Maus [this message]

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=8739ryq2ag.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=MEC@stowers.org \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).