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

[Emacspeak] Re: eldoc errors in elisp



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(a)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  🦮


|Full archive May 1995 - present by Year|Mailing list's archive of current year by month|


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

Contact Info Page