emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Link abbreviations
@ 2006-10-03 19:37 Eddward DeVilla
  2006-10-10 22:15 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Eddward DeVilla @ 2006-10-03 19:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

  I had a question about link abbreviations.  The manual says that you
can have a function that parses the abbreviated link and returns a
normal link.  Is there a way to do that with in an org file using
"#+LINK:" or the like?  I'm guessing the answer is no and the reason
being security.

Edd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Link abbreviations
  2006-10-03 19:37 Link abbreviations Eddward DeVilla
@ 2006-10-10 22:15 ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2006-10-10 22:15 UTC (permalink / raw)
  To: Eddward DeVilla; +Cc: emacs-orgmode


On Oct 3, 2006, at 21:37, Eddward DeVilla wrote:

> Hi,
>
>  I had a question about link abbreviations.  The manual says that you
> can have a function that parses the abbreviated link and returns a
> normal link.  Is there a way to do that with in an org file using
> "#+LINK:" or the like?  I'm guessing the answer is no and the reason
> being security.

This is not yet possible, main reason is that I just did not implement 
it.  Security is, however, another good reason which I did not really 
think about.

You could use file variables to set org-link-abbrev-alist on a 
buffer-local basis.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Link Abbreviations
@ 2010-04-28 17:47 David Frascone
  0 siblings, 0 replies; 3+ messages in thread
From: David Frascone @ 2010-04-28 17:47 UTC (permalink / raw)
  To: emacs-orgmode


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

I found the link abbreviations, and I got it to do this:
[[CASE:CASE-10001]] by using "CASE", "http://mysite/cases/browse" as the
key & url handler.  But, is there any way to do a regexp, so every
reference that looks like CASE-12345 will automagically be url-ified?

I guess what I want is a slightly more magical behavior.  The same way that
e-mailers notice that http://someurl.company.com/ is a URL, and make it
clickable, I'd like some way to make other regexp's clickable.  Any ideas?

[-- Attachment #1.2: Type: text/html, Size: 632 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-28 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-03 19:37 Link abbreviations Eddward DeVilla
2006-10-10 22:15 ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2010-04-28 17:47 Link Abbreviations David Frascone

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