Yes, there is quite a bit of documentation. There is some html files in
the emacspeak/html directory and some documents in the emacspeak/etc
directory. The main documentation is in *.info format. Add the following
to your .emacs.el file before the line which loads emacspeak-setup.el
(require 'info)
(add-to-list 'Info-additional-directory-list
  (expand-file-name "info" *emacspeak-src-dir*))
then use emacs info mode (C-h i) to open info and look for a menu entry
for 'Emacspeak'.
Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
> Finally, I worked with no errors or wornings!!!!.
>
> Thank you so much!!!
>
> Is there any guide to learn more how to use emacs with emacspeak?
>
> Thank you.
> Mohammed
>
> On Wed, Apr 21, 2021 at 11:02 PM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>
>Â Hi Mohammad,
>
>Â that is a bug, which I thought had been addressed in the sources.
>Â Luckily, it is easily fixed. Add the following line to your .emacs.el
>Â file before the line to load emacspeak-setup.el
>
>Â (setq tts-default-voice 'alex)
>
>Â Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
>
>Â > Hi Tim,
>Â >
>Â > Thank you for the great efforts> I tried using the .emacs.el you edited, but still with no luck. I tried copying th stack trace, but I was not able
>Â to. I
>Â > get the following error:
>Â >
>Â > Warning (initialization): An error occurred while loading â??/Users/mohammad/.emacs.elâ??:
>Â >
>Â > Symbol's value as variable is void: tts-default-voice
>Â >
>Â > To ensure normal operation, you should investigate and remove the
> > cause of the error in your initialization file. Start Emacs with
>Â > the â??--debug-initâ?? option to view a complete error backtrace.
>Â >
> > Note that now when I move by character, emacspeak speaks the characters.
>Â >
>Â > Thank you.
>Â >
>Â > Mohammed
>Â >
>Â >Â On 9 Ram. 1442 AH, at 9:40 AM, Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â OK, I have attached a modified .emac.el file. Replace your version with
>Â >Â the attached version and see if that works better.
>Â >
>Â >Â If you still get errors, try running emacs with the debug-init flag i.e.
>Â >
>Â >Â emacs --debug-init
>Â >
>Â >Â If there is an error, it will provide a backtrace, which will help
>Â >Â identify where the problem is.
>Â >
>Â >Â The other thing you should do is verify that the 'mac' speech server is
>Â >Â working. Change to the servers directory and run it. You should here it
>Â >Â speak. Use Ctl-c to exit. i.e.
>Â >
>Â >Â cd ~/emacspeak/servers
>Â >Â ./mac
>Â >
>Â >Â If the 'mac' script is not executable, you will need to make it
>Â >Â executable with
>Â >
>Â >Â chmod u+x ./mac
>Â >
>Â >Â What I have done is just add a couple of lines to the .emacs.el file.
>Â >
>Â >Â - Add/set the environment variable EMACSPEAK_DIR to the path to the root
>Â >Â Â of your emacspeak source tree
>Â >
>Â >Â - Add/set the environment variable DTK_PROGRAM to 'mac'. The default
>Â >Â Â speech server is espeak and while you can install and build espeak on
>Â >Â Â the mac, you don't need to. The 'mac' server uses the macOS built-in
>Â >Â Â TTS (same as voiceOver).
>Â >
>Â >Â - Add the emacspeak lisp dir to the load path. Strictly speaking, I'm
>Â >Â Â not sure if you need this as I think it might be done by
>Â >Â Â emacspeak-startup.el, but no harm in making sure.
>Â >
>Â >Â With luck, this should get you working. There will be other things you
>Â >Â will want to configure/customize, like speech rate, auditory icons etc,
>Â >Â but those are not critical.
>Â >
>Â >Â Note also that if you see 'warnings' from emacs, don't worry too much
>Â >Â about them. They are only warnings, not errors and while it is good to
>Â >Â get rid of them, they don't always cause harm. They are the sort of
>Â >Â thing you can investigate more once your running.
>Â >
>Â >Â <mohammad.el>
>Â >Â Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
>Â >
>Â >Â /Users/mohammad/emacspeak
>Â >
>Â >Â Here they are...
>Â >
>Â >Â On Wed, Apr 21, 2021 at 7:36 AM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â You might not believe it, but I think we are getting closer!
>Â >
>Â >Â Can you attach a copy of your .emacs.el file? Also, can you cd into the
>Â >Â emacspeak lisp directory and execute pwd and paste that it so I know
>Â >Â what the full path is to your emacspeak install?
>Â >
>Â >Â Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
>Â >
>Â >Â Hi Victor and Tim,
>Â >Â I cloned the git repo from github.
>Â >
> > I donâ??t know how to configure the voice server.
>Â >
>Â >Â I replaced make-thread with funcall, and recompiled, but it did not work
>Â >Â I also uninstalled emacs and installed the version of emacs suggested by Tim, and it is still not working
>Â >
>Â >Â I get the following error:
>Â >
>Â >Â Warning (initialization): An error occurred while loading â??/Users/mohammad/.emacs.elâ??:
>Â >
>Â >Â error: Specified program for new process is a directory
>Â >
>Â >Â To ensure normal operation, you should investigate and remove the
> > cause of the error in your initialization file. Start Emacs with
>Â >Â the â??--debug-initâ?? option to view a complete error backtrace.
>Â >
>Â >Â Thank you
>Â >Â Mohammed
>Â >
>Â >Â On Wed, Apr 21, 2021 at 4:03 AM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â Just to be clear, you don't need to be a user of macPorts. The
>Â >Â railwaycat cask is a homebrew cask, so it is really just another
>Â >Â homebrew formula. Once installed, brew update/upgrade works just the
>Â >Â same as if you were using the 'native' emacs build.
>Â >
>Â >Â Victor Tsaran <vtsaran@xxxxxxxxxxx> writes:
>Â >
>Â >Â Sure, that's probably true if you are a user of MacPorts. :)
>Â >
>Â >Â On Tue, Apr 20, 2021 at 5:43 PM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â Hi Victor,
>Â >
>Â >Â good point. I had forgotten about this issue, primarily because I'm not
>Â >Â impacted by it.
>Â >
>Â >Â Note that the only 'solution' is not just editing to remove calls to
>Â >Â make-thread and replace with funcall. You can also install the mac-ports
>Â >Â version of emacs using the railwaycat/emacsport/emacs-mac cask. I've
>Â >Â been using this version without issue and without needing to modify
>Â >Â emacspeak. I think it also has some other advantages and find it works
>Â >Â better on the mac than a native build - for example, it has a setting
>Â >Â which allows you to turn off voiceOver when running emacs, so you can
>Â >Â avoid the issue of voiceOver and emacspeak fighting against each other
>Â >Â an not need to turn off voiceOver when using emacspeak. It also seems to
>Â >Â integrate better with the rest of macOS and I don't need to do anything
>Â >Â 'special' to get command/option keys working consistently. I've found no
>Â >Â compatibility issues or noticed anything negative compared to using the
>Â >Â native build. It is also at version 27.2.
>Â >
>Â >Â See https://github.com/railwaycat/homebrew-emacsmacport for details on
>Â >Â how to use this formula with homebrew. You need to remove any other
>Â >Â emacs installed via homebrew before installing it.
>Â >
>Â >Â Victor Tsaran <vtsaran@xxxxxxxxxxx> writes:
>Â >
>Â >Â Hello Mohammed!
>Â >Â I filed a bug against Emacs developers on precisely this issue. We have discussed it just a few weeks ago.
>Â >Â While they are figuring out the cause, which I hope will happen soon or not at all, the only fix that worked is what Raman
>Â >Â suggested in
>Â >
>Â >Â one
>Â >
>Â >Â of
>Â >
>Â >Â his
>Â >
>Â >Â earlier messages. Namely:
>Â >
>Â >Â 1. Open emacspeak.el in your emacspeak/lisp directory.
>Â >Â 2. Substitute any calls of "make-thread" with "funcall" (there should be only two occurrences), then save.
>Â >Â 3. Recompile by running "make emacspeak" in your "emacspeak" directory.
>Â >Â You should now be good to go in both Terminal as well the GUI, i.e. if you decide to run Emacs app from the Applications
>Â >Â folder.
>Â >
>Â >Â Hope this helps.
>Â >Â Victor
>Â >
>Â >Â On Tue, Apr 20, 2021 at 4:30 PM Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> wrote:
>Â >
>Â >Â Here is the output of echo $path
>Â >
>Â >Â /usr/local/bin /usr/bin /bin /usr/sbin /sbin
>Â >
>Â >Â and here is the output of which emacs:
>Â >
>Â >Â /usr/local/bin/emacsÂ
>Â >
>Â >Â Note that when I open emacs without loading emacspeak-setup.el, I get the emacs version is 27.2.
>Â >
>Â >Â Thank you.
>Â >
>Â >Â Mohammed
>Â >
>Â >Â On Wed, Apr 21, 2021 at 1:23 AM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â I think we first need to verify that your path variable is correct and
>Â >Â your running the version of emacs installed by homebrew. Can you run in
>Â >Â a terminal the following commands and paste the output in a reply?
>Â >
>Â >Â echo $PATH
>Â >
>Â >Â which emacs
>Â >
>Â >Â and then try running
>Â >
>Â >Â /usr/local/bin/emacs
>Â >
>Â >Â and see if that makes any difference.
>Â >
>Â >Â Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
>Â >
>Â >Â Hi Tim,
>Â >
>Â >Â I used:
>Â >
>Â >Â brew install -cask emacs
>Â >
>Â >Â Then, I built emacspeak using:
>Â >
>Â >Â make config
>Â >Â make emacspeak
>Â >
>Â >Â Then, I added the following to .emacs.el:
>Â >
>Â >Â (load-file â??~/emacspeak/lisp/emacspeak-setup.elâ??)
>Â >Â When I remove this line from the .emacs.el, emacs works normally.
>Â >
>Â >Â The version of emacs is 27.2
>Â >Â When I use the command
>Â >Â Emacs
>Â >
>Â >Â I get the error mentioned in the last email.
>Â >Â When I use the command:
>Â >
>Â >Â emacspeak
>Â >
>Â >Â I get command not found.
>Â >
>Â >Â Thank you
>Â >Â Mohammed
>Â >
>Â >Â On Tue, Apr 20, 2021 at 8:16 AM Tim Cross <theophilusx@xxxxxxxxxxx> wrote:
>Â >
>Â >Â How did you install Emacs? What version is it?
>Â >
>Â >Â What is the exact command your running in the terminal to start emacsthe
>Â >
>Â >Â What do you have in your emacs init file?
>Â >
>Â >Â This looks like a low level emacs error and not specific to emacspeak.
>Â >Â The error seems related to memory allocation. My guess is that the build
>Â >Â of emacs has not worked correctly.
>Â >
>Â >Â Make sure your running a recent version of Emacs (macOS comes with a
>Â >Â very old version of Emacs which will not work with emacspeak).
>Â >
>Â >Â Mohammed Alderweesh <alderweesh.m@xxxxxxxxxxx> writes:
>Â >
>Â >Â Hello list,
>Â >
>Â >Â My name is Mohammed Alderweesh. This is my first time posting to this list. I am trying to run emacs on Mac os
>Â >Â x, I installed the
>Â >
>Â >Â required
>Â >
>Â >Â packages,
>Â >
>Â >Â but when I try running it from the terminal I get the following error:
>Â >
>Â >Â 2021-04-20 05:17:01.372 Emacs-x86_64-10_14[10274:228475] Warning: Expected min height of view:
>Â >Â (<NSButton:
>Â >
>Â >Â 0x7fbe575bced0>) to be
>Â >
>Â >Â less
>Â >
>Â >Â than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
>Â >
>Â >Â 2021-04-20 05:17:01.377 Emacs-x86_64-10_14[10274:228475] Warning: Expected min height of view:
>Â >Â (<NSButton:
>Â >
>Â >Â 0x7fbe576376c0>) to be
>Â >
>Â >Â less
>Â >
>Â >Â than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
>Â >
>Â >Â Emacs-x86_64-10_14(10274,0x700005a4f000) malloc: *** error for object 0x7000062509f8: pointer being freed
>Â >Â was not allocated
>Â >
>Â >Â Emacs-x86_64-10_14(10274,0x700005a4f000) malloc: *** set a breakpoint in malloc_error_break to debug
>Â >
>Â >Â Fatal error 4: Illegal instruction
>Â >
> > zsh: abort   emacs
>Â >
>Â >Â Can you please help me into how to run the software?
>Â >
>Â >Â Thank you.
>Â >
>Â >Â Mohammed
>Â >
>Â >Â _______________________________________________
>Â >Â Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
>Â >Â To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>Â >
>Â >Â --
>Â >Â Tim Cross
>Â >Â _______________________________________________
>Â >Â Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
>Â >Â To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>Â >
>Â >Â --
>Â >Â Tim Cross
>Â >
>Â >Â _______________________________________________
>Â >Â Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
>Â >Â To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>Â >
>Â >Â --
>Â >Â Tim Cross
>Â >
>Â >Â --
>Â >Â Tim Cross
>Â >
>Â >Â --
>Â >Â Tim Cross
>Â >
>Â >Â [4. application/emacs-lisp; .emacs.el]...
>Â >
>Â >Â --
>Â >Â Tim Cross
>
>Â --
>Â Tim Cross
--
Tim Cross
|May 1995 - Last Year|Current Year|
If you have questions about this archive or had problems using it, please contact us.