Emacs noob here, For some reason, when I try to
- Open a existing C++ file
- Create a new C++ file
emacs tells me: "Searching for program: no such file or directory, global", but when I retry it works... not sure where to start to look for the problems. My ~/.emacs
EDIT: I found something similar here but doesn't have a definite answer.
But, this is what I get when I do a stacktrace:
Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "global")
call-process("global" nil #<buffer *CEDET Global*> nil "-pq")
apply(call-process "global" nil #<buffer *CEDET Global*> nil "-pq")
cedet-gnu-global-call(("-pq"))
cedet-gnu-global-root()
(if (cedet-gnu-global-root) (setq semanticdb-project-system-databases (cons ... semanticdb-project-system-databases) semanticdb-find-default-throttle (append semanticdb-find-default-throttle ...)) (if dont-err-if-not-available nil (error "No Global support in %s" default-directory)))
semanticdb-enable-gnu-global-in-buffer(t)
semanticdb-enable-gnu-global-hook()
run-hooks(semantic-init-mode-hook)
semantic-new-buffer-fcn()
run-hooks(mode-local-init-hook)
#[nil "\300 \210\301\302!\207" [activate-mode-local-bindings run-hooks mode-local-init-hook] 2]()
mode-local-map-file-buffers(#[nil "\300 \210\301\302!\207" [activate-mode-local-bindings run-hooks mode-local-init-hook] 2] #[nil " =?\207" [mode-local--init-mode major-mode] 2] (#<buffer visualizer.cpp>))
mode-local-post-major-mode-change()
run-hooks(find-file-hook)
after-find-file(nil t)
find-file-noselect-1(#<buffer visualizer.cpp> ~/Documents/visualizer.cpp" nil nil "~/Documents/visualizer.cpp" (11403418 2054))
find-file-noselect("~/Documents/visualizer.cpp" nil nil t)
find-file("~/Documents/visualizer.cpp" t)
call-interactively(find-file nil nil)