Skip to Content.
Sympa Menu

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

Subject: Emacspeak discussion list

List archive

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


Chronological Thread 
  • From: Robert Melton <lists AT robertmelton.com>
  • To: John Covici <covici AT ccs.covici.com>
  • Cc: Emacspeaks <emacspeak AT emacspeak.net>, Parham Doustdar <parham90 AT gmail.com>
  • Subject: Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional
  • Date: Thu, 1 Feb 2024 13:44:28 -0500

Yep, so you can tell you are in quotes, but since that is a feature of the
speech server (swiftmac, mac) it should have always been working. No idea
why it would start working for you now... I don't think sox would impact
that.

> On Feb 1, 2024, at 13:37, John Covici (via emacspeak Mailing List)
> <emacspeak AT emacspeak.net> wrote:
>
> I fixed the rate, I had set the character-scale to a lower value
> because it used to be hard to hear each character as you arrowed over
> it.
>
> The pitch shift only seems to happen in quoted strings -- is that a
> feature?
>
> On Thu, 01 Feb 2024 12:54:43 -0500,
> Robert Melton (via emacspeak Mailing List) wrote:
>>
>> [1 <text/plain; utf-8 (quoted-printable)>]
>> John--
>>
>> I am now utterly confused about what version of emacspeak you were using.
>> As the pitch shift on quotes has been a standard feature since I have been
>> using emacspeak, not sure when it was added.
>>
>> As for the rate, change it to whatever you like: C-e d r
>>
>>> On Feb 1, 2024, at 11:27, John Covici (via emacspeak Mailing List)
>>> <emacspeak AT emacspeak.net> wrote:
>>>
>>> So, I am getting emacspeak to sort of work with a few strange things
>>> happening. If I arrow over each character its very slow, as though
>>> emacspeak suddenly has a much lower speaking rate. Also, any line
>>> with a quotation mark, raises the pitch for anything after the
>>> quotation mark.
>>>
>>> I want to thank everyone for your help on this one.
>>>
>>> On Thu, 01 Feb 2024 10:27:10 -0500,
>>> Robert Melton (via emacspeak Mailing List) wrote:
>>>>
>>>> [1 <text/plain; utf-8 (quoted-printable)>]
>>>> John--
>>>>
>>>> I think I recreated this and it implies two things:
>>>>
>>>> 1. You did not install sox (earlier this was recommended as a solution)
>>>> 2. You are not using the recommended swiftmac auditory icon settings
>>>>
>>>> I think if you "brew install sox" it will fix your problem, or if you
>>>> use the recommended swiftmac audio icon play it will fix your problem as
>>>> well.
>>>>
>>>> But, in investigating this I think I found a bug in swiftmac audio icon
>>>> playback, so that was a nice bonus!
>>>>
>>>> I would first just "brew install sox" and see if that gets it working.
>>>>
>>>>> On Feb 1, 2024, at 09:35, John Covici (via emacspeak Mailing List)
>>>>> <emacspeak AT emacspeak.net> wrote:
>>>>>
>>>>> OK, after finding the actual emacs binary and doing -nw, I actually
>>>>> get some warning about my .emacs file and so I ran with --debug-init
>>>>> and got the following:
>>>>>
>>>>> 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" "button")
>>>>> emacspeak-play-auditory-icon(button)
>>>>> emacspeak-auditory-icon(button)
>>>>> emacspeak-sounds-select-theme("/Users/covici/emacspeak/sounds/ogg-chimes/")
>>>>> emacspeak()
>>>>> (let ((file-name-handler-alist nil)
>>>>> (load-source-file-function nil)) (load "emacspeak-loaddefs")
>>>>> (emacspeak))
>>>>> (if noninteractive nil (let ((file-name-handler-alist nil)
>>>>> (load-source-file-function nil)) (load "emacspeak-loaddefs")
>>>>> (emacspeak)))
>>>>> eval-buffer(#<buffer *load*-856885> nil
>>>>> "/Users/covici/emacspeak/lisp/emacspeak-setup.el" nil t) ; Reading
>>>>> at buffer position 2150
>>>>>
>>>>> load-with-code-conversion("/Users/covici/emacspeak/lisp/emacspeak-setup.el"
>>>>> "/Users/covici/emacspeak/lisp/emacspeak-setup.el" nil nil)
>>>>> load("/Users/covici/emacspeak/lisp/emacspeak-setup.el" nil nil t)
>>>>> load-file("/Users/covici/emacspeak/lisp/emacspeak-setup.el")
>>>>> eval-buffer(#<buffer *load*> nil "/Users/covici/.emacs" nil
>>>>> t) ; Reading at buffer position 3837
>>>>> load-with-code-conversion("/Users/covici/.emacs"
>>>>> "/Users/covici/.emacs" t t)
>>>>> load("~/.emacs" noerror nomessage)
>>>>> startup--load-user-init-file(#f(compiled-function () #<bytecode
>>>>> 0x1569ad0cc53c31>) #f(compiled-function () #<bytecode
>>>>> -0x1f3c61addc0b5af5>) t)
>>>>> command-line()
>>>>> 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 AT ccs.covici.com> 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 AT emacspeak.net> 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 AT ccs.covici.com
>>>>>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>>>>>> To unsubscribe send email to:
>>>>>>>>> emacspeak-request AT emacspeak.net with a subject of: unsubscribe
>>>>>>>>
>>>>>>>> [2 <text/plain; UTF-8 (8bit)>]
>>>>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>>>>> To unsubscribe send email to:
>>>>>>>> emacspeak-request AT emacspeak.net 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 AT ccs.covici.com
>>>>>>
>>>>>> [2 <text/plain; UTF-8 (8bit)>]
>>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>>> To unsubscribe send email to:
>>>>>> emacspeak-request AT emacspeak.net 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 AT ccs.covici.com
>>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>>> To unsubscribe send email to:
>>>>> emacspeak-request AT emacspeak.net with a subject of: unsubscribe
>>>>
>>>> [2 <text/plain; UTF-8 (8bit)>]
>>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>>> To unsubscribe send email to:
>>>> emacspeak-request AT emacspeak.net 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 AT ccs.covici.com
>>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>>> To unsubscribe send email to:
>>> emacspeak-request AT emacspeak.net with a subject of: unsubscribe
>>
>> [2 <text/plain; UTF-8 (8bit)>]
>> Emacspeak discussion list -- emacspeak AT emacspeak.net
>> To unsubscribe send email to:
>> emacspeak-request AT emacspeak.net 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 AT ccs.covici.com
> Emacspeak discussion list -- emacspeak AT emacspeak.net
> To unsubscribe send email to:
> emacspeak-request AT emacspeak.net with a subject of: unsubscribe




Archive powered by MHonArc 2.6.19+.

Top of Page