Git Product home page Git Product logo

emacspeak's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emacspeak's Issues

New emacspeak build has no speech synthesis

OS : Debian 9 x64

Steps:

  1. Follow build instruction
  2. At the end of make install, there's instruction to add certain line to the top of ~/.emacs file
  3. Run emacspeak

Expected Result:

  • Emacspeak running with speech synthesis

Actual Result

  • Emacsspeak running without speech synthesis

Debug log:

Debugger entered--Lisp error: (wrong-type-argument keymapp nil)
define-key(nil "�" ido-enter-find-file)
emacspeak-ido-keys()
byte-code("\300 \210\301\302!\207" [emacspeak-ido-keys provide emacspeak-ido] 2)
require(emacspeak-ido)
(progn (require (quote emacspeak-ido)) (emacspeak-fix-commands-loaded-from "emacspeak-ido") (emacspeak-fix-commands-loaded-from "ido"))
(lambda nil (progn (require (quote emacspeak-ido)) (emacspeak-fix-commands-loaded-from "emacspeak-ido") (emacspeak-fix-commands-loaded-from "ido")))()
eval-after-load("ido" (progn (require (quote emacspeak-ido)) (emacspeak-fix-commands-loaded-from "emacspeak-ido") (emacspeak-fix-commands-loaded-from "ido")))
emacspeak-do-package-setup("ido" emacspeak-ido)
byte-code(
load("/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak.elc")
(let ((file-name-handler-alist nil)) (load (expand-file-name "emacspeak.elc" emacspeak-lisp-directory)))
eval-buffer(#<buffer load-377568> nil "/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak-setup.el" nil t) ; Reading at buffer position 4214
load-with-code-conversion("/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak-setup.el" "/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak-setup.el" nil nil)
load("/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak-setup.el" nil nil t)
load-file("/home/edhoari/Downloads/emacspeak-47.0/lisp/emacspeak-setup.el")
eval-buffer(#<buffer load> nil "/home/edhoari/.emacs" nil t) ; Reading at buffer position 77
load-with-code-conversion("/home/edhoari/.emacs" "/home/edhoari/.emacs" t t)
load("~/.emacs" t t)
#[0 "�\205\262

Note

  • Omit byte code line

Uses non-free license for documentation

Hello,

Debian does not ship the emacspeak documentation because it is not free according to dfsg:

“Permission is granted to make and distribute verbatim copies of this manual without charge provided the copyright notice and this permission notice are preserved on all copies.”

These licensing terms do not permit modifications.

Samuel

macOS speech server extremely buggy on Ventura.

On macOS 13 (Ventura), Emacspeak is extremely buggy. When launching Emacspeak, I hear the intro sound, but it pauses about half way through, normally when saying emacspeak. So its, This, is emacsp... about 1 second pause, peak.
That's not all, though. When going through even just the Emacs tutorial, it will stop reading randomly, with seemingly no way to bring it back. I'm fairly new to Emacs though, so perhaps there's a way to recover it, but only certain sounds will play during this time, too (e.g. the confirm sound when wanting to quit and relaunch).
Also, I'm not entirely sure this one is related, but its happened 3 times with Emacspeak running and 0 without, so I have to assume so. My audio will sometimes get really, really crackly, progressively getting worse and worse until my headphones are letting out this absolutely awful combination of white noise and high frequencies. Unplugging my headphones makes it stop, but plugging them back in results in it happening again.
If there's anything I can provide to help debug these issues, please let me know. Emacs seems awesome, and I really want to learn it, but my mac is the only machine I can run it on, and these issues render it basically unusable.

Emacspeak initialization error on Mac OS due to Foundation package

Hi there, I was trying to install Emacspeak on Mac OS on my Apple M1 with OS 12.5. When I initialize emacspeak in the terminal, I hear the "Welcome to Emacspeak" voice, but VoiceOver doesn't work with the program. I went to emacspeak/server/Mac and got an error that said "package Foundation not found." I think it's related to the Xcode and PyObjc. I used pip to install PyObjC, which should include the Foundation module, but it seems to still not work, alongside looking for the Foundation module directly. PyObjC is importing via python but Foundation is not. Does anyone know how to get this module working? Thanks in advance

Best,

Newton

voxin.org is no longer speech engine related

install.texi:123 says

however you will need to purchase  the TTS engine
from @url{http://voxin.org}.

But looking at voxin.org today, there is nothing about a TTS engine. That domain is being used by some programmer to showcase their attempts at some 3d game engine. E.g., https://voxin.org/about-me says:

Hi, I’m a Software Engineering Student from germany.
In my free time I like playing computer games with friends, watching movies, reading/researching things online, and creating things.

I’m a visual person and enjoy working on something and have a result in my hands later, which is why I picked up on programming, 3d-modeling, texturing, video editing, writing and music.

error thrown when accessing calendar

What steps will reproduce the problem?
1. M-x calendar
2. cc 
3. FF opening with a tmp file and the message: -:1: parser error : Start
tag expected, '<' not found Badly formatted URI ^ unable to parse - 

What is the expected output? What do you see instead?
appointment of the day

What version of the product are you using? On what operating system?
tar.gz downloaded on the 17th

Please provide any additional information below.
I have errors in the *Message* :
Badly formatted URI
Invalid value for start-min parameter: 2009-07-16T00:00:00.000 02:00

The same behaviour if using w3m-buffer
creating event works (ca)

Original issue reported on code.google.com by [email protected] on 18 Jul 2009 at 4:16

Dealing with feature conflicts

Hello,

This is a follow up to issue #15 from five years ago.

In that pull-request I suggested that you "hide" certain libraries that conflict with libraries that have the same names but are part of other packages. You replied to that suggestion with:

We dont need to do this because for now, I'm making sure to mirror over the bundled libs from Emacs@head. Over time, as Emacs 25 becomes widespread, I'm planning to delete the bundled libs ---so I'd rather not create a mechanism that makes such bundling an accepted solution.

I too prefer dealing with this "properly" but unfortunately that hasn't happened. So I am renewing my request to deal with this, and also to offer my help to do so.

But first I would like to explain why I care about this. I am sure you understand why feature conflicts are bad in general, so I won't bore you with the basic argument. I maintain the Emacsmirror a collection of currently 8100 packages and I try to make sure there are no feature conflicts between any of these packages. Maybe I am crazy for doing this but while this is a lot of work, I am very satisfied with the result.

Currently I am patching 16 packages on the Emacsmirror. About a dozen of them are patched because they bundle libraries they shouldn't bundle, and I couldn't get the maintainers to do something about it. That's 16 out of 8100 packages, which I think is pretty good!

Anyway there is one package left that has feature conflicts and which I have not patched yet: emacspeak. The reason I have not patched it yet is that doing so would risk breaking it for users who get it through the Emacsmirror. I don't know whether there actually any users who do that but still emacspeak is more important to its users than any of the other packages to their respective users.

Then again, it is now the only package out of 8100 with feature conflicts, so I would really like to address those conflicts. This will of course involve work for you but I am also willing to do a lot of the work with your guidance.

Let me list the libraries again, that conflict with libraries from other packages:

  1. nm.el. There are actually two diverging copies of that file within emacspeak itself: lisp/nm.el and tvr/obsolete/nm.el. This seems like it might be an accident, so maybe we could start with this.
  2. Two games: lisp/tetris.el and tvr/sudoku.el. We could deal with those next. If something goes wrong in the process, that is not the end of the world. I briefly compared tetris.el from emacspeak and from emacs and it seems your copy does not offer anything extra, it's just different due to how long ago the two versions have diverged. Maybe I missed something.
  3. tvr/analog.el is an outdated copy of the one at https://github.com/emacsattic/analog
  4. lisp/tapestry.el is nearly identical to the one from the VM package; only the autoload cookies are missing from your copy. VM isn't being maintained anymore, but I pseudo-maintain it in the emacsorphanage and would be willing to remove that library from there and maintain it in a separate repository, so that you could use it without having to depend on all of VM.
  5. lisp/amixer.el conflicts with another independent package. I would recommend that you prefix the library name and all the symbol names with emacspeak-.

So what do you think; are you willing to work through this list with my help?

Cheers, Jonas

Make fails.

$ git checkout master~389 && make clean && make
Previous HEAD position was f7ca8a5 docfix
HEAD is now at 9502d4f use keymap-unset
rm -f *.elc emacspeak-loaddefs.el
emacs -batch ...
...
emacs -batch -q -no-site-file -f package-initialize --eval '(setq file-name-handler-alist nil gc-cons-threshold 64000000 load-source-file-function nil)' -l "../lisp"/emacspeak-preamble.el -l "../lisp"/emacspeak-loaddefs.el -f batch-byte-compile emacspeak-url-template.el
Loading emacspeak-pronounce...

In toplevel form:
emacspeak-url-template.el:64:1: Error: Symbol’s value as variable is void: key
make[1]: *** [Makefile:55: emacspeak-url-template.elc] Error 1
make: *** [Makefile:47: emacspeak] Error 2

While the previous commit seems to work:
$ git checkout master~390 && make clean && make
Previous HEAD position was 9502d4f use keymap-unset
HEAD is now at 1d6ee48 bytecomp
...
See the NEWS file for a summary of new features — Control e cap n in Emacs
See Emacspeak Customizations for customizations — control e cap C in Emacs
Read the Emacspeak Manual — Control e TAB in Emacs
To run this Emacspeak build, add this line to the top of your .emacs:
(load-file "/home/dcolle/.emacs.d/emacspeak/lisp/emacspeak-setup.el")
Type make [dtk, outloud, espeak] to build TTS server.
Package maintainers: see etc/install.org for instructions.

Emacspeaks breaks company-mode

Company mode works fine with emacspeak turned off, when I turn it on completions stop working and I get no completions in the scratch buffer.

Company: An error occurred in auto-begin
Wrong type argument: stringp, nil

M-x: company-diag

Emacs 28.2 (aarch64-apple-darwin21.6.0) of 2022-09-14 on admins-Virtual-Machine.local
Company 0.9.13

company-backends: (company-bbdb company-semantic company-cmake company-capf company-clang company-files
	      (company-dabbrev-code company-gtags company-etags company-keywords)
	      company-oddmuse company-dabbrev)

Used backend: company-dabbrev
Major mode: messages-buffer-mode
Prefix: ""
Completions:
  "ring"
  "kill"
  "copied"
  "lines"
  "containing"
  "region"
  "mark"
  "messages"
  "buffer"
  "only"
  "read"
  "buffer"
  "times"
  "mark"
  "stringp"
  "argument"
  "type"
  "wrong"
  "begin"
  "auto"
  "occurred"
  "error"
  "company"
  "buffer"
  "current"
  "enabled"
  "mode"
  "company"
  "buffer"
  "current"
  "disabled"
  "mode"
  "company"
  "times"
  "done"
  "advice"
  "emacspeak"
  "loading"
  "deprecated"
  "package"
  "type"
  "system"
  "emacs"
  "about"
  "information"
  "done"
  "mode"
  "revert"
  "auto"
  "magit"
  "turning"
  "done"
  "source"
  "custom"
  "emacs"
  "emacs"
  "rmelton"
  "users"
  "loading"
  "done"
  "source"
  "local"
  "init"
  "emacs"
  "rmelton"
  "users"
  "loading"
  "perfectly"
  "functioning"
  "circuits"
  "operational"
  "completely"
  "agiledog"
  "emacspeak"
  "overview"
  "press"
  "done"
  "source"
  "loaddefs"
  "emacspeak"
  "loading"
  "done"
  "refresh"
  "package"
  "elpa"
  "host"
  "contacting"

New to emacs (came for emacspeak) so let me know what if anything I can do to help debug.

voxin / outloud - starting outloud server fails, with "no language found"

hi, at first let me thank T.V. and all contributors for this great
piece of software! Being already a heavy emacs user, before having
the need for an audio desktop, emacspeak was the logical solution for
me.

Unfortunately I am currently struggeling getting voxin / outloud to
run with emacspeak.

starting outloud (in emacspeak/servers) results in:

./outloud
Using SoX
19No language foundtts
while executing
"load $tclTTS/atcleci.so"
(file "./outloud" line 451)

(I got emacspeak working with espeak and also dtk-soft, but as I am a
native german speaker, I would prefer outload/voxin with a german
voice).

steps to reproduce:

  • OS: archlinux, but also tried current ubuntu, same result
  • get current emacs via git and compile & install
  • I obtained from voxin.oralux.org the following languages:
    • voxin-american-english-allison-compact-3.4
    • voxin-american-english-allison-high-3.4
    • voxin-german-petra-ml-high-3.4
    • installed them.
    • voxin seems to be installed correctly, as calling voxin-say
      directly in the shell works. Also orca works, and shows the
      installed voice-packages.
  • checkout emacspeak via git and get all depended stuff and built it,
    also doing make in servers/linux-outloud

I also tried the installer from
https://github.com/Oralux/emacspeak_voxin_install with same result.

Digging into atcleci.cpp with my limited cpp-knowledge, that the call
to initLanguage(interp, aLanguages, nLanguages); always results in
NODEFINEDCODESET, despite nLanguages gets the correct result of 3
languages installed.

Many thanks for any hints!

best regards - okflo

lisp/g-client/greader.el: garbage byte causes compilation failure

Hi,
file lisp/g-client/greader.el contains a spurious "e" after the
variable definition of greader-contents-rest-url, which makes
byte-compilation fail.

The problem appears only with Emacs from BZR. (It wasn't noticed with
previous Emacs version, because these defined a global variable "e".
This variable was renamed in the BZR version some time ago.)

A patch is attached.

What steps will reproduce the problem?
1. "make emacspeak"

What is the expected output? What do you see instead?
Expected: successful byte-compilation
Instead: failure in greader.el

What version of the product are you using? On what operating system?
emacspeak-33.0, emacs-24.0.50 (bzr trunk of today), Gentoo Linux

Original issue reported on code.google.com by [email protected] on 28 Nov 2010 at 6:06

Attachments:

Punctuation marks incorrectly pronounced with emacspeak-speak-char?

Hi @tvraman I expected that emacspeak would pronounce this character « as "left guillemet" or "open guillemet" and I do hear that using emacspeak-speak-word and emacspeak-speak-line.
However for that character emacspeak-speak-char says "left hyphen pointing double angle quotation mark" which correctly describes what that punctuation mark looks like, but it is confusing for me (and may be confusing for others who are trying to learn how to correctly pronounce/verbalize punctuation marks). I would rather emacspeak just use the "left guillemet" here as well. Is that possible/configurable?

Problem with setup / clarification needed

I want to try this, however even with emacs -Q /path/to/emacspeak-setup.el, I run into errors when loading, as follows:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
locate-file-internal

(it seems it can't find a binary it needs? I did attempt to set DTK_PROGRAM to both espeak and espeak-ng (the actual binary I have available))

Should I be ensuring that I start the appropriate server first? (/path/to/emacspeak/servers/espeak)

Deadgrep doesn't read filenames on file-skip (M-n M-p)

Mostly explained in the subject, but deadgrep lets you skip between files with M-n and M-p and individual matches with n and p. When skipping around with M-n M-p the filenames are not read aloud.

As an aside, is rg.el more well supported? I saw both were in things emacspeaks tries to support.

Remove "automatically exported from code.google…" from the repo description

The repository description currently says, quoting "Automatically exported from code.google.com/p/emacspeak". I presume this is a very outdated information, since code.google.com have been turned into an archive at 2016. From what I see this repository is where the development primarily happens. When I just opened this repo I was confused by the text. I think it would be nice to either remove the description completely, or maybe replace it with something akin to "Emacspeak development repository".

eSpeak NG unsupported, regular eSpeak unmaintained

A next-generation, free software synthesizer, eSpeak-NG, should be supported by Emacspeak. Now that Aurolux charges money for Voxin, a proprietary synthesizer which is no longer even free to download, eSpeak, and possibly fLite, are the only developed speech synthesizers. Yet, these speech servers are the most neglected out of all of them, with even the stable version of the regular eSpeak package not having support, in Emacspeak, to switch to other languages besides the default English-UK. With one of eSpeak’s main advantages being it’s diverse language selection, I’d hope that Emacspeak could take advantage of this. Furthermore, Emacspeak doesn’t seem to be able to change voice pitch or “variant” to show voice-lock or aural CSS. This is a sad state, as going forward, Espeak-NG may be the only speech synthesizer which is updated. I see a future for Emacspeak, which is why I file this issue, rather than work with Speechd-el, which is more suited for low-vision users or very advanced users with plenty of time on their hands. Perhaps a server for speech-dispatcher could be made, or the existing eSpeak server could be modified to work with eSpeak-NG. What happens, though, I hope that a future is secured for Emacspeak in the realm of updated speech synthesizers on Linux.

No audio when under cycle-completion-threshold

When completions happen inline, for example for M-x, the initial completion is spoken, but then if tab is pressed again to complete the next option it is not spoken.

Easy to see if you use

(setq completion-cycle-threshold t)


I am using master (6a4b9d8.

support for pipewire?

Does anyone have emacspeak working under Linux pipewire audio?

Fedora 34 uses pipewire instead of pulseaudio to manage sound and I haven't been able to get emacspeak audio working with it yet.

No speech on Fedora

Hello,

I found problem running emacspeak on Fedora 34. It does not output any speech with espeak or outloud.

espeak:

  • Running servers/espeak, no error message
  • executing "say something" on the prompt produce nothing.

outloud:

  • Running servers/outloud produce the following error

Using SoX
Found 2 languages.
allocating 65536 16 bit samples, 5.944308 seconds of audio.
19Error setting output buffer.

while executing

"load $tclTTS/atcleci.so"
(file "./outloud" line 483)

I've recompiled both native-espeak and linux-outloud successfully.

Thanks

updating the FSF addresses in the file headers

There are many references to the old FSF address in the file headers, particularly lisp/*.el.

The current FSF address is "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA."

ie the text:

;;; You should have received a copy of the GNU General Public License
;;; along with GNU Emacs; see the file COPYING.  If not, write to
;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

should be updated to reflect the current address https://www.fsf.org/about/contact/.

I can probably come up with PR for this later if you would prefer that.

It would also be better to include a copy of the GPL COPYING license file.

g-client Broken?

What steps will reproduce the problem?
1. Checkout latest version of emacspeak from subversion and build/install the 
content of lisp/g-client as indicated in 
https://emacspeak.googlecode.com/svn/trunk/lisp/g-client/g-client.html 
2. Open emacs after installation (I am using emacs 23 in Ubuntu 12.10)
3. Follow 
http://blog.vivekhaldar.com/post/1649745633/editing-google-docs-in-emacs . The 
first step (gdocs-signin) already fails after providing my email

What is the expected output? What do you see instead?

Loading /home/fons/emacspeak-read-only/lisp/g-client/g-cus-load.el 
(source)...done
Loading g...done
For information about GNU Emacs and the GNU system, type C-h C-a.
(New file)
Making completion list...
g-get-user-credentials: Symbol's function definition is void: auth-source-search

What version of the product are you using? On what operating system?
SVN, Ubuntu 12.10

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Mar 2013 at 2:40

Problem with make install.

Most people put the source code of any project they are working on in what is in essence a temporary location. They have ABSOLUTELY NO INTENTION of actually running the software from that location. This is why make install steps exist to copy the files to some other location. Your make install does not do this. You also provide no documentation on what is necessary for running and what is just necessary for building. If you are going to do something like this, please provide documentation on what files are necessary for running.

configurable foreign language punctuation?

Hi @tvraman I have found that emacspeak-speak-word does a great job at speaking punctuation marks in French after doing (dtk-set-language fr).

For example the character / is spoken as "barre oblique" and ( is spoken as "parenthèse gauche" which is great.

However the character \ is spoken as "backslash" which is English. Is there any way to configure a French version, for example "Barre oblique inversée" ?

There are several others I would like to configure/change, for example [ is "left bracket" but should be "crochet gauche"

I tried searching the source code for these words, which I thought may lead to some configuration variables, but I did not find anything, so I am asking here.

Thanks in advance for any help/advice.

emacspeak-handle-action-at-point is void with EVIL

First of all: thank you very much for the amazing work with this package! I am not an experienced emacs user and tried to debug this as far as possible. If i missed anything, i am happy to provide further information.

Problem description

emacspeak-handle-action-at-point appears to not be loaded correctly which results in errors when using commands hooked to it.

System

Ubuntu 20.04.1
This is GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20
Discovered with Emacspeak 52.0, WorkAtHomeDog 2e5568e
also just tryed with Emacspeak 52.0, WorkAtHomeDog c200d64

Steps to reproduce

Run emacs -q -l /path/to/emacspeak/lisp/emacspeak-setup.el
then load/eval

(require 'package)
(package-initialize)
(require 'use-package)

;; EVIL
(use-package evil
  :ensure t
  :config
  (evil-mode 1))

Hit dd, to delete a line.

Debug stack trace

Debugger entered--Lisp error: (void-function emacspeak-handle-action-at-point)
  emacspeak-handle-action-at-point()
  emacspeak-speak-region(83 84)
  ad-Advice-evil-delete(#f(compiled-function (beg end &optional type register yank-handler) "Delete text from BEG to END with TYPE.\nSave in REGISTER or in the kill-ring with YANK-HANDLER." (interactive #f(compiled-function () #<bytecode 0x157f099c4065>)) #<bytecode 0x157f0991ecf1>) 83 84 line nil nil)
  apply(ad-Advice-evil-delete #f(compiled-function (beg end &optional type register yank-handler) "Delete text from BEG to END with TYPE.\nSave in REGISTER or in the kill-ring with YANK-HANDLER." (interactive #f(compiled-function () #<bytecode 0x157f09931e19>)) #<bytecode 0x157f0991ecf1>) (83 84 line nil nil))
  evil-delete(83 84 line nil nil)
  #<subr funcall-interactively>(evil-delete 83 84 line nil nil)
  apply(#<subr funcall-interactively> evil-delete (83 84 line nil nil))
  ad-Advice-funcall-interactively(#<subr funcall-interactively> evil-delete 83 84 line nil nil)
  apply(ad-Advice-funcall-interactively #<subr funcall-interactively> (evil-delete 83 84 line nil nil))
  funcall-interactively(evil-delete 83 84 line nil nil)
  #<subr call-interactively>(evil-delete nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> evil-delete nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (evil-delete nil nil))
  #f(advice-wrapper :around #<subr call-interactively> ad-Advice-call-interactively)(evil-delete nil nil)
  apply(#f(advice-wrapper :around #<subr call-interactively> ad-Advice-call-interactively) evil-delete (nil nil))
  call-interactively@ido-cr+-record-current-command(#f(advice-wrapper :around #<subr call-interactively> ad-Advice-call-interactively) evil-delete nil nil)
  apply(call-interactively@ido-cr+-record-current-command #f(advice-wrapper :around #<subr call-interactively> ad-Advice-call-interactively) (evil-delete nil nil))
  call-interactively(evil-delete nil nil)
  command-execute(evil-delete)

Solution hint

When i manually load/eval emacspeak/lisp/emacspeak-wizards.el the emacspeak-handle-action-at-point gets reassigned. Using C-h f to describe emacspeak-handle-action-at-point also gets it working. I think there is some loading issue.

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

  • Using emacs 28.2 on an M1 mac.
  • Using emacspeaks 57 and Mac server (using python 3.10.x)
  • Turned on debug with (setq debug-on-error 't) in scratch and executed it... because M-x isn't working.
  • Switching back to 56 makes M-x (and other bindings) work again.

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)

MacOS: mac/server script uses system Python

The mac/server script shebang line points to the system Python installation. This makes using a virtualenv for managing emacspeak dependencies a bit harder. I think using #! /usr/bin/env python would honor $PATH and use the binary provided by the active virtualenv instead.

Thanks for considering our issue.
Regards,

Rodrigo

Chess module not loaded

In emacspeak-chess-setup it runs (cl-pushnew 'chess-emacspeak chess-default-modules) but in chess-emacspeak-handler, for the 'initialize event, it calls emacspeak-chess-setup, which could lead to an infinite loop, except that in chess-default-modules there is no `chess-emacspeak by default, so nothing gets called anyways.

Not sure how you would want to handle this - I see you (defvar chess-default-modules nil) earlier in the code, perhaps you could set that to include at least 'chess-emacspeak and then remove the cl-pushnew call plus the special chess-default-modules declaration in emacspeak-chess-setup?

some of the elisp files have old FSF address

What steps will reproduce the problem?
1. Some of the the elisp files in emacspeak svn have old FSF address
   in the GPL license headers.  The attached patch has been added
   to Fedora and updates them to the current correct address.

What version of the product are you using? On what operating system?
38.0 and svn head

Thanks

Original issue reported on code.google.com by [email protected] on 25 Oct 2013 at 3:38

Attachments:

failing (and proposed fix for) emacspeak-setup.el on Emacs 25.1.1, Fedora 24

I used emacspeak happily on Fedora 20 for some time with (if I recall correctly) emacs 23.4. Just updated to Fedora 24 and tried installing emacspeak, for which dnf installed emacs 25.1.1 to satisfy the dependency. Emacs will open but when trying to load emacspeak-setup.el throws the error "widget documentation must be nil or string." Actually there is a simple fix: in emacspeak-widget.el, I swapped lines 709 and 710, where a keyword argument was being passed to define-widget before a docstring, causing the problem. Forgive me for not creating a pull request, when I tried re-byte-compiling emacspeak-widget.el, I got more errors that are over my head, so I'll leave that to the experts. Thanks!

Language switching on MacOS

Conditions:

  • OS: MacOS 10.14
  • Emacs: v27
  • Emacspeak: v52.0
  • System language: Czech
  • System voice: Czech
  • LC_ALL=cs_CZ.UTF-8 encoding

My whole system locales are set for UTF-8. Once I choose the czech TTS voice (using "mac" speech server with emacspeak) it still pronounces the national characters as well as punctuations in english.

Is there any way how to force Emacspeak to use also the czech language instead of English?

Curious is that if I run
./servers/mac
% q "some text including czech characters"
% d

it reads it correctly but within the emacs, everything is being read in enblish by czech voice

comint results in "error in process filter: Wrong type argument: stringp, nil"

cfr. my comment on commit 3371935
fyi: the clean build trick as in issue #47 did not work for this issue....

I guess this issue also makes it impossible for me to open a file with sudo via tramp (C-x C-f /sudo::/...)

Commenting out emacspeak related code in my .emacs file and restarting emacs seems to avoid these problems.

this is a critical issue for me.

emacs version: 27.1

Pulse sync tts write error after launching emacs with emacspeak on Slint

Hello,
I compiled Emacspeak on Slint.
Slint is a distro slackware made accessible for blind people.
You can find more here
I could compile Emacspeak from source with make config and make commands and build native espeak server by going to servers directory.
Then I created the .emacs file at ~/.emacs and typed the command provided after the compilation.
After I launch emacs I hear eSpeak says espeak 1.51-dev but espeakup in console tells that there is an error in function pulse sync tts write, something like that.
Unfortunately I am not able to copy it but this is how it sounds.
When I press up/down arrows eSpeak tells nothing in emacspeak and different commands like ctrl+e tab don't make it speaking.
I will note that I could compile emacspeak only in console, the compilation process didn't work in GUI.
How can I make it working? I am curious to look what emacspeak actually is.
Thank you!

light.el conflicts with ultratex

The ultratex package also contains a library named light. According to the library header it was created in 2005 and it was checked into git in 2012. Could you please rename your light?

process speaker not running

What steps will reproduce the problem?
1. Install via apt package
2. Run emacspeak &


What is the expected output? What do you see instead?

The expected output: 'a talking computer'
But I see (and three other people who tried it):  process speaker not running

What version of the product are you using? On what operating system?

I am using the latest version in the apt repository of ubuntu/linux mint.
Details about my operation system:

Linux Mint 14 - 64 Bit

Please provide any additional information below.

I'm wondering if this  bug is known by the emacspeak community. I asked three 
other people running ubuntu if it worked 'out of the box', but they got the 
same error messages. 
I think that an application in the apt repository must be capable of running 
directly, without user interaction to fix broken things (see: 
http://emacspeak.sourceforge.net/install-guide/troubleshooting.html ), I really 
like the opensource community and I have a lot of respect for people who are 
programming in there free time for others.
I hope this bug can be fixed. Then your product would be perfect!

Original issue reported on code.google.com by [email protected] on 26 May 2013 at 5:30

(investigation) Robot/Buggy Audio after extended use

@tvraman not sure if this belongs here or on the mailing list?

The bug is fairly consistent, with heavy use with lots of overlapping sounds, the voice and synthesizer on MacOS 12+ will get garbled and will not recover until emacs is exited.

At first, myself and other users expected it might have to do with 3rd party audio modifications on MacOS, and while this does make it more pronounced, it is not the cause, I have confirmed on a few complete install on an M1 Mac Mini.

The next idea was that it was a specific version of Emacs, specifically Emacs-Mac. Again, this was a contributing factor to the problem, but not the cause. I produced it with a fresh built Emacs-Plus 28.2.

So, then I thought it might be the python mac server, so I wrote a new one in Go to see if this was the case, and while building (and using) my new server, the bug came up again. So it isn't the python mac server. I might complete the server, it is just really getting started at https://github.com/robertmeta/fastmac -- I still want a faster more easily concurrent server for Mac.

By pure luck, as I was doing this stuff over the last few weeks I started using and loving Ivy and Swiper. This was great timing, as I can consistently bug out my sound with Ivy and Swiper witha couple tries. It appears to be related to sounds played during typing / using backsapce in like swiper for example. With enough overlapping / concurrent noises the sound gets blown out. I am currently investigating the mechanics of how those sounds are played (audio-faces?)... and I will report back here (or the mailing list if a better place).

make install fails on outloud/ALSA

Exact error text is next:

install: cannot stat 'servers/linux-outloud/ALSA': No such file or directory

I conclude it's due to the file ALSA was moved into obsolete dir.
I think you know better what is right choice to move ALSA back from obsolete or to remove it from deps.
Current fast fix I used in PKGBUILD on archlinux is to remove that file from install targets at line 145.
Variant using sed is next:

sed -i '/^\${ECI}\/ALSA\s\+/s///' Makefile

Also, targets espeak and outloud aren't built by default, but installed unconditionally.
I suggest to modify install target to install files from those targets only if them were built.
Or, which much easier, built both targets by default.
Possible variant is to create target all at the top of makefile with next content:

all: emacspeak espeak outloud

Emacspeak does not work in Termux

I tried installing emacsspeak on Termux on my OnePlus 6T. Notes:

  • In addition to Termux, I installed from the Play Store: Termux API

  • I changed the libespeak in servers/native-espeak/Makefile to libespeak-ng.

  • I installed the Termux packages termux-tts-speak and sox.

  • I can hear espeak speaking in Termux:

    $ espeak -w /proc/self/fd/1 "This is an example text" | play -
    

    See: termux/termux-app#874 (comment)

  • Building Emacspeak with espeak support works fine in Termux.

  • I hear music plus the spoken sentence "This is Emacsspeak" when starting as follows:

    $ export DTK_PROGRAM=$(which espeak)
    $ ./runq
    

    However, commands such as emacspeak-speak-line do not work. This is the problem.

software speech synthesizer clarification?

the documentation (dated 2001) suggests that the only software speech synth 
supported is IBM's 
ViaVoice.  Is this still the case? and if so are there new links to download 
the ViaVoice speech 
synthesizer?

i have tried installing this on a system with festival and flite installed, but 
cannot even begin to guess 
where to set what backend speech syntheizer it should be using.

Original issue reported on code.google.com by [email protected] on 3 May 2009 at 7:08

make install fails

"sudo make install" of current trunk stops with "Symbol's value as variable is void: mpg123-mode-map "

Messages before are:

Loading emacspeak-metapost.elc...
Loading emacspeak-midge.elc...
Loading emacspeak-mpg123.elc...

Invalid function: (PULSE SINK tts-notification-device)

When attempting to run Emacspeak with espeak, I get the following error:
Invalid function: (PULSE SINK tts-notification-device)
In my .emacs.el, I have:

(load-file “~/emacspeak/lisp/emacspeak-setup.el”)
(espeak)

Am I doing something wrong here? I git cloned this repo, cd emacspeak, make, make espeak, and then put that in my config.

many thanks words to yours wonderful Espeak driver for Emacspeak

Dear specialists,
I would like to express my deepest possible appreciation to yours programmers work. Why? Because yours driver work not only on standard Linux environments with Udev and other modules. But it is even possible to use it with Userland on Android, if Xserver XSDL is being used and its internal PUlseaudio sound server is being used. Speech is fluent, no random crashes occur even while running Linux distro by using Proot and its only userspace variant with some software limitations.
Does yours driver uses speech-dispatcher to communicate with Espeak? Or do you use some native C or C++ code to do that? My biggest dream would be, if it would be possible to use yours driver with Orca instead of Speech-dispatcher officially supported driver. Because speech-dispatcher produces very very interrupted speech if Xserver XSDL is being used with Pulseaudio build in to this app for Android. And because I Am not C language expert, I Am helpless to recode speech-dispatcher myself to support this Pulseaudio server my self. But I know, that newest stable Orca will very probably not support orcacustomisations.py to use Espeak emacspeak driver instead of Speech-dispacher which is offic ially supported.
Sure. I could combine Termux, build in Pulseaudio sound server to play sounds from Userland. But it require new processes and i have only 2 GB of free RAM. If you could think about even older version of Orca, which would support Emacspeak espeak driver instead of Speech-dispatcher driver and it would be compatible with Debian Buster, please let Me know.
Or if you know about some Python script, which would allow Me to run Orca with Emacspeak Espeak driver instead of Speech-dispatcher, please let Me knot about this solution.
Really, very very well done. Speech-dispatcher produces interrupted speech even if user uses spd-say command to send some string to Espeak. If user only execute espeak "test sentence for us which is perfect." Espeak speak fluent. YOu are very probably C language expert so may be, that you will know about The advice, which could I perform to find out how to solve my issue.
Thank you very very much for yours programmers advice.
With warmest regards.
Janusz Chmiel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.