From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Feature request: custom link handlers
Date: Fri, 30 Nov 2007 14:02:04 +0000 [thread overview]
Message-ID: <873aunj0gz.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20071130T132530-597@post.gmane.org> (Tom Weissmann's message of "Fri, 30 Nov 2007 13:50:55 +0000 (UTC)")
Tom Weissmann <trmsw@yahoo.co.uk> writes:
> Bastien <bzg <at> altern.org> writes:
>
>> Are you suggesting to replace "http://www.google.com/search?q=%s" by a
>> function that would handle the text after "::" in a different way than
>> `format' is currently doing?
> No.
>
> Here's an example. I sometimes create links to Emacs bookmarks, eg
> "bmk:org-mode-tweaks"
Thanks for the example.
> It would be very cool to do C-c C-l, entry "bmk:" as the bookmark
> type, and then have minibuffer completion of all the existing
> bookmarks, but `org-store-link' works fine :)
I think what you are trying to achieve is better described as a new
hyperlink mechanism rather than an extension of abbrev links.
Check this:
(info "(org)Adding hyperlink types")
You can have a new hyperlink facility for bookmarked files. When an a
buffer visiting a file, storing a link to this buffer would really store
a link to a bookmark, and when visiting a link to a bookmark Emacs will
find the bookmark.
What do you think?
--
Bastien
next prev parent reply other threads:[~2007-11-30 14:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-30 10:25 Feature request: custom link handlers Tom Weissmann
2007-11-30 12:46 ` Bastien
2007-11-30 13:50 ` Tom Weissmann
2007-11-30 14:02 ` Bastien [this message]
2007-11-30 14:14 ` Bastien
2007-11-30 14:44 ` Tom Weissmann
2007-11-30 15:01 ` Bastien
2007-11-30 16:22 ` Tom Weissmann
2007-11-30 16:37 ` Tom Weissmann
2007-11-30 16:51 ` Bastien
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=873aunj0gz.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--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).