From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Suckling Subject: Re: ANN: org-mac-protocol, let's try again Date: Thu, 23 Jul 2009 14:49:13 +0100 Message-ID: References: <71454fac0907211215i315237fcjf1d23f5eee76b4e2@mail.gmail.com> <71454fac0907230247g74cde098s2a628e1874fd2b77@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTyfo-0004qD-At for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 09:49:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTyfj-0004pj-A2 for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 09:49:27 -0400 Received: from [199.232.76.173] (port=33091 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTyfj-0004pg-4j for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 09:49:23 -0400 Received: from mail-ew0-f213.google.com ([209.85.219.213]:36818) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTyfi-00013I-Jw for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 09:49:22 -0400 Received: by ewy9 with SMTP id 9so1073113ewy.42 for ; Thu, 23 Jul 2009 06:49:20 -0700 (PDT) In-Reply-To: <71454fac0907230247g74cde098s2a628e1874fd2b77@mail.gmail.com> (Greg Newman's message of "Thu, 23 Jul 2009 05:47:14 -0400") 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: Org Mode List On Thu, 23 Jul 2009 05:47:14 -0400, Greg Newman wrote: > I'm using 23.x pretests and haven't updated in almost a month so mine is > probably much older than yours. I am running 6.28b of org which I think you > are too. Not sure what the issue is. > Got it (I think)... org-mac-protocol.el still isn't loading. What is happening is: org-link.scpt doesn't require org-mac-protocol.el - it just uses the org-protocol:/store-link:/ protocol which is defined in org-protocol.el However, org-note.scpt and org-remember.scpt use the org-protocol:/mac-remember:/ protocol which is defined in org-mac-protocol.el (along with frame moving and application switching functions). But, org-mac-protocol.el hasn't loaded. So emacsclient trys to open the file :/mac-remember:/z/foo/bar which tramp intercepts and the barfs on. I'm not sure why org-mac-protocol.el is not loading. But my guess is that the variable org-remember-templates is not set when you try to load org-mac-protocol.el and so it barfs on the (add-to-list 'org-remember-templates ...). Relevant section of my .emacs looks like: ,---- | (autoload 'remember "remember" "remember mode" t) | (load "~/.emacs.d/remember-init") | ;; assorted remember initializations including | (setq org-remember-templates '((my templates))) | | (setq org-modules '(org-bibtex org-id org-info org-mac-message org-mac-iCal org-w3m org-elisp-symbol org-protocol org-mac-protocol org-gnus org-jsinfo)) | | (require 'org-install) | (add-hook 'org-load-hook | (lambda () | (load "~/.emacs.d/org-init"))) ;; all my org settings `---- If this helps, I'll either rewrite the documentation of remove the (add-to-list 'org-remember-templates ... ) and ask users to add their own templates. Christopher > On Tue, Jul 21, 2009 at 7:33 PM, Christopher Suckling wrote: > >> On Tue, 21 Jul 2009 15:15:09 -0400, Greg Newman wrote: >> >> > Chris,I figured out what my issue was last night. My org-mode 6.25 was >> > stomping on my git clone of 6.28b. With that fixed i can get it to >> work... >> > with only links. >> > With notes and remember i get the following error every time; any clues? >> > >> > Process *tramp/scp org-protocol* exited abnormally with code 255 >> > >> >> Greg, I did come across this. Unfortunately, I didn't make a note of >> when or where and can't reproduce it this evening. >> >> I have a suspicion, but only a suspicion, that it may have resulted from >> a (now fixed) tramp bug in CVS Emacs. I last complied on 15 July. Could >> this be a possibility? >> >> [There are gaps in the above logic; I can't figure out why org-link >> should work whilst org-note and org-remember bork. I'm clutching at >> straws. No idea why it is so fragile.] >> >> Christopher >> > _______________________________________________ > 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