Thanks mate, that works fine


On Sun, Oct 9, 2011 at 5:34 PM, Jambunathan K <kjambunathan@gmail.com> wrote:

Seems like a bug to me.

As a temporary workaround add this to your .emacs. (Do this only if your
are running emacs >= 23.2)

--8<---------------cut here---------------start------------->8---
(defalias 'org-called-interactively-p 'called-interactively-p)
--8<---------------cut here---------------end--------------->8---

If you don't want to touch your .emacs, you can also do a

C-u M-x org-reload

Btw, (require 'org-install) is not needed if you are using elpa.

> Hi,
>
> Here's what I get when I follow those instructions:
>
> Library is file ~/.emacs.d/elpa/org-20111008/org-table.elc
> Library is file ~/.emacs.d/elpa/org-20111008/org-macs.elc
>
>
> On Sun, Oct 9, 2011 at 4:31 PM, Jambunathan K <kjambunathan@gmail.com
>> wrote:
>
>
>     See http://www.mail-archive.com/emacs-orgmode@gnu.org/
>     msg47345.html
>
>
>     > Hi,
>     >
>     > I'm using Emacs 23.3.1 on Windows 7 and org mode 7.7 (installed
>     via
>     > elpa/marmalade).
>     >
>     > My .emacs is fairly minimalist:
>     >
>     > (add-to-list 'load-path "~/.emacs.d/")
>     >
>     > (require 'package)
>     > (add-to-list 'package-archives
>     >              '("marmalade" . "http://marmalade-repo.org/
>     packages/"))
>     > (package-initialize)
>     >
>     > (setq ido-create-new-buffer 'always)
>     > (setq ido-enable-flex-matching t)
>     > (ido-mode 1)
>     >
>     > (require 'org-install)
>     > (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
>     > (define-key global-map "\C-cl" 'org-store-link)
>     > (define-key global-map "\C-ca" 'org-agenda)
>     > (setq org-log-done t)
>     >
>     > I get the message "Invalid function:
>     org-called-interactively-p"
>     > whenever I try certain commands e.g.:
>     > Whenever I try to refile (C-c C-w) or at the end of a sparse
>     tree
>     > command (C-c /) it matches what I
>     > search for but then complains about the invalid function again
>     >
>     > Any help appreciated
>     >
>     >
>     >
>
>     --
>
>
>
>

--