[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

[Emacspeak] Re: installing on Mac osx



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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)gmail.com> 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(a)emacspeak.org
>  >  >  > To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
>  >  >
>  >  >  -- 
>  >  >  Tim Cross
>  >  >  _______________________________________________
>  >  >  Emacspeak mailing list -- emacspeak(a)emacspeak.org
>  >  >  To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
>  >
>  >  -- 
>  >  Tim Cross
>  >
>  >  _______________________________________________
>  >  Emacspeak mailing list -- emacspeak(a)emacspeak.org
>  >  To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
>
>  -- 
>  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.

Contact Info Page