tvraman / emacspeak

Emacspeak --- The Complete Audio Desktop
248 stars 54 forks source link

Can't use M-x (or many other things) with Emacspeaks 57 #77

Closed robertmeta closed 1 year ago

robertmeta commented 1 year ago

When I try to run M-x I get

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  make-process(:name nil :buffer nil)
  apply(make-process (:name nil :buffer nil))
  start-process(nil nil nil "play-sample" "warn-user.ogg")
  emacspeak-play-auditory-icon(warn-user)
  emacspeak-error-handler((wrong-type-argument stringp nil) "" apply)

and then trying to exit (C-x C-c)

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  make-process(:name nil :buffer nil)
  apply(make-process (:name nil :buffer nil))
  start-process(nil nil nil "play-sample" "open-object.ogg")
  emacspeak-play-auditory-icon(open-object)
  emacspeak-minibuffer-setup-hook()
  #<subr yes-or-no-p>("Active processes exist; kill them and exit anyway?...")
  ad-Advice-yes-or-no-p(#<subr yes-or-no-p> "Active processes exist; kill them and exit anyway?...")
  apply(ad-Advice-yes-or-no-p #<subr yes-or-no-p> "Active processes exist; kill them and exit anyway?...")
  yes-or-no-p("Active processes exist; kill them and exit anyway?...")
  #f(compiled-function (window value) #<bytecode -0xa2f44f65cea71c1>)(#<window 48 on *Process List*> nil)
  save-buffers-kill-emacs(nil)
  save-buffers-kill-terminal(nil)
  #<subr funcall-interactively>(save-buffers-kill-terminal nil)
  apply(#<subr funcall-interactively> save-buffers-kill-terminal nil)
  ad-Advice-funcall-interactively(#<subr funcall-interactively> save-buffers-kill-terminal nil)
  apply(ad-Advice-funcall-interactively #<subr funcall-interactively> (save-buffers-kill-terminal nil))
  funcall-interactively(save-buffers-kill-terminal nil)
  call-interactively(save-buffers-kill-terminal nil nil)
  command-execute(save-buffers-kill-terminal)
robertmeta commented 1 year ago

Using a minimal init.el

  (setq load-path (cons "~/.emacs.d/emacspeak/lisp" load-path))
  (setq emacspeak-directory "~/.emacs.d/emacspeak")
  (setq dtk-program "mac")

  (require 'emacspeak-setup)
  (dtk-set-rate 300 t)
tvraman commented 1 year ago

Install sox

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research) ā™ˆ Id: kg:/m/0285kf1 šŸ¦®

tvraman commented 1 year ago

this is a good way to start with a clean environment; this is also easier to do using the runq script in the emacspeak GIT repo.

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research) ā™ˆ Id: kg:/m/0285kf1 šŸ¦®

robertmeta commented 1 year ago

@tvraman yep, a simple brew install sox fixed both issues actually, including the company-mode problem, I am guessing in the company-mode support is a dep on sox.

Thanks so much for the quick and awesome support for both issues. Company-mode is rocking now and everything is purring in 57.

tvraman commented 1 year ago

With no SoX, you dont have command play which is used for auditory icons.

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research) ā™ˆ Id: kg:/m/0285kf1 šŸ¦®