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

Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional



Interesting idea -- since I have to do tthis outside of emacs
altogetherr, I was thinking of copying the file to a safe place,
changing the file using ex, saving the file and restarting emacs.
Would that work?

On Thu, 01 Feb 2024 01:21:46 -0500,
Victor Tsaran (via emacspeak Mailing List) wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (quoted-printable)>]
> Hi John.
> I just had an idea...
> Back in the Bigsur days  the Emacs app used to crash altogether if you
> tried running it with Emacspeak. Back then Raman suggested a trick that
> fixed the issue.
> Since then those crashes went away and I never thought about it twice.
> However, it occurred to me just right now to try it again and, what a
> surprise, this seems to fix the delay that you and I experience when
> starting the graphical version of Emacs.
> If you are willing to try it out, here is what you can do:
> 1. Open lisp/emacspeak.el from the Emacspeak repository in a text editor.
> 2. Look for lines that start with
> (make-thread
> function name and replace it with
> (funcall
> (Please pay attention to the left parenthesis at the beginning of the line
> and the space right after the "make-thread" function name.
> 3. To be on the safe side, you might want to evaluate the buffer before
> saving the file and restarting Emacs in case there are typos or something
> else goes wrong. If you get errors, do not save, etc.
> 4. "kill" the buffer, then arrow to the "emacspeak.el" (if you are
> accessing this from dired, of course), then press shift+b to byte-compile
> the file.
> 5. Restart Emacs with Emacspeak by pressing c-e c-r and see if the
> situation improves.
> It did for me...
> 
> If something is unclear from the above, please let me know.
> Best.
> Victor
> 
> 
> On Wed, Jan 31, 2024 at 9:34 PM Victor Tsaran <vtsaran@xxxxxxxxx> wrote:
> 
> > Yep, this is sort of the situation I am in currently.
> > If you wait a little bit, or just press up and down arrows a few times,
> > Emacspeak may resume speaking. SOmetimes this happens after a few seconds,
> > sometimes it may take 30. You will know that Emacspeak is about to resume
> > its operation when you hear VoiceOver say something like "Emacs is not
> > responding".
> > Unfortunately, I am not able to figure out how to profile what is
> > happening there.
> > If you launch "emacs" in Terminal though, using the "emacs -nw" command,
> > everything should work fine. Can you try it?
> >
> >
> >
> >
> > On Wed, Jan 31, 2024 at 8:05 PM John Covici <emacspeak@xxxxxxxxxxxxx>
> > wrote:
> >
> >> So, I have made some progress of a sort -- I wiped out the emacspeak
> >> directtory  and re cloned from git.  Now emacspeak loads successfully,
> >> but it will only speak if I use c-e commands, if I hit the down arror
> >> for instance, nothing happens.  So, how to get things working again?
> >>
> >> On Wed, 31 Jan 2024 08:04:51 -0500,
> >> Parham Doustdar (via emacspeak Mailing List) wrote:
> >> >
> >> > [1  <text/plain; utf-8 (quoted-printable)>]
> >> > Also, if mplayer ends up not being the issue, can you clarify what you
> >> mean by “some sort of fatal error”? What sort? :-) Also, any tracebacks?
> >> >
> >> > > On 31 Jan 2024, at 13:40, John Covici <covici@xxxxxxxxxxxxxx> wrote:
> >> > >
> >> > > Thanks for your quick response.
> >> > >
> >> > > I did make clean, make confiig and make whenever I changed the
> >> > > emacspeak I was using.  I did tryy to load emacspeak using esc-x
> >> > > load-file, but I got some kind of fatal error when trying to do that.
> >> > > Since this is a mac, would I need mplayer and sox?
> >> > >
> >> > > On Wed, 31 Jan 2024 06:36:08 -0500,
> >> > > Parham Doustdar (via emacspeak Mailing List) wrote:
> >> > >>
> >> > >> [1  <text/plain; utf-8 (quoted-printable)>]
> >> > >> Hi John,
> >> > >> There could be many reasons for this, so I’m going to throw a whole
> >> bunch of steps at you to see which one works, haha.
> >> > >> First, have you tried running `make clean` and `make` when you
> >> either go back to a release or to the git HEAD?
> >> > >> Also, do you have Emacspeak dependencies, notably mplayer and sox
> >> installed?
> >> > >> If you do all this, we’ll need to figure out what happens when you
> >> load Emacspeak. I’m not sure of the best way to do this given your
> >> configuration, but maybe try the emacs -Q that you did before, and do M-:
> >> (load-file “~/src/emacspeak/lisp/emacspeak-setup.el”) or whatever your
> >> emacspeak path is, and see if you can read the buffer contents with the
> >> errors, maybe from th e*Messages* buffer.
> >> > >> Hope this gives you a few next steps to debug the issue!
> >> > >>
> >> > >>> On 31 Jan 2024, at 12:28, John Covici (via emacspeak Mailing List) <
> >> emacspeak@xxxxxxxxxxxxx> wrote:
> >> > >>>
> >> > >>> Hi everyone. So, I think this started after upgrading to emacs 29.1.
> >> > >>> What happens is that after emacspeak is loaded emacs does not work
> >> --
> >> > >>> escape followed by x types x in the buffer.  c-x followed by b does
> >> > >>> nothing at all.  Many other things don't seem to work as they
> >> should.
> >> > >>>
> >> > >>> So, I started on the hunt.  I am using the railway casc out of
> >> > >>> homebrew, but the same thing happens with the original emacs
> >> macport.
> >> > >>> So, the first thing I did was from the terrminal typed
> >> > >>>
> >> /opt/homebrew/Cellar/emacs-mac/emacs-29.1-mac-10.0/Emacs.app/Contents/MacOS/Emacx
> >> > >>> -q  to see if it was my settings.  Sure enough, emacs was
> >> functioning,
> >> > >>> I knew this because vo read  some things and I could actually hear
> >> m-x
> >> > >>> when I typed esc-x .  So, I then fooled around with my .emacs file
> >> and
> >> > >>> sure enough, the load of emacspeak was the problem.  I was using
> >> > >>> emacspeak from git and I went back to emacs 59, but no joy.  I am
> >> > >>> stumped after that, so any suggestions as to how to debug further
> >> > >>> would be appreciated.
> >> > >>>
> >> > >>> Thanks all.
> >> > >>>
> >> > >>> --
> >> > >>> Your life is like a penny.  You're going to lose it.  The question
> >> is:
> >> > >>> How do
> >> > >>> you spend it?
> >> > >>>
> >> > >>>        John Covici wb2una
> >> > >>>        covici@xxxxxxxxxxxxxx
> >> > >>> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> >> > >>> To unsubscribe send email to:
> >> > >>> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
> >> > >>
> >> > >> [2  <text/plain; UTF-8 (8bit)>]
> >> > >> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> >> > >> To unsubscribe send email to:
> >> > >> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
> >> > >
> >> > > --
> >> > > Your life is like a penny.  You're going to lose it.  The question is:
> >> > > How do
> >> > > you spend it?
> >> > >
> >> > >         John Covici wb2una
> >> > >         covici@xxxxxxxxxxxxxx
> >> >
> >> > [2  <text/plain; UTF-8 (8bit)>]
> >> > Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> >> > To unsubscribe send email to:
> >> > emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
> >>
> >> --
> >> Your life is like a penny.  You're going to lose it.  The question is:
> >> How do
> >> you spend it?
> >>
> >>          John Covici wb2una
> >>          covici@xxxxxxxxxxxxxx
> >> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> >> To unsubscribe send email to:
> >> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
> >>
> >
> >
> > --
> >
> > --- --- --- ---
> > Find my music on
> > Youtube: http://www.youtube.com/c/victortsaran
> > <http://www.youtube.com/vtsaran>
> > Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
> > Band Camp: http://victortsaran.bandcamp.com
> >
> >
> 
> -- 
> 
> --- --- --- ---
> Find my music on
> Youtube: http://www.youtube.com/c/victortsaran
> <http://www.youtube.com/vtsaran>
> Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
> Band Camp: http://victortsaran.bandcamp.com
> [1.2  <text/html; UTF-8 (quoted-printable)>]
> [2  <text/plain; UTF-8 (8bit)>]
> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> To unsubscribe send email to:
> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@xxxxxxxxxxxxxx


|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page