From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9746 invoked from network); 1 Sep 2022 01:21:41 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Sep 2022 01:21:41 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1661995301; b=bfX6hh0xWhUTcHpJJXvBAY2tABkaRG7SWr3fpCz0pPrZromy+BjWPihejwEaEURHSudnmK6QoI JEDwp+oyqD7q/0+3kwsUwSCt019RlTbHImOm8ziWQOoFApFZtHYYf40kOf4JiM1QZ6jtVH/U+L IAYOdGxtd5aJH+xuLEzp7oy7mRjkh9BDV1dFLXZiap4d8EwKp9sGosx/JLxyaUAsaFTuGUk8xY QxUFaFtksJgL36cKUbHkXc4VZ4Y3D08pqOvb0pzhNGgPcwWqNQwAFuunqfZVV0G0SPp7GdBR7j ZquXW8cnEmX/RKjrANfKyclcWs8UTiOAaBH81qDMWzl0EQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1661995301; bh=KE/6Z1CK2ZgrVAuWIAJecrlMROu4tHAHYN7E1tj50Kw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=WnAUrsxBTQgqypKGoIlCfkEg6+IGgrr1RG+BhsNisG/6Y4nKqlXASAEPp1AJg/uO15RglY8HPX iBQ1D6B0dCmOp3h1tR0s/Or+GBgG1sPD3Ykt7IYZVX0I5YoJO7FVismgYCa6ANOi/Rb/gYjuh9 qbKFMpwmP51nrMedf7nj3K5ZdMvLtplcGbYLyZIHEKizF8jEbwT20/EXRv87aTFNNy45etnZGw GYiCG4VIXuCrmjbjKypRenWjxJmIeoO9Vp4kiPinN1vDcBtlU6zNqQXYKmmvEcDWCb3n8E/GtP JGp6cx2pA5h972GGak62jJ3yeI3kWbq4ThUq7j3bU+SLSQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=g6J05pcBvF98fle2MuyffWRHjlZaG29MOnwKBkihv6g=; b=CP9wnydmsKoaD0mF6U4DH+oBDv NmExE8FiIymVEvH7wGxI7FpA2xqhj/RrbWPqZrIlvBk9Af4TxbK+Y6FS2qZxd8M5YmLWMaPke1hFg QXYCmMmNXXT8uiXIjle5R9Tian3QV+I40W/mVTo4UpDdsmuOAvwRfFfuCl6TPott1muNw1rEfMi3i X4FxVkDpKtq75p3/FDNF25IvfZyYyA1sFSOiPTuLDhv0GG42Szsv2ppt9pGdn8l5E1TS3QwO6tK7L q8SMFC+JLBS/AbZ76V8zoz8cc0upZXV25Pl64JfffLuAnyl54WfNoJaT/Lw1OLhohzMZUUUybMJYv 2Zms1gKw==; Received: from authenticated user by zero.zsh.org with local id 1oTYtp-0006S9-9F; Thu, 01 Sep 2022 01:21:41 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:37842) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oTYtW-00066V-H9; Thu, 01 Sep 2022 01:21:22 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 4C3D021F; Thu, 1 Sep 2022 03:21:22 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 14F4828001F4; Thu, 1 Sep 2022 03:21:22 +0200 (CEST) Date: Thu, 1 Sep 2022 03:21:22 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install Message-ID: <20220901012122.GA1046913@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20220831122842.GC992100@zira.vinc17.org> <20220901002300.GD992100@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.7+32 (d84696f2) vl-149028 (2022-08-22) X-Seq: 50558 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2022-08-31 17:35:19 -0700, Bart Schaefer wrote: > On Wed, Aug 31, 2022 at 5:28 PM Vincent Lefevre wrote: > > > > On 2022-08-31 12:36:06 -0700, Bart Schaefer wrote: > > > (Isn't "bindkey -e" already the default? Is this just to overcome > > > having EDITOR=vim or some such?) > > > > Unfortunately, it isn't (at least not with "zsh -f", for which the > > only possibility is to type "bindkey -e"). > > Really? > > Src/zsh -f > % echo $EDITOR $VISUAL > > % bindkey > /tmp/zsh-default-bindkey > % bindkey -e > % bindkey > /tmp/zsh-emacs-bindkey > % diff /tmp/zsh*key > % I get differences. But they disappear if I unset EDITOR and VISUAL. Well... I get the vi bindings only on some of my machines, despite the same configuration. In addition to these names, either `emacs' or `viins' is also linked to the name `main'. If one of the VISUAL or EDITOR environment variables contain the string `vi' when the shell starts up then it will be `viins', otherwise it will be `emacs'. [...] Really? This is silly! Just because my login name contains "vi" on some machines, I get the vi bindings. zira:~> echo $EDITOR /home/vinc17/bin/eclient I suppose that it should take the first word and get the tail (:t). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)