Skip to main content
shortened to relevant detail only
Source Link
oOosys
  • 505
  • 3
  • 12

Below what the *Messages* buffer tells me:

Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
  .emacs  file HERE ...
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...
  neo-emacs-init.el  file HERE ...
interactive-aware-fun called-interactively-p : nil
Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
neo-emacs-init.el HERE, setting background to green
neo-emacs-init.el HERE, after setting background to green
 ...  neo-emacs-init.el LAST STATEMENT
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...done
 ...  .emacs  AFTER (load-file ...)
Wrote /home/neo/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 4 buffers restored.
For information about GNU Emacs and the GNU system, type SPC h C-a.
command-execute: Wrong type argument: commandp, interactive-aware-fun
Mark set

Here theand an excerpt from the initializationinit.el file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

? I am doing similar things in the initialization file and all work ok. This one gives me this message instead of the output the function provides if called from the initialization file.

By the way:

The word "helm" is not in any of .emacs .emacs.desktop and the initialization file, but there is Unable to activate package ‘helm’. message - but this is another question. I am mentioning it here only for the sake of explaining the *Messages* buffer.

Below what the *Messages* buffer tells me:

Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
  .emacs  file HERE ...
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...
  neo-emacs-init.el  file HERE ...
interactive-aware-fun called-interactively-p : nil
Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
neo-emacs-init.el HERE, setting background to green
neo-emacs-init.el HERE, after setting background to green
 ...  neo-emacs-init.el LAST STATEMENT
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...done
 ...  .emacs  AFTER (load-file ...)
Wrote /home/neo/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 4 buffers restored.
For information about GNU Emacs and the GNU system, type SPC h C-a.
command-execute: Wrong type argument: commandp, interactive-aware-fun
Mark set

Here the excerpt from the initialization file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

? I am doing similar things in the initialization file and all work ok. This one gives me this message instead of the output the function provides if called from the initialization file.

By the way:

The word "helm" is not in any of .emacs .emacs.desktop and the initialization file, but there is Unable to activate package ‘helm’. message - but this is another question. I am mentioning it here only for the sake of explaining the *Messages* buffer.

Below what the *Messages* buffer tells me:

Loading init.el (source)...
interactive-aware-fun called-interactively-p : nil
command-execute: Wrong type argument: commandp, interactive-aware-fun

and an excerpt from the init.el file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

?

Post Closed as "Duplicate" by CommunityBot
added 280 characters in body
Source Link
oOosys
  • 505
  • 3
  • 12

Below what the `Messages"*Messages* buffer tells me:

Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
  .emacs  file HERE ...
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...
  neo-emacs-init.el  file HERE ...
interactive-aware-fun called-interactively-p : nil
Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
neo-emacs-init.el HERE, setting background to green
neo-emacs-init.el HERE, after setting background to green
 ...  neo-emacs-init.el LAST STATEMENT
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...done
 ...  .emacs  AFTER (load-file ...)
Wrote /home/neo/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 4 buffers restored.
For information about GNU Emacs and the GNU system, type SPC h C-a.
command-execute: Wrong type argument: commandp, interactive-aware-fun
Mark set

Here the excerpt from the initialization file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

? I am doing similar things in the initialization file and all work ok. This one gives me this message instead of the output the function provides if called from the initialization file.

By the way:

The word "helm" is not in any of .emacs .emacs.desktop and the initialization file, but there is Unable to activate package ‘helm’. message - but this is another question. I am mentioning it here only for the sake of explaining the *Messages* buffer.

Below what the `Messages" buffer tells me:

Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
  .emacs  file HERE ...
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...
  neo-emacs-init.el  file HERE ...
interactive-aware-fun called-interactively-p : nil
Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
neo-emacs-init.el HERE, setting background to green
neo-emacs-init.el HERE, after setting background to green
 ...  neo-emacs-init.el LAST STATEMENT
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...done
 ...  .emacs  AFTER (load-file ...)
Wrote /home/neo/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 4 buffers restored.
For information about GNU Emacs and the GNU system, type SPC h C-a.
command-execute: Wrong type argument: commandp, interactive-aware-fun
Mark set

Here the excerpt from the initialization file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

? I am doing similar things in the initialization file and all work ok. This one gives me this message instead of the output the function provides if called from the initialization file.

Below what the *Messages* buffer tells me:

Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
  .emacs  file HERE ...
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...
  neo-emacs-init.el  file HERE ...
interactive-aware-fun called-interactively-p : nil
Unable to activate package ‘helm’.
Required package ‘helm-core-3.9.0’ is unavailable
neo-emacs-init.el HERE, setting background to green
neo-emacs-init.el HERE, after setting background to green
 ...  neo-emacs-init.el LAST STATEMENT
Loading /A/su/txtEditors/emacs/setup-init/neo-emacs-init.el (source)...done
 ...  .emacs  AFTER (load-file ...)
Wrote /home/neo/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 4 buffers restored.
For information about GNU Emacs and the GNU system, type SPC h C-a.
command-execute: Wrong type argument: commandp, interactive-aware-fun
Mark set

Here the excerpt from the initialization file:

(defun interactive-aware-fun ()
    (message "interactive-aware-fun called-interactively-p : %s" (called-interactively-p))
)
(interactive-aware-fun)
(global-set-key (kbd "<f9>") 'interactive-aware-fun)

Why does a F9 press give me the message:

command-execute: Wrong type argument: commandp, interactive-aware-fun

? I am doing similar things in the initialization file and all work ok. This one gives me this message instead of the output the function provides if called from the initialization file.

By the way:

The word "helm" is not in any of .emacs .emacs.desktop and the initialization file, but there is Unable to activate package ‘helm’. message - but this is another question. I am mentioning it here only for the sake of explaining the *Messages* buffer.

Source Link
oOosys
  • 505
  • 3
  • 12
Loading