Subject: .safe keymap doesn't use builtin widgets?
From: Daniel Shahaf <[email-masked]>
To: [email-masked]
Date: Mon, 09 May 2016 22:17:43 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Currently, the ".safe" keymap is:

    % bindkey -LM .safe
    bindkey -R -M .safe "^@"-"^I" self-insert
    bindkey -M .safe "^J" accept-line
    bindkey -R -M .safe "^K"-"^L" self-insert
    bindkey -M .safe "^M" accept-line
    bindkey -R -M .safe "^N"-"\M-^?" self-insert

Shouldn't it use the dot-prefixed versions of self-insert and
accept-line, so that for example the following wouldn't lock the user
out:

    % self-insert() {} 
    % zle -N self-insert; bindkey -A .safe main
    % 

?