Mac server design question
by Robert Melton
I notice that mac server is spammed with voice change calls, often spammed back to back with
no interleaving commands at all. I suspect this is being used as a sort of soft-reset, and I further
suspect this is part of the issues with the mac server.
Can anyone confirm if my intuition is correct on this?
--
Robert "robertmeta" Melton
1 month
Re: eldoc errors in elisp
by T.V Raman
SG. Can I expect a patch from you, or do I go read up on the new
implementation -- am missing context that I'll need to refresh first
before I can follow your tip, and a patch would save me time as I get
ready to make the next public release of Emacspeak.
--=20
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
=E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
1 month
Re: eldoc errors in elisp
by T.V Raman
Awesome, will rewrite once I hear back.
One constraint -- I'd like to keep backwrd compatibility with Emacs 28
since Emacs 29 is not yet ready for release.
I myself run Emacs from Git@Head
Jo=C3=A3o T=C3=A1vora writes:
> Alright, i had a look and it should be easy to fix.
>=20
> I'll do that later.
>=20
> I have a feeling we already had this conversation about an year ago.=
Your
> code is fine for the most part, but you must rewrite it to use the
> arguments passed to it instead of consulting internal implementation=
> details.
>=20
> Jo=C3=A3o
>=20
> On Sat, Apr 22, 2023, 19:13 T.V Raman <raman(a)google.com> wrote:
>=20
> >
> > (Copying emacspeak list so it gets archived and found later)
> >
> > Thanks for the offer to help, I'll take you up on it, see below.
> >
> > Your guess is correct.
> >
> > There are two goals for Emacspeak visavis Eldoc
> >
> > 1. If eldoc auto triggers a message, and if emacspeak were to spea=
k it
> > in every case, it gets annoying fast and you cant do what you'r=
e
> > doing.
> >
> > The advantage with visually showing the message is that the eye ca=
n
> > choose to ignore it; the ear cannot ignore something
> > spoken. Emacspeak tries to somewhat ameliorate this by speaking=
> > notifications just on one ear, but it's still too much in the c=
ase
> > of eldoc.
> >
> > 2. Complementary requirement; you want to hear that message bec=
ause
> > it does have helpful info; so you want it spoken "on demand"=
=2E
> >
> > Solution:
> >
> > Emacspeak produces a very short auditory icon to
> > indicate that eldoc is available at point as you move throug=
h
> > the code; the experienced user can then hit a key and here i=
t.
> >
> > Here is the implementation; it's pretty short, and you might=
be
> > able to advice me (no defadvice pun intended)
> > See function emacspeak-speak-eldoc
> > at
> > https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-ad=
vice.el#L801
> >
> > --
> >
> > Thanks,
> >
> > --Raman(I Search, I Find, I Misplace, I Research)
> > =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE
> >
> > --
> >
> > Thanks,
> >
> > --Raman(I Search, I Find, I Misplace, I Research)
> > =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE
> >
--=20
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
=E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
1 month
Error while using erc
by Александар Средојевић
Hi there,
when reading through an erc buffer some notices don't get read, as expected, but
others cause this error message:
Wrong type argument: symbolp, ’inaudible
Here is the example of a line that causes the error:
*** epony (~epony@user/epony) has joined channel #mutt
While this one doesn't:
*** EvgenyK (~EvgenyK@<ip-addr>) has quit: Ping timeout: 240 seconds
As far as I can tell, it's "epony" in the first message that specifically causes
the issue. This is what emacspeak tries to say when I press C-e M-v:
(’inaudible) for (erc-nick-default-face erc-notice-face)
Thanks in advance for any response
--
Kind regards,
Aleksandar
1 month
Re: eldoc errors in elisp
by T.V Raman
(Copying emacspeak list so it gets archived and found later)
Thanks for the offer to help, I'll take you up on it, see below.
Your guess is correct.
There are two goals for Emacspeak visavis Eldoc=20
1. If eldoc auto triggers a message, and if emacspeak were to speak it
in every case, it gets annoying fast and you cant do what you're
doing.
The advantage with visually showing the message is that the eye can
choose to ignore it; the ear cannot ignore something
spoken. Emacspeak tries to somewhat ameliorate this by speaking
notifications just on one ear, but it's still too much in the case
of eldoc.
2. Complementary requirement; you want to hear that message because
it does have helpful info; so you want it spoken "on demand".
Solution:
Emacspeak produces a very short auditory icon to
indicate that eldoc is available at point as you move through
the code; the experienced user can then hit a key and here it.
Here is the implementation; it's pretty short, and you might be
able to advice me (no defadvice pun intended)
See function emacspeak-speak-eldoc
at https://github.com/tvraman/emacspeak/blob/master/lisp/emacspea=
k-advice.el#L801
=20
--=20
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
=E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
1 month
Problem with emacspeak on mac after upgrading to macOS 13.3
by Greg Wocher
Hello all,
After I upgraded my mac to version 13.3 emacspeak seems to no longer work. When I launch emacs all I get is a window with a toolbar and a text area that neither voiceover or emacspeak reads. I also do get the startup sounds for emacspeak. It just won't read anything. What can I do to try and fix this? THanks for any help.
Greg Wocher
1 month, 1 week
character scale not working under Ventura
by John Covici
Hi. I am using emacs 28.2 under Ventura and the character scale does
not seem to do anything. After I load emacspeak I have
(dtk-set-character-scale0.50)
but nothing seems to happen.
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici(a)ccs.covici.com
1 month, 3 weeks
Announcing "swiftmac" a new voice server for MacOS
by Robert Melton
Hey All!
For those who don't like reading, here is the repo: https://github.com/robertmeta/swiftmac
Below I hope to answer most questions you might have, but ask away if I missed something.
Q. What did I do now?
A. I wrote a new voice server for MacOS 100% in swift with no additional dependancies. If you can run swift from the command line (meaning, have xcode), you are good to go.
Q. Why didn't you just fix the python server?
A. I tried! Multiple times! A few reasons, the biggest one being I traced some of my problems to something deep and dark happening in pyobjc and lost the thread to fix it (and my will to live).
Q. What was wrong with the python server?
A. Well, for me, it leaked memory to the tune of hundreds of gigs), it would corrupt my voice server, due to the way it allocated stuff it would double-speak by default (the OS didn't understand it was speaking), I had trouble debugging it in any real manner, it attempted to be nonblocking but WOULD block emacs at times.
I also disliked the python + additional deps you have to install for python to get it to work. I am lazy, I want stuff to just work. I also liked the idea of a server working like the other ones, having a build step and you being able to depend on them once built.
Q. So, you just ported the Mac server?
A. Yep, basically. Added a few bells and whistles and still lagging behind in a few areas (no pitch shift on caps yet).
Q. Who should use it at this neophyte stage?
A. The brave and true, I am using it as my daily driver, and if you want to report bugs please build it with debug mode (make install-debug) and send the /tmp/swiftmac-debug-....log file
Q. Is the code clean?
A. No, it is an unholy mess, but if you don't release until you are proud of it you might never release. It will get better, I promise! I learned swift to do this so it had a lot of sharp corners for me.
Q. What are you goals?
A.
• No deps except swift
• Compiled and multithread for complete non-blocking operations
• Highly reliable, will never corrupt speech on MacOS
• Drop in (no configuration or special setup required in Eamcs or the operating system.
• Feature complete support of all emacs speech server commands
• With a separate test script to confirm all features work
Q. Will you contribute this to Emacspeak
A. That is the whole point to have it ship in the box, not there yet but getting close, need to support beep caps split caps, pitch shift caps and have a bit more testing.
Q. What is the license?
A. MIT, go nuts!
Q. Any secret features?
A. YES! You can change the volume of sounds, voices and tones seperately by setting environmental variables SWIFTMAC_SOUND_VOLUME, SWIFTMAC_TONE_VOLUME and SWIFTMAC_VOICE_VOLUME between 0 and 1, so 0.5 would be half volume.
Q. Anything else?
A. Nope, but I do have some questions for the community below!
----
How ARE split caps and beep caps supposed to work? I get beep caps, beep before a cap using a tone right? But, how does split caps work, do I break the word in half like CamelCase becomes Camel[*]Case or what?
--
Robert "robertmeta" Melton
1 month, 3 weeks
capitalization question
by John Covici
Hi. I am running emacs28 and emacspeak on a macbook pro. I was
finally able to upgrade the machine to ventura 13.3 and things are
working -- I am even getting auditory icons. I noticed two things, I
had to slow down the speech rate, from 320 to 220 -- and I was
wondering why I had to do that.
My main question is that I would like to change the setting globally
from where it would say cap to a pitch change and I have not been
able to figure out how to do this.
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici(a)ccs.covici.com
1 month, 3 weeks