From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18605 invoked by alias); 7 Sep 2010 16:59:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28239 Received: (qmail 21806 invoked from network); 7 Sep 2010 16:59:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <100907095848.ZM12813@torch.brasslantern.com> Date: Tue, 07 Sep 2010 09:58:48 -0700 In-reply-to: <20100905204050.0a87a151@pws-pc> Comments: In reply to Peter Stephenson "Re: PATCH: documentation on keymap selection" (Sep 5, 8:40pm) References: <20100903230610.34ecd51b@pws-pc> <20100905204050.0a87a151@pws-pc> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: PATCH: documentation on keymap selection MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 5, 8:40pm, Peter Stephenson wrote: } Subject: Re: PATCH: documentation on keymap selection } } On Fri, 3 Sep 2010 23:06:10 +0100 } Peter Stephenson wrote: } > Peter Stephenson wrote: } > > It doesn't address the issue that "bindkey -lL" lies about aliased } > > keymaps. } > } > This does. } } While I'm at it, this seems a natural extension. } } +List all existing keymap names; if any arguments are given, list just } +those keymaps. } + } +If the tt(-L) option is also used, list in the form of tt(bindkey) } +commands to create or link the keymaps. I just tried this out, and got this: schaefer<501> bindkey -lL bindkey -N .safe bindkey -N command bindkey -N emacs bindkey -N isearch bindkey -N listscroll bindkey -A emacs main bindkey -N menuselect bindkey -N vicmd bindkey -N viins Is it really correct to include "bindkey -N .safe" in that output? If I turn around and feed that back to the shell again, I get schaefer<502> bindkey -N .safe bindkey: keymap name `.safe' is protected Perhaps the .safe keymap should be treated as invisible for this.