Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Feature Request] Re: Can one detect that Zsh/Zle is in recursive-edit?
- X-seq: zsh-workers 43295
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Zsh hackers' list" <zsh-workers@xxxxxxx>
- Subject: Re: [Feature Request] Re: Can one detect that Zsh/Zle is in recursive-edit?
- Date: Tue, 14 Aug 2018 10:30:49 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UqAOthfdjKso7SmeLpIzDi/ZT07Vtg7IHUx5bQ9TfjY=; b=0T1rjiU+PABSmMU7cK6Z9+92xugQPItaeS+/99D+GymMdQat8mVbNTCsYrB2L+C3n0 6sqmzWTmOsNR+bHm8QS98naZXDPGoavTwWZ0MXGRcRKJfN4mCxjFXT3e5VDKROBev0OH 3CWsoWrGXugAL8opjgkveEdcXB0/XU0J8H9TqQisO3E3Gk2fI4R6io1C3DgVRsCQdSFV 7d06cmkUhwe6VwW+vMVNVgl4MBasY65jXtygJ09OAUPWjTo94bFLdfYEIeE2247yMkO8 /FXJqqqIQSOHvGgvUhNhsXk52y5qa3vxx0Hz+Y8IW5r/Av0KxCADD+KxK7o3/X1S8TeA x6KQ==
- In-reply-to: <20180814170657eucas1p1b9864da7e9086c27fa499e99152e14cb~Kzy2ccSm-2262422624eucas1p1t@eucas1p1.samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVC_i6fvhLSoWqFdNa0egtXj+Sfoou0FUQmjU+TXexyOFA@mail.gmail.com> <CGME20180814161906epcas3p37378a9a3eb58ea9a526c3b9fadd91531@epcas3p3.samsung.com> <CAKc7PVBsSGqW1m5hKTPYDFTmi+=EqvWAJExCWzBkHW8OjHO_zQ@mail.gmail.com> <20180814170657eucas1p1b9864da7e9086c27fa499e99152e14cb~Kzy2ccSm-2262422624eucas1p1t@eucas1p1.samsung.com>
On Tue, Aug 14, 2018 at 10:06 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 14 Aug 2018 18:17:36 +0200
> Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
>> If there currently is no method of detecting .recursive-edit
>> "session", then could a feature request be responded positively:
>> please add an indicator that Zsh is in .recursive-edit state
>> ("session").
>
> It's certainly easy to do (although probably not hard to add at
> the user level as calls to recursive-edit ought to be explicit).
I was looking at this for a few minutes the other day and wondering if
there should be a hook similar to zle-keymap-select that gets invoked
on entry to recursive-edit.
It could even BE zle-keymap-select if recursive-edit had its own
keymap (always initialized as a copy of the current keymap at time of
entry).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author