emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: "File mode specification error: (invalid-function org-check-version)" on startup
@ 2012-08-06  9:16 Steinar Bang
  2012-08-06 13:47 ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Steinar Bang @ 2012-08-06  9:16 UTC (permalink / raw)
  To: emacs-orgmode

Platform: Windows 2008R2 SP1
	  GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04 on MARVIN

I pulled org-mode master from git today.  When I tried to open an org
file, it failed, with the following message in the minibuffer:
 File mode specification error: (invalid-function org-check-version)

My previous version (ORIG_HEAD), was:
 cf8d979d8c519ab62a02bc7501baa376b122bf3d

The HEAD after update, was:
 7791d40045ea8b6eef089c362fdf3cb35312a1a8

git bisect identified the the following commit as the culprit:
C:\Users\sb\Documents\git\org-mode>git bisect bad
abbea596111611a945d73783b3e8790e76599740 is the first bad commit
commit abbea596111611a945d73783b3e8790e76599740
Author: Bastien Guerry <bzg@altern.org>
Date:   Sat Jul 28 00:55:45 2012 +0200

    Move org-element.el from contrib/lisp to lisp/.

    * org.el (org-mode-map): Add keybindings to
    `org-element-transpose' and `org-narrow-to-element'.
    (org-metaup): Fall back on `org-element-drag-backward'.
    (org-metadown): Fall back on `org-element-drag-forward'.
    Also move chunks of declarations and require statements to
    get rid of compiler warnings.

    * org-exp-blocks.el (org): Don't require org.  Add declarations.

    * org-clock.el (org): Don't require org.

    * ob-exp.el (org-list-forbidden-blocks): Add declarations.

:040000 040000 6669cee7aab025b4761b8a9e54da5cba675b48fc 3de0787e877cda3d280fa85c61cd945cb305c122 M      contrib
:040000 040000 8a83fd0e0338ed15b5f9c97c846c485f8447b13d 169d363447239443ff0be48910fb07cf726bd0c9 M      lisp

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

* Re: Bug: "File mode specification error: (invalid-function org-check-version)" on startup
  2012-08-06  9:16 Bug: "File mode specification error: (invalid-function org-check-version)" on startup Steinar Bang
@ 2012-08-06 13:47 ` Achim Gratz
  2012-08-07  7:54   ` Steinar Bang
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2012-08-06 13:47 UTC (permalink / raw)
  To: emacs-orgmode

Steinar Bang <sb <at> dod.no> writes:
> I pulled org-mode master from git today.  When I tried to open an org
> file, it failed, with the following message in the minibuffer:
>  File mode specification error: (invalid-function org-check-version)

My guess is that you have outdated autoloads... but please follow these steps to
produce a meaningful bug report:

http://orgmode.org/manual/Feedback.html#Feedback

Perhaps also relevant:

http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development
http://orgmode.org/worg/org-hacks.html#compiling-org-without-make

> git bisect identified the the following commit as the culprit:

Likely that was the first commit where the generated autoloads would become
different.


Regards,
Achim.

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

* Re: Bug: "File mode specification error: (invalid-function org-check-version)" on startup
  2012-08-06 13:47 ` Achim Gratz
@ 2012-08-07  7:54   ` Steinar Bang
  0 siblings, 0 replies; 4+ messages in thread
From: Steinar Bang @ 2012-08-07  7:54 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Achim Gratz <Stromeko@NexGo.DE>:

> My guess is that you have outdated autoloads... but please follow
> these steps to produce a meaningful bug report:

> http://orgmode.org/manual/Feedback.html#Feedback

I have used org-submit-bug-report once, back in July (I think).  And the
report with a minimal test case, just disappeared down a black hole.

Oh well!

> Perhaps also relevant:

[snip!]
> http://orgmode.org/worg/org-hacks.html#compiling-org-without-make

This was indeed relevant.  Recompiling with
 emacs -batch -Q -L lisp -l ../UTILITIES/org-fixup -f org-make-autoloads-compile-force
fixed my problem.

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

* Bug: "File mode specification error: (invalid-function org-check-version)" on startup
@ 2012-08-06  9:15 Steinar Bang
  0 siblings, 0 replies; 4+ messages in thread
From: Steinar Bang @ 2012-08-06  9:15 UTC (permalink / raw)
  To: emacs-orgmode

Platform: Windows 2008R2 SP1
	  GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04 on MARVIN

I pulled org-mode master from git today.  When I tried to open an org
file, it failed, with the following message in the minibuffer:
 File mode specification error: (invalid-function org-check-version)

My previous version (ORIG_HEAD), was:
 cf8d979d8c519ab62a02bc7501baa376b122bf3d

The HEAD after update, was:
 7791d40045ea8b6eef089c362fdf3cb35312a1a8

git bisect identified the the following commit as the culprit:
C:\Users\sb\Documents\git\org-mode>git bisect bad
abbea596111611a945d73783b3e8790e76599740 is the first bad commit
commit abbea596111611a945d73783b3e8790e76599740
Author: Bastien Guerry <bzg@altern.org>
Date:   Sat Jul 28 00:55:45 2012 +0200

    Move org-element.el from contrib/lisp to lisp/.

    * org.el (org-mode-map): Add keybindings to
    `org-element-transpose' and `org-narrow-to-element'.
    (org-metaup): Fall back on `org-element-drag-backward'.
    (org-metadown): Fall back on `org-element-drag-forward'.
    Also move chunks of declarations and require statements to
    get rid of compiler warnings.

    * org-exp-blocks.el (org): Don't require org.  Add declarations.

    * org-clock.el (org): Don't require org.

    * ob-exp.el (org-list-forbidden-blocks): Add declarations.

:040000 040000 6669cee7aab025b4761b8a9e54da5cba675b48fc 3de0787e877cda3d280fa85c61cd945cb305c122 M      contrib
:040000 040000 8a83fd0e0338ed15b5f9c97c846c485f8447b13d 169d363447239443ff0be48910fb07cf726bd0c9 M      lisp

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

end of thread, other threads:[~2012-08-07  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-06  9:16 Bug: "File mode specification error: (invalid-function org-check-version)" on startup Steinar Bang
2012-08-06 13:47 ` Achim Gratz
2012-08-07  7:54   ` Steinar Bang
  -- strict thread matches above, loose matches on Subject: below --
2012-08-06  9:15 Steinar Bang

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