zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: zed-set-filename breaks zed keymap?
Date: Tue, 26 May 2020 21:25:57 -0700	[thread overview]
Message-ID: <CAH+w=7bCUavuPzMKvJtu0mvrp8HuzGUdpkXbF7ZkxTWWkPx3QQ@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7ZdH+J4nfgfigjm2b_gQQfHMkKhhTCycb-SOp9YwNXSbA@mail.gmail.com>

On Tue, May 26, 2020 at 8:30 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
>
> I discovered that even with plain "zed file" after entering the file
> name into read-from-minibuffer, ^X^W no longer works to exit from zed,
> and a bare return DOES exit it.

The documentation for zed-set-file-name seems contradictory as well.
In the first paragraph it says:

     ... because of zed's rebindings you will have to type ^j at the
     end instead of the return key ...

but then the second paragraph says

     While zed-set-file-name is running, zed uses the keymap
     zed-normal-keymap, which is linked from the main keymap in effect
     at the time zed initialised its bindings.  (This is to make the
     return key operate normally.) ...

The return key does not in fact "operate normally" during
zed-set-file-name, but something else strange is going on with the
keymaps.

  reply	other threads:[~2020-05-27  4:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27  3:30 Bart Schaefer
2020-05-27  4:25 ` Bart Schaefer [this message]
2021-04-25 19:35   ` [PATCH] " Bart Schaefer
2021-04-25 20:55     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bCUavuPzMKvJtu0mvrp8HuzGUdpkXbF7ZkxTWWkPx3QQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).