all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* invalid function
@ 2007-11-07 21:35 Nikola Skoric
  2007-11-08  0:29 ` Johan Bockgård
  0 siblings, 1 reply; 8+ messages in thread
From: Nikola Skoric @ 2007-11-07 21:35 UTC (permalink / raw)
  To: help-gnu-emacs

I have following code in script.el:

#!/usr/bin/emacs --script
(fset 'goto-nav-panel
   "\C-s<!--Navigation Panel-->\C-a")

(get-buffer-create "node5.html")
(set-buffer "node5.html")
(goto-nav-panel)

Executing it gives me this:

nick@rilmir:~/diplomski/html/diplomski$ ./script.el 
Loading 00debian-vars...
Loading /etc/emacs-snapshot/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/22.0.91/site-lisp/auctex.el (source)...
Loading /usr/share/emacs/22.0.91/site-lisp/preview-latex.el
(source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50php-elisp.el (source)...
Invalid function: goto-nav-panel

I really tried to figure out why, but I just can't get it. This seems
to be the proper way to use a keyboard macro, but it just won't
work. What did I get wrong?

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

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

* Re: invalid function
  2007-11-07 21:35 invalid function Nikola Skoric
@ 2007-11-08  0:29 ` Johan Bockgård
  0 siblings, 0 replies; 8+ messages in thread
From: Johan Bockgård @ 2007-11-08  0:29 UTC (permalink / raw)
  To: help-gnu-emacs

Nikola Skoric <nick-news@net4u.hr> writes:

> (fset 'goto-nav-panel
>    "\C-s<!--Navigation Panel-->\C-a")
>
> (get-buffer-create "node5.html")
> (set-buffer "node5.html")
> (goto-nav-panel)

A string is not a function (though it is a command). Try
`execute-kbd-macro' (or `command-execute'). (Or write a proper Lisp
function.)

-- 
Johan Bockgård

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

* Invalid function
@ 2014-06-22  2:44 Thomas S. Dye
  2014-06-22  3:04 ` Thorsten Jolitz
  2014-06-25  8:46 ` Bastien
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas S. Dye @ 2014-06-22  2:44 UTC (permalink / raw)
  To: Org-mode

Aloha all,

Today I updated Org mode from its git repo using the makefile I've had
for a long time.  It usually works flawlessly, but today it didn't:

In toplevel form:
ox.el:77:1:Error: Invalid function: "Org"
Done (Total of 65 files compiled, 43 failed, 3 skipped)

What's going on?

Worg suggests that the invalid function problem might be solved by
running make clean and then make again, but doing this didn't help me.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Invalid function
  2014-06-22  2:44 Invalid function Thomas S. Dye
@ 2014-06-22  3:04 ` Thorsten Jolitz
  2014-06-22  3:26   ` Thomas S. Dye
  2014-06-25  8:46 ` Bastien
  1 sibling, 1 reply; 8+ messages in thread
From: Thorsten Jolitz @ 2014-06-22  3:04 UTC (permalink / raw)
  To: emacs-orgmode

tsd@tsdye.com (Thomas S. Dye) writes:

Hi,

> ox.el:77:1:Error: Invalid function: "Org"

Is that line 77 in /lisp/ox.el? Maybe have a look ...

-- 
cheers,
Thorsten

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

* Re: Invalid function
  2014-06-22  3:04 ` Thorsten Jolitz
@ 2014-06-22  3:26   ` Thomas S. Dye
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas S. Dye @ 2014-06-22  3:26 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

Thorsten Jolitz <tjolitz@gmail.com> writes:

> tsd@tsdye.com (Thomas S. Dye) writes:
>
> Hi,
>
>> ox.el:77:1:Error: Invalid function: "Org"
>
> Is that line 77 in /lisp/ox.el? Maybe have a look ...

Nothing that looks like "Org" there.  And there are still the other 42
failures ...

Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Invalid function
  2014-06-22  2:44 Invalid function Thomas S. Dye
  2014-06-22  3:04 ` Thorsten Jolitz
@ 2014-06-25  8:46 ` Bastien
  2014-06-25 13:08   ` Achim Gratz
  2014-06-25 16:37   ` Thomas S. Dye
  1 sibling, 2 replies; 8+ messages in thread
From: Bastien @ 2014-06-25  8:46 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org-mode

Hi Thomas,

tsd@tsdye.com (Thomas S. Dye) writes:

> What's going on?

Do you still see this errors?

> Worg suggests that the invalid function problem might be solved by
> running make clean and then make again, but doing this didn't help
> me.

Can you try reinstalling by first remove local.mk or regenerating it
with ~$ make config ?

-- 
 Bastien

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

* Re: Invalid function
  2014-06-25  8:46 ` Bastien
@ 2014-06-25 13:08   ` Achim Gratz
  2014-06-25 16:37   ` Thomas S. Dye
  1 sibling, 0 replies; 8+ messages in thread
From: Achim Gratz @ 2014-06-25 13:08 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> gnu.org> writes:
> Can you try reinstalling by first remove local.mk or regenerating it
> with ~$ make config ?

The local.mk is never touched if one exists, make config simply shows you
the most important settings there.

In any case, the error was most likely caused by an incorrect defcustom
entry that was corrected a few hours later.


Regards,
Achim.

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

* Re: Invalid function
  2014-06-25  8:46 ` Bastien
  2014-06-25 13:08   ` Achim Gratz
@ 2014-06-25 16:37   ` Thomas S. Dye
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas S. Dye @ 2014-06-25 16:37 UTC (permalink / raw)
  To: Bastien; +Cc: Org-mode

Bastien <bzg@gnu.org> writes:

> Hi Thomas,
>
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> What's going on?
>
> Do you still see this errors?

No, the errors are gone.  Thanks for following up.

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

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

end of thread, other threads:[~2014-06-25 16:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-22  2:44 Invalid function Thomas S. Dye
2014-06-22  3:04 ` Thorsten Jolitz
2014-06-22  3:26   ` Thomas S. Dye
2014-06-25  8:46 ` Bastien
2014-06-25 13:08   ` Achim Gratz
2014-06-25 16:37   ` Thomas S. Dye
  -- strict thread matches above, loose matches on Subject: below --
2007-11-07 21:35 invalid function Nikola Skoric
2007-11-08  0:29 ` Johan Bockgård

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.