From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Links to tomboy notes in org files Date: Fri, 8 May 2009 17:15:07 -0500 Message-ID: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0812792007==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2YLa-0001ZC-7q for emacs-orgmode@gnu.org; Fri, 08 May 2009 18:15:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2YLZ-0001Z0-JN for emacs-orgmode@gnu.org; Fri, 08 May 2009 18:15:13 -0400 Received: from [199.232.76.173] (port=37012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2YLZ-0001Yt-DZ for emacs-orgmode@gnu.org; Fri, 08 May 2009 18:15:13 -0400 Received: from yx-out-1718.google.com ([74.125.44.157]:62312) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2YLZ-0004iQ-3K for emacs-orgmode@gnu.org; Fri, 08 May 2009 18:15:13 -0400 Received: by yx-out-1718.google.com with SMTP id 3so948346yxi.66 for ; Fri, 08 May 2009 15:15:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0812792007== Content-Type: multipart/alternative; boundary=0016e6434b34112f3704696df6dd --0016e6434b34112f3704696df6dd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello list, Well, first, once again (I don't get tired of doing this) let me congratulate the org developer for such an awesome piece of software! I use org to implement GTD, and most of my list management lies in emacs+org. However, for reference material and notes (that are reference in nature) I use tomboy. I have two inboxes: Remember and Tomboy. When I feel the data is amorphous (I'm not sure yet what it means) I just dump it in inbox.org through Remember to then process -- it may turn out to be reference material and may go to tomboy. However, if it's a note, blog post draft, or any other data that is is bigger in nature and has a reference and that will probably not be accessed that often, I dump into tomboy. I have a main gtd.org file and in its top I have a list of other org files that I have, for example: * Workout plan - [[workout.org]] * Nutrition - [[nutrition.org]] What I would like to do is create a link to a tomboy note. I'm sure it would be possible somehow, but I have no idea how though. Something like: * Check out Blog post draft [[tomboy:"my draft"]] And C-u C-o on it would open this tomboy note in tomboy. Any ideas on how this could be implemented? Thanks! Marcelo. --0016e6434b34112f3704696df6dd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello list,

Well, first, once again (I don't get tired of doing = this) let me congratulate the org developer for such an awesome piece of so= ftware!

I use org to implement GTD, and most of my list management l= ies in emacs+org. However, for reference material and notes (that are refer= ence in nature) I use tomboy. I have two inboxes: Remember and Tomboy.
When I feel the data is amorphous (I'm not sure yet what it means) I ju= st dump it in inbox.org through Remember t= o then process -- it may turn out to be reference material and may go to to= mboy. However,
if it's a note, blog post draft, or any other data that is is bigger in= nature and has a reference and that will probably not be accessed that oft= en, I dump into tomboy.

I have a main gtd= .org file and in its top I have a list of other org files that I have, = for example:
=A0* Workout plan - [[workout.org]]
= =A0* Nutrition - [[nutrition.org]]
=
What I would like to do is create a link to a tomboy note. I'm sure= it would be possible somehow, but I have no idea how though. Something lik= e:

=A0* Check out Blog post draft [[tomboy:"my draft"]]

A= nd C-u C-o on it would open this tomboy note in tomboy.

Any ideas on= how this could be implemented?

Thanks!

Marcelo.

--0016e6434b34112f3704696df6dd-- --===============0812792007== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0812792007==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Links to tomboy notes in org files Date: Sat, 9 May 2009 08:59:16 +0200 Message-ID: References: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2gWr-0006rM-Bm for emacs-orgmode@gnu.org; Sat, 09 May 2009 02:59:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2gWm-0006qP-SQ for emacs-orgmode@gnu.org; Sat, 09 May 2009 02:59:24 -0400 Received: from [199.232.76.173] (port=45089 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2gWm-0006qK-Q4 for emacs-orgmode@gnu.org; Sat, 09 May 2009 02:59:20 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:59017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2gWm-0002U8-6V for emacs-orgmode@gnu.org; Sat, 09 May 2009 02:59:20 -0400 Received: by ewy6 with SMTP id 6so2423400ewy.42 for ; Fri, 08 May 2009 23:59:18 -0700 (PDT) In-Reply-To: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: emacs-orgmode@gnu.org On May 9, 2009, at 12:15 AM, Marcelo de Moraes Serpa wrote: > Hello list, > > Well, first, once again (I don't get tired of doing this) let me > congratulate the org developer for such an awesome piece of software! > > I use org to implement GTD, and most of my list management lies in > emacs+org. However, for reference material and notes (that are > reference in nature) I use tomboy. I have two inboxes: Remember and > Tomboy. > When I feel the data is amorphous (I'm not sure yet what it means) I > just dump it in inbox.org through Remember to then process -- it may > turn out to be reference material and may go to tomboy. However, > if it's a note, blog post draft, or any other data that is is bigger > in nature and has a reference and that will probably not be accessed > that often, I dump into tomboy. > > I have a main gtd.org file and in its top I have a list of other org > files that I have, for example: > * Workout plan - [[workout.org]] > * Nutrition - [[nutrition.org]] > > What I would like to do is create a link to a tomboy note. I'm sure > it would be possible somehow, but I have no idea how though. > Something like: > > * Check out Blog post draft [[tomboy:"my draft"]] > > And C-u C-o on it would open this tomboy note in tomboy. > > Any ideas on how this could be implemented? Is there a command line command that will fire up tomboy and display a specific note? The this could be easily done. - Carsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: djcb.bulk@gmail.com Subject: Re: Links to tomboy notes in org files Date: Sun, 10 May 2009 15:33:07 +0300 Message-ID: <20090510123307.GG16288@mindcrime> References: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> Reply-To: djcb@djcbsoftware.nl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M38DU-0004eW-Fj for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:33:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M38DQ-0004c5-Lu for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:33:16 -0400 Received: from [199.232.76.173] (port=36093 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M38DQ-0004bw-GT for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:33:12 -0400 Received: from emh03.mail.saunalahti.fi ([62.142.5.109]:51418) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M38DQ-00021E-4C for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:33:12 -0400 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi, On Sat, May 09, 2009 at 08:59:16AM +0200, Carsten Dominik wrote: >> I have a main gtd.org file and in its top I have a list of other org >> files that I have, for example: >> * Workout plan - [[workout.org]] >> * Nutrition - [[nutrition.org]] >> >> What I would like to do is create a link to a tomboy note. I'm sure it >> would be possible somehow, but I have no idea how though. Something >> like: >> >> * Check out Blog post draft [[tomboy:"my draft"]] >> >> And C-u C-o on it would open this tomboy note in tomboy. >> >> Any ideas on how this could be implemented? > > Is there a command line command that will fire up tomboy and display a > specific note? The this could be easily done. $ tomboy --open-note 'MyNote' Alternatively, at least in Emacs 23+, one can use Tomboy's D-BUS API, which offers some ways for deeper integration with Emace: http://emacs-fu.blogspot.com/2009/01/using-d-bus-example.html Best wishes, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Links to tomboy notes in org files Date: Sun, 10 May 2009 14:53:17 +0200 Message-ID: <5FA5CAD3-A890-47AB-B63F-91221FD1D622@gmail.com> References: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> <20090510123307.GG16288@mindcrime> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M38X0-0002Q1-Nw for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:53:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M38Wv-0002Ot-UR for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:53:26 -0400 Received: from [199.232.76.173] (port=39222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M38Wv-0002Om-QJ for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:53:21 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:61984) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M38Wv-0004Tz-Bj for emacs-orgmode@gnu.org; Sun, 10 May 2009 08:53:21 -0400 Received: by ey-out-1920.google.com with SMTP id 13so585579eye.24 for ; Sun, 10 May 2009 05:53:20 -0700 (PDT) In-Reply-To: <20090510123307.GG16288@mindcrime> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: djcb@djcbsoftware.nl Cc: emacs-orgmode@gnu.org On May 10, 2009, at 2:33 PM, djcb.bulk@gmail.com wrote: > Hi, > > On Sat, May 09, 2009 at 08:59:16AM +0200, Carsten Dominik wrote: > >>> I have a main gtd.org file and in its top I have a list of other org >>> files that I have, for example: >>> * Workout plan - [[workout.org]] >>> * Nutrition - [[nutrition.org]] >>> >>> What I would like to do is create a link to a tomboy note. I'm >>> sure it >>> would be possible somehow, but I have no idea how though. Something >>> like: >>> >>> * Check out Blog post draft [[tomboy:"my draft"]] >>> >>> And C-u C-o on it would open this tomboy note in tomboy. >>> >>> Any ideas on how this could be implemented? >> >> Is there a command line command that will fire up tomboy and >> display a >> specific note? The this could be easily done. > > $ tomboy --open-note 'MyNote' Something like the following (untested...) (require 'org) (org-add-link-type "tomboy" 'org-tomboy-open) (defun org-tomboy-open (note) (let ((outbuf (get-buffer-create "*Org Shell Output*")) (cmd (concat "tomboy --open-note " (shell-quote-argument note) " &"))) (with-current-buffer outbuf (erase-buffer)) (shell-command cmd outbuf outbuf))) HTH - Carsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Links to tomboy notes in org files Date: Sun, 10 May 2009 13:01:54 -0400 Message-ID: <21519.1241974914@gamaville.dokosmarshall.org> References: <1e5bcefd0905081515j6d0c7f1fvd901b259c5b60e1d@mail.gmail.com> <20090510123307.GG16288@mindcrime> <5FA5CAD3-A890-47AB-B63F-91221FD1D622@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3CQG-0005F0-Cw for emacs-orgmode@gnu.org; Sun, 10 May 2009 13:02:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3CQF-0005EO-IC for emacs-orgmode@gnu.org; Sun, 10 May 2009 13:02:43 -0400 Received: from [199.232.76.173] (port=56066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3CQF-0005E6-57 for emacs-orgmode@gnu.org; Sun, 10 May 2009 13:02:43 -0400 Received: from qmta01.westchester.pa.mail.comcast.net ([76.96.62.16]:42969) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3CQE-000644-Ft for emacs-orgmode@gnu.org; Sun, 10 May 2009 13:02:42 -0400 In-Reply-To: Message from Carsten Dominik of "Sun, 10 May 2009 12:53:17 -0000." <5FA5CAD3-A890-47AB-B63F-91221FD1D622@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: "djcb@djcbsoftware.nl" , "emacs-orgmode@gnu.org" Carsten Dominik wrote: > > On May 10, 2009, at 2:33 PM, djcb.bulk@gmail.com wrote: > > >>> What I would like to do is create a link to a tomboy note. I'm > >>> sure it would be possible somehow, but I have no idea how > >>> though. Something like: > >>> > >>> * Check out Blog post draft [[tomboy:"my draft"]] > >>> > >>> And C-u C-o on it would open this tomboy note in tomboy. > >>> > > > > $ tomboy --open-note 'MyNote' > > Something like the following (untested...) > > (require 'org) > (org-add-link-type "tomboy" 'org-tomboy-open) > > (defun org-tomboy-open (note) > (let ((outbuf (get-buffer-create "*Org Shell Output*")) > (cmd (concat "tomboy --open-note " (shell-quote-argument note) " &"))) > (with-current-buffer outbuf (erase-buffer)) > (shell-command cmd outbuf outbuf))) > I ran a very simple test and this worked very nicely. The only caution for the original poster is that if the title of the note contains spaces, the link has to look like this: [[tomboy:my%20draft][draft]] not like this: > >>> ... [[tomboy:"my draft"]] C-c C-l will encode spaces properly, but don't enter quotes (unless your tomboy note really includes quotes in the title). HTH, Nick