Subject: Emacspeak discussion list
List archive
- From: Robert Melton <lists AT robertmelton.com>
- To: John Covici <covici AT ccs.covici.com>
- Cc: Parham Doustdar <parham90 AT gmail.com>, Emacspeaks <emacspeak AT emacspeak.net>
- Subject: Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional
- Date: Thu, 1 Feb 2024 12:23:44 -0500
John--
Glad that got it working, the setting to wire auto-icon playback to swiftmac
is:
(defvar emacspeak-auditory-icon-function #'emacspeak-serve-auditory-icon)
Which has a couple minor bugs at the moment, but I am fixing it and adding
ogg support.
> On Feb 1, 2024, at 11:09, John Covici <covici AT ccs.covici.com> wrote:
>
> OK, sox seems to have made it work, I had never needed itt before, so
> I was confused. But what is swift-mac auditory-icon settings and do I
> need it?
>
>
> 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
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Victor Tsaran, 02/01/2024
- <Possible follow-up(s)>
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Victor Tsaran, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Victor Tsaran, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Parham Doustdar, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Victor Tsaran, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Victor Tsaran, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, John Covici, 02/01/2024
- Re: [Emacspeak] loading emacspeak causes emacs itself to be non functional, Robert Melton, 02/01/2024
Archive powered by MHonArc 2.6.19+.