emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mac-protocol no remember window and Symbol's function definition is void: caddr from emacs server
@ 2011-08-30 10:28 David Abernethy
  2011-10-21 17:40 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: David Abernethy @ 2011-08-30 10:28 UTC (permalink / raw)
  To: emacs-orgmode

I have Mac OSX 10.6.8
Emacs 23.3.1 (i686-apple-darwin10.0.0, NS apple-appkit-1038.36) complied from source as /Applications/Emacs.app
Org-mode version 7.7
The latest clone of the git repository for org-mac-protocol
(boundp 'server-process) returns t confirming the emacs server is running
when i run org-remember on Skim there is no Remember buffer created, or entry in inbox.org

I get this script output (i.e. the Applescript works):

/Applications/Emacs.app/Contents/MacOS/bin/emacsclient org-protocol:/mac-remember:/y/skim%3A%2FUsers%2Fdavid%2FDocuments%2Fmedlit%2FStart-D%20Large-Scale%2C%20Practical%2C%20Clinical%20Trial%20for%20Patients%20With%20Depression.pdf%3A%3A3/Start-D%20Large-Scale%2C%20Practical%2C%20Clinical%20Trial%20for%20Patients%20With%20Depression.pdf%3ASkim/Start-D%20Large-Scale%2C%20Practical%2C%20Clinical%20Trial%20for%20Patients%20With%20Depression.pdf/Intervention%0AA%20systematic%20approach%20to%20treatment%20called%20measurement-based%20care:Skim

Here is the relevant part of my .emacs (from line 0)

(require 'recentf)
(recentf-mode 1)
(require 'remember)
(setq org-directory "~/org/")
(setq org-default-notes-file "~/org/inbox.org")
(require 'org-mac-protocol)
(server-start)
(setq org-remember-templates
      '(("AppleScript remember" ?y "* %:shortdesc\n  %:initial\n   Source: %u, %c\n\n  %?" (concat org-directory "inbox.org") "Remember")
	("AppleScript note" ?z "* %?\n\n  Date: %u\n" (concat org-directory "inbox.org") "Notes")))       
(require 'org)

when I run this in a terminal I get this:

Waiting for Emacs...
*ERROR*: Symbol's function definition is void: caddr

Can anyone spot the cause of the problem please?
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mac-protocol no remember window and Symbol's function definition is void: caddr from emacs server
  2011-08-30 10:28 org-mac-protocol no remember window and Symbol's function definition is void: caddr from emacs server David Abernethy
@ 2011-10-21 17:40 ` Bastien
  2011-10-21 18:12   ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-10-21 17:40 UTC (permalink / raw)
  To: David Abernethy; +Cc: emacs-orgmode

Hi David,

David Abernethy <david.abernethy@clear.net.nz> writes:

> Waiting for Emacs...
> *ERROR*: Symbol's function definition is void: caddr

That's quite weird.

> Can anyone spot the cause of the problem please?

Sorry, I cannot.   (OT comment: I suggest you switch from using 
remember to using capture.)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mac-protocol no remember window and Symbol's function definition is void: caddr from emacs server
  2011-10-21 17:40 ` Bastien
@ 2011-10-21 18:12   ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2011-10-21 18:12 UTC (permalink / raw)
  To: Bastien; +Cc: nicholas.dokos, emacs-orgmode, David Abernethy

Bastien <bzg@altern.org> wrote:

> Hi David,
> 
> David Abernethy <david.abernethy@clear.net.nz> writes:
> 
> > Waiting for Emacs...
> > *ERROR*: Symbol's function definition is void: caddr
> 
> That's quite weird.
> 
> > Can anyone spot the cause of the problem please?
> 
> Sorry, I cannot.   (OT comment: I suggest you switch from using 
> remember to using capture.)
> 

C-h f caddr gives me

,----
| caddr is a compiled Lisp function in `cl.el'.
| 
| This function has a compiler macro.
| 
| (caddr X)
| 
| Return the `car' of the `cdr' of the `cdr' of X.
`----

so you have to load cl.el[c] I think.

Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-21 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 10:28 org-mac-protocol no remember window and Symbol's function definition is void: caddr from emacs server David Abernethy
2011-10-21 17:40 ` Bastien
2011-10-21 18:12   ` Nick Dokos

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).