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
|May 1995 - Last Year|Current Year|
If you have questions about this archive or had problems using it, please contact us.