[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request: Please add a prompt to read-event
From: |
T.V Raman |
Subject: |
Re: Request: Please add a prompt to read-event |
Date: |
Sun, 19 Dec 2021 06:46:13 -0800 |
I didn't write the code in novice.el:-)
Lars Ingebrigtsen writes:
> "T.V Raman" <raman@google.com> writes:
>
> > Emacspeak advices read-event and read-char to speak their
> > prompt. There are a few places in Emacs where read-event and/or
> > read-char are called without a prompt; e.g. disabled-command-function
> >
> > Could we perhaps fix this?
>
> [...]
>
> > (message "Type y, n, ! or SPC (the space bar): ")
> > (let ((cursor-in-echo-area t))
> > (while (progn (setq char (read-event))
> > (or (not (numberp char))
> > (not (memq (downcase char)
> > '(?! ?y ?n ?\s ?\C-g)))))
> > (ding)
> > (message "Please type y, n, ! or SPC (the space bar): "))))
>
> Hm... that is pretty odd. Why is it using `message' here instead of
> just using that string as the prompt to `read-event'?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
- Request: Please add a prompt to read-event, T.V Raman, 2021/12/17
- Re: Request: Please add a prompt to read-event, Lars Ingebrigtsen, 2021/12/18
- Re: Request: Please add a prompt to read-event,
T.V Raman <=
- Re: Request: Please add a prompt to read-event, Stefan Monnier, 2021/12/21
- Re: Request: Please add a prompt to read-event, T.V Raman, 2021/12/21
- Re: Request: Please add a prompt to read-event, Lars Ingebrigtsen, 2021/12/22
- Re: Request: Please add a prompt to read-event, T.V Raman, 2021/12/22
- Re: Request: Please add a prompt to read-event, Stefan Kangas, 2021/12/26
- Message not available
- Message not available
- Re: Request: Please add a prompt to read-event, Stefan Kangas, 2021/12/26
- Re: Request: Please add a prompt to read-event, Lars Ingebrigtsen, 2021/12/27
- Re: Request: Please add a prompt to read-event, Eli Zaretskii, 2021/12/27
- Re: Request: Please add a prompt to read-event, T.V Raman, 2021/12/27
- Re: Request: Please add a prompt to read-event, Richard Stallman, 2021/12/19