emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Gerrard McNulty <gerrard.mcnulty@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Invalid function: org-called-interactively-p
Date: Sun, 09 Oct 2011 22:04:47 +0530	[thread overview]
Message-ID: <81wrce2kew.fsf@gmail.com> (raw)
In-Reply-To: <CAEuWdt6w5By_snV3WZBpA-JoPGfqNhfKtm2cDYm7g+RF7M5atA@mail.gmail.com> (Gerrard McNulty's message of "Sun, 9 Oct 2011 16:42:23 +0100")


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

-- 

  reply	other threads:[~2011-10-09 16:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-09  0:27 Invalid function: org-called-interactively-p Gerrard McNulty
2011-10-09 15:31 ` Jambunathan K
2011-10-09 15:42   ` Gerrard McNulty
2011-10-09 16:34     ` Jambunathan K [this message]
2011-10-09 21:37       ` Gerrard McNulty
2011-10-17 19:51       ` David Maus
2011-10-09 16:43     ` Achim Gratz
2012-02-13  8:15 Peter Salazar
2012-02-13  8:55 ` Thorsten
2012-02-14  0:19   ` Peter Salazar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81wrce2kew.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gerrard.mcnulty@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).