emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Re: Customizable link types
Date: Mon, 25 Sep 2006 20:48:48 +0200	[thread overview]
Message-ID: <00a669a897c5654f701293274a4f9ab5@science.uva.nl> (raw)
In-Reply-To: <kplko7ompt.fsf@flexo.vxitech.com>

Hi Dale,

thanks for the extra information.

Seems to me that there are really two issues here.  One is the idea you 
point out with the bugzilla example.  I would like to call this "link 
abbreviations".  I like the idea and think it could be used in many 
ways.  It might also be useful to allow
setting such abbreviations on a per-file base with lines like

#+LINKABBREV: Bugzilla "http://10.1.2.9/bugzilla/show_bug.cgi?id="


The second issue you are mentioning is an extensible link system like 
muse has it,
where new link types like gnus, vm and other can be defined and hooked 
into the the system.  The muse system is of an admirable generality, 
but so far I have chosen not to follow the same road, because (at least 
in planner, I don't know about muse itself) the generality forces you 
to put a long list of require statements into .emacs before the system 
will function properly even for the standard cases most people need.  A 
system which just has all important types built-in and active seems 
more user-frienly (though less hacker-friendly) to me.

- Carsten

On Sep 25, 2006, at 19:55, Dale Smith wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> I am not using planner.el, so I can only guess how this feature is
>> supposed to work.  Would you care to expand?
>
> Sure.  I'm acually abusing interwiki links.  In my planner files, I
> can quicky use "Bugzilla::1234" as a link to bug number 1234.  Planner
> sees that as an interwiki link (the ::) .  Pressing return over the
> link while in planner or following the link in the published html
> actually goes to http://10.1.2.9/bugzilla/show_bug.cgi?id=1234
>
> I *could* use something like
> [[http://10.1.2.9/bugzilla/show_bug.cgi?id=1234][Bug# 1234]], but
> that's a lot to type in.  Hmm.  It wouldn't be too hard to whip up
> some elist that generates a link like that.
>
> What I'm really asking is a way to extend the current list of link
> types (gnus:, file:, vm:, etc.) with some user-defined types.
>
>
>> On Sep 22, 2006, at 23:57, Dale Smith wrote:
>>
>>> I've been trying out org-mode instead of planner-el for a few weeks
>>> now.  I like it.  However, there are a few things I miss.  One is
>>> how easy it was to ad my own hyperlink types.  This was all I
>>> needed to add Bugzilla::<number> links:
>>>
>>> (setq muse-wiki-interwiki-alist
>>>       '(("Bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")))
>
> -Dale
>

      parent reply	other threads:[~2006-09-25 18:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 21:57 Customizable link types Dale Smith
2006-09-25  7:01 ` Carsten Dominik
2006-09-25 17:55   ` Dale Smith
2006-09-25 18:29     ` Dale Smith
2006-09-26  5:48       ` Carsten Dominik
2006-09-25 18:48     ` Carsten Dominik [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=00a669a897c5654f701293274a4f9ab5@science.uva.nl \
    --to=dominik@science.uva.nl \
    --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).