From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerrard McNulty Subject: Re: Invalid function: org-called-interactively-p Date: Sun, 9 Oct 2011 22:37:25 +0100 Message-ID: References: <814nzi41wq.fsf@gmail.com> <81wrce2kew.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174a05aef74fd904aee47a00 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD13p-0004VI-0C for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 17:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RD13n-00080I-Nq for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 17:37:28 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:37193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RD13n-00080E-D0 for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 17:37:27 -0400 Received: by bkbzs2 with SMTP id zs2so8544438bkb.0 for ; Sun, 09 Oct 2011 14:37:26 -0700 (PDT) In-Reply-To: <81wrce2kew.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --0015174a05aef74fd904aee47a00 Content-Type: text/plain; charset=ISO-8859-1 Thanks mate, that works fine On Sun, Oct 9, 2011 at 5:34 PM, Jambunathan K 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 >> 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 > > > > > > > > > > > > > -- > > > > > > > > > > -- > --0015174a05aef74fd904aee47a00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 >=3D 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:
>
>
> =A0 =A0 See http://www.mail-archive.com/emacs-orgmode@gnu.org/
> =A0 =A0 msg47345.html
>
>
> =A0 =A0 > Hi,
> =A0 =A0 >
> =A0 =A0 > I'm using Emacs 23.3.1 on Windows 7 and org mode 7.7 = (installed
> =A0 =A0 via
> =A0 =A0 > elpa/marmalade).
> =A0 =A0 >
> =A0 =A0 > My .emacs is fairly minimalist:
> =A0 =A0 >
> =A0 =A0 > (add-to-list 'load-path "~/.emacs.d/")
> =A0 =A0 >
> =A0 =A0 > (require 'package)
> =A0 =A0 > (add-to-list 'package-archives
> =A0 =A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 '("marmalad= e" . "
ht= tp://marmalade-repo.org/
> =A0 =A0 packages/"))
> =A0 =A0 > (package-initialize)
> =A0 =A0 >
> =A0 =A0 > (setq ido-create-new-buffer 'always)
> =A0 =A0 > (setq ido-enable-flex-matching t)
> =A0 =A0 > (ido-mode 1)
> =A0 =A0 >
> =A0 =A0 > (require 'org-install)
> =A0 =A0 > (add-to-list 'auto-mode-alist '("\\.org$&quo= t; . org-mode))
> =A0 =A0 > (define-key global-map "\C-cl" 'org-store-l= ink)
> =A0 =A0 > (define-key global-map "\C-ca" 'org-agenda)=
> =A0 =A0 > (setq org-log-done t)
> =A0 =A0 >
> =A0 =A0 > I get the message "Invalid function:
> =A0 =A0 org-called-interactively-p"
> =A0 =A0 > whenever I try certain commands e.g.:
> =A0 =A0 > Whenever I try to refile (C-c C-w) or at the end of a spa= rse
> =A0 =A0 tree
> =A0 =A0 > command (C-c /) it matches what I
> =A0 =A0 > search for but then complains about the invalid function = again
> =A0 =A0 >
> =A0 =A0 > Any help appreciated
> =A0 =A0 >
> =A0 =A0 >
> =A0 =A0 >
>
> =A0 =A0 --
>
>
>
>

--

--0015174a05aef74fd904aee47a00--