[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The netsec thread
From: |
Andy Moreton |
Subject: |
Re: The netsec thread |
Date: |
Mon, 23 Jul 2018 14:31:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
On Mon 23 Jul 2018, Lars Ingebrigtsen wrote:
> Eli Zaretskii <address@hidden> writes:
>
>>> From: Jimmy Yuen Ho Wong <address@hidden>
>>> Date: Mon, 23 Jul 2018 02:52:23 +0100
>>> Cc: Eli Zaretskii <address@hidden>, Emacs-Devel devel <address@hidden>
>>>
>>> That sound great, but what is this select-safe-coding-system and how
>>> do I look at its UI?
>>
>> lisp/international/mule-cmds.el, look at
>> select-safe-coding-system-interactively, a subroutine of
>> select-safe-coding-system. In a nutshell, it prepares and pops up a
>> buffer with special content, then prompts the user to select one of
>> several alternatives.
>
> Hm... I ran:
>
> (select-safe-coding-system-interactively 1 3 (find-coding-systems-region 1 3)
> nil)
>
> and it just popped up a buffer with some text and then called
> `read-coding-system', which is kinda close to what the NSM prompt is
> doing already. Only the NSM prompt calls a y-or-n-p-equivalent, so that
> you can't enter any other keys then the required ones
... except if you do press a different key, NSM gets stuck and does not
accept new valid keys (other than ^G to quit).
AndyM
- The netsec thread, Lars Ingebrigtsen, 2018/07/20
- Re: The netsec thread, Eli Zaretskii, 2018/07/20
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/20
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/20
- Re: The netsec thread, Eli Zaretskii, 2018/07/20
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/20
- Re: The netsec thread, Jimmy Yuen Ho Wong, 2018/07/22
- Re: The netsec thread, Brett Gilio, 2018/07/22
- Re: The netsec thread, Eli Zaretskii, 2018/07/22
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/23
- Re: The netsec thread,
Andy Moreton <=
- Re: The netsec thread, Jimmy Yuen Ho Wong, 2018/07/23
- Re: The netsec thread, Andy Moreton, 2018/07/23
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/23
- Re: The netsec thread, Andy Moreton, 2018/07/23
- Re: The netsec thread, Andy Moreton, 2018/07/23
- Re: The netsec thread, Lars Ingebrigtsen, 2018/07/24
- Re: The netsec thread, Andy Moreton, 2018/07/24
- Re: The netsec thread, Andy Moreton, 2018/07/24
- Re: The netsec thread, Noam Postavsky, 2018/07/24
- Re: The netsec thread, Jimmy Yuen Ho Wong, 2018/07/24