all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Feature request: custom link handlers
Date: Fri, 30 Nov 2007 15:01:41 +0000	[thread overview]
Message-ID: <87mysvg4kq.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20071130T144315-65@post.gmane.org> (Tom Weissmann's message of "Fri, 30 Nov 2007 14:44:17 +0000 (UTC)")

Tom Weissmann <trmsw@yahoo.co.uk> writes:

> Bastien <bzg <at> altern.org> writes:
>
>> > I think what you are trying to achieve is better described as a new
>> > hyperlink mechanism rather than an extension of abbrev links.
>> 
>> Sorry, should read: "as a new hyperlink type"...
>
> Yes. But a cheap alternative is just to let abbrev link functions
> return nil if they want to.

I find this a bit confusing to use a function that expands an
abbreviation only for its side effects.

But maybe you can just tell your function to return a string:

(defun org-link-abbrev-bookmark (bookmark)
  "Opens a bookmark in another window"
  (progn (bookmark-jump-other-window bookmark) ""))

No?

-- 
Bastien

  reply	other threads:[~2007-11-30 15:01 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
2007-11-30 14:14       ` Bastien
2007-11-30 14:44         ` Tom Weissmann
2007-11-30 15:01           ` Bastien [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mysvg4kq.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.