* [BUG] Symbol's function definition is void: function-put
@ 2014-05-09 5:10 Sharon Kimble
2014-05-09 6:38 ` Achim Gratz
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-05-09 5:10 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 2489 bytes --]
I've just tried to start emacs 24.3.90.1 without success, and it
showed
--8<---------------cut here---------------start------------->8---
Warning (initialization): An error occurred while loading `/home/boudiccas/.emacs':
Symbol's function definition is void: function-put
--8<---------------cut here---------------end--------------->8---
I eventually tracked it down to lines 2248 and 2284 of "org-loaddefs.el"
this is line 2248
╭────
│(function-put 'org-export-to-buffer 'lisp-indent-function '2)
╰────
and this is line 2284
╭────
│(function-put 'org-export-to-file 'lisp-indent-function '2)
╰────
It always shows up in 24.3.90.1 and stops it from fully loading,
whereas in 24.4.50.x there is no problem.
This is the backtrace/debugger for it
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function function-put)
(function-put (quote org-export-to-buffer) (quote lisp-indent-function) (quote 2))
eval-buffer(#<buffer *load*> nil "/home/boudiccas/.emacs.d/elpa/org-20140505/org-loaddefs.el" nil t) ; Reading at buffer position 84568
load-with-code-conversion("/home/boudiccas/.emacs.d/elpa/org-20140505/org-loaddefs.el" "/home/boudiccas/.emacs.d/elpa/org-20140505/org-loaddefs.el" t t)
load("org-loaddefs.el" t t t)
byte-code("\300\301!\210\302\303!\210\302\304!\210\302\305!\210\306\307\310\211\211$\210\302\311!\210\302\312!\207" [make-variable-buffer-local org-table-formula-constants-local require calendar find-func format-spec load "org-loaddefs.el" t org-macs org-compat] 5)
autoload-do-load((autoload "org" "Show the org-mode version in the echo area.\nWith prefix argument HERE, insert it at point.\nWhen FULL is non-nil, use a verbose version string.\nWhen MESSAGE is non-nil, display a message with the version.\n\n(fn &optional HERE FULL MESSAGE)" t nil) org-version)
command-execute(org-version record)
execute-extended-command(nil "org-version")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
--8<---------------cut here---------------end--------------->8---
This is with Org-mode version 8.2.6 (8.2.6-14-g063c8b-elpa @ /home/boudiccas/.emacs.d/elpa/org-20140505/)
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.21
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Symbol's function definition is void: function-put
2014-05-09 5:10 [BUG] Symbol's function definition is void: function-put Sharon Kimble
@ 2014-05-09 6:38 ` Achim Gratz
2014-05-09 10:29 ` Nicolas Richard
2014-05-09 11:02 ` Alexander Baier
2 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2014-05-09 6:38 UTC (permalink / raw)
To: emacs-orgmode
Sharon Kimble <boudiccas <at> skimble.plus.com> writes:
> I've just tried to start emacs 24.3.90.1 without success, and it
> showed
> --8<---------------cut here---------------start------------->8---
> Warning (initialization): An error occurred while loading
`/home/boudiccas/.emacs':
If you're in a pinch, just replace all occurences of "function-put" with "put".
> .emacs.d/elpa/org-20140505/
Well, those two lines are not in the Org ELPA package that you supposedly
have installed and there's no trace of any "function-put" anywhere I can
find in the source. I suspect that you installed the ELPA package either
with a much older Emacs version (certainly not any 24.x one) or that you had
something in your init scripts that defines function-put at the time of
installation.
You need to remove the ELPA package, then install it anew from an Emacs
instance that doesn't have these initializations (i.e. start from "emacs -Q").
Regards,
Achim.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Symbol's function definition is void: function-put
2014-05-09 5:10 [BUG] Symbol's function definition is void: function-put Sharon Kimble
2014-05-09 6:38 ` Achim Gratz
@ 2014-05-09 10:29 ` Nicolas Richard
2014-05-09 15:31 ` Achim Gratz
2014-05-09 11:02 ` Alexander Baier
2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Richard @ 2014-05-09 10:29 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> I eventually tracked it down to lines 2248 and 2284 of "org-loaddefs.el"
> this is line 2248
> ╭────
> │(function-put 'org-export-to-buffer 'lisp-indent-function '2)
> ╰────
It apparently comes from making Org with trunk and then using it with
non-trunk. See Glenn Morris' explanation here:
http://permalink.gmane.org/gmane.emacs.devel/171782
--
Nico.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Symbol's function definition is void: function-put
2014-05-09 5:10 [BUG] Symbol's function definition is void: function-put Sharon Kimble
2014-05-09 6:38 ` Achim Gratz
2014-05-09 10:29 ` Nicolas Richard
@ 2014-05-09 11:02 ` Alexander Baier
2014-05-09 17:20 ` Sharon Kimble
2 siblings, 1 reply; 6+ messages in thread
From: Alexander Baier @ 2014-05-09 11:02 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
On 2014-05-09 07:10 Sharon Kimble wrote:
> I've just tried to start emacs 24.3.90.1 without success, and it
> showed
> Warning (initialization): An error occurred while loading `/home/boudiccas/.emacs':
>
> Symbol's function definition is void: function-put
>
> I eventually tracked it down to lines 2248 and 2284 of "org-loaddefs.el"
> this is line 2248
> ╭────
> │(function-put 'org-export-to-buffer 'lisp-indent-function '2)
> ╰────
> and this is line 2284
> ╭────
> │(function-put 'org-export-to-file 'lisp-indent-function '2)
> ╰────
>
> It always shows up in 24.3.90.1 and stops it from fully loading,
> whereas in 24.4.50.x there is no problem.
I am not sure about this, but I recently saw a post on the emacs devel
mailing list mentioning that function-put was newly introduced, if I am
not mistaken. Take a look at this:
http://permalink.gmane.org/gmane.emacs.devel/171782
HTH,
--
Alexander Baier
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Symbol's function definition is void: function-put
2014-05-09 10:29 ` Nicolas Richard
@ 2014-05-09 15:31 ` Achim Gratz
0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2014-05-09 15:31 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Richard writes:
> It apparently comes from making Org with trunk and then using it with
> non-trunk. See Glenn Morris' explanation here:
> http://permalink.gmane.org/gmane.emacs.devel/171782
Ah, yes. Sharon, when installing packages from ELPA, you must use the
lowest version of Emacs that you intend to use. Bytecode and generated
files are generally not guaranteed to be downward compatible.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] Symbol's function definition is void: function-put
2014-05-09 11:02 ` Alexander Baier
@ 2014-05-09 17:20 ` Sharon Kimble
0 siblings, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-05-09 17:20 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
Alexander Baier <lexi.baier@gmail.com> writes:
> On 2014-05-09 07:10 Sharon Kimble wrote:
>> I've just tried to start emacs 24.3.90.1 without success, and it
>> showed
>> Warning (initialization): An error occurred while loading `/home/boudiccas/.emacs':
>>
>> Symbol's function definition is void: function-put
>>
>> I eventually tracked it down to lines 2248 and 2284 of "org-loaddefs.el"
>> this is line 2248
>> ╭────
>> │(function-put 'org-export-to-buffer 'lisp-indent-function '2)
>> ╰────
>> and this is line 2284
>> ╭────
>> │(function-put 'org-export-to-file 'lisp-indent-function '2)
>> ╰────
>>
>> It always shows up in 24.3.90.1 and stops it from fully loading,
>> whereas in 24.4.50.x there is no problem.
>
> I am not sure about this, but I recently saw a post on the emacs devel
> mailing list mentioning that function-put was newly introduced, if I am
> not mistaken. Take a look at this:
> http://permalink.gmane.org/gmane.emacs.devel/171782
>
> HTH,
Thanks for this, it was exactly what the problem was. I've resolved
it by renaming my ELPA directory, starting emacs afresh, and then
downloading and installing the packages that I want to use. I've got
a much slimmed down set-up now, and it feels 'lighter' too. Only one
theme is installed that I use all the time, so I'm not hopping
in-between themes, and I'm steering clear of "trunk" builds for a
while, but we'll see how long that lasts! :)
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.90.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-09 17:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 5:10 [BUG] Symbol's function definition is void: function-put Sharon Kimble
2014-05-09 6:38 ` Achim Gratz
2014-05-09 10:29 ` Nicolas Richard
2014-05-09 15:31 ` Achim Gratz
2014-05-09 11:02 ` Alexander Baier
2014-05-09 17:20 ` Sharon Kimble
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.