[-- Attachment #1: Type: text/plain, Size: 871 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 1133 bytes --]
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 > > > --
[-- Attachment #1: Type: text/plain, Size: 1339 bytes --] 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 > > > > > > > > -- > [-- Attachment #2: Type: text/html, Size: 2142 bytes --]
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
> >
> >
> >
>
> --
>
>
>
>
--
Gerrard McNulty <gerrard.mcnulty@gmail.com> writes: > 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 Did you perhaps have an earlier version of org-mode installed without using ELPA? Is it possible you still pick up some files from that old place? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html
[-- Attachment #1: Type: text/plain, Size: 2270 bytes --] 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 > > > > > > > > > > > > > -- > > > > > > > > > > -- > [-- Attachment #2: Type: text/html, Size: 3413 bytes --]
[-- Attachment #1: Type: text/plain, Size: 661 bytes --] At Sun, 09 Oct 2011 22:04:47 +0530, Jambunathan K wrote: > > > Seems like a bug to me. Not necessarily: From past experience an invalid function error is an indicator of a mixed up Org mode installation. What roughly happens is that Emacs tries to look up a function value for `org-called-interactively-p' but does not get a valid function because `org-called-interactively-p' is a macro.[1] Normally a make clean && make in the source tree solves this kind of problem. Best, -- David [1] http://www.gnu.org/s/emacs/manual/html_node/elisp/Function-Indirection.html -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de [-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #1: Type: text/plain, Size: 540 bytes --] Hey everyone, I seem to have broken my org-mode. I'm running Aquamacs which comes with org-mode 6.33 or thereabouts. I downloaded 7.8.03, did a setq load-path (cons to the directory, then used the package manager to install org from within Aquamacs. I can verify that org now states its version as 7.8.03. But now whenever I try to do much of anything—org-capture (the reason I upgraded) or export to HTML or anything I try to do really, I get "Invalid function: org-called-interactively-p." What did I do wrong? Thanks! [-- Attachment #2: Type: text/html, Size: 642 bytes --]
Peter Salazar <cycleofsong@gmail.com> writes:
> I seem to have broken my org-mode.
I remember having a similar problem, and it turned out that the old
version interfered with the new one, resulting in a corrupted org
installation. I had to get the old version completely out of the
way (delete the org folder in the original emacs installation folder) to
solve the problem.
Maybe that helps
Cheers
Thorsten
[-- Attachment #1: Type: text/plain, Size: 550 bytes --] That worked, thank you so much! On Mon, Feb 13, 2012 at 3:55 AM, Thorsten <quintfall@googlemail.com> wrote: > Peter Salazar <cycleofsong@gmail.com> writes: > > > I seem to have broken my org-mode. > > I remember having a similar problem, and it turned out that the old > version interfered with the new one, resulting in a corrupted org > installation. I had to get the old version completely out of the > way (delete the org folder in the original emacs installation folder) to > solve the problem. > > Maybe that helps > Cheers > Thorsten > > > [-- Attachment #2: Type: text/html, Size: 987 bytes --]