From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stephen J. Barr" Subject: hook on link creation Date: Thu, 6 Aug 2015 17:10:01 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113495b207fb36051cad7575 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNVEg-0000oS-Mz for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 20:10:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNVEc-0002sh-ND for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 20:10:10 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:36449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNVEc-0002kr-Gs for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 20:10:06 -0400 Received: by lagz9 with SMTP id z9so13040153lag.3 for ; Thu, 06 Aug 2015 17:10:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a113495b207fb36051cad7575 Content-Type: text/plain; charset=UTF-8 Greetings, I have been thinking about a project I would like to do to add some custom semantic markup to an org-mode. I think that links may be the best way to do this. Looking at this page: http://orgmode.org/manual/Adding-hyperlink-types.html I am wondering if there is a way to have a hook that gets called on link creation. E.g., if I type stevejb:my_word. I would like to immediately have "stevejb:my_word" sent on dbus or something like that. Is there existing infrastructure for this? Is this the right approach? Thanks, Stephen Stephen J. Barr PhD Student, Operations Management Dept: Information Systems and Operations Management (ISOM) Michael G. Foster School of Business University of Washington Phone: 425 516 5012 Email: stevejb@uw.edu Twitter: @stevejb Website: http://steve.planetbarr.com --001a113495b207fb36051cad7575 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Greetings,

I have been thinking about a= project I would like to do to add some custom semantic markup to an org-mo= de. I think that links may be the best way to do this. Looking at this page= :


I am wondering if there is a way to have a hook t= hat gets called on link creation. E.g., if I type stevejb:my_word. I would = like to immediately have "stevejb:my_word" sent on dbus or someth= ing like that.

Is there existing infrastructure fo= r this? Is this the right approach?

Thanks,
<= div>Stephen


Stephen J. Barr
PhD Student, Oper= ations Management
Dept: = Information Systems and Operations Management (ISOM)
Michael G. Foster School of Busines= s
University of Washington
Phone: =C2=A0425 516 5012
<= font size=3D"1">Email: = stevejb@uw.edu
Twitter: @stevejb

=
--001a113495b207fb36051cad7575--