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 366 invoked from network); 5 Sep 2022 09:00:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Sep 2022 09:00:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1662368427; b=Yj9vIYN//cgC4jyS8mDVuvv0OH1eMfYiXjQ9T1hGJpMBlf/q566RHR1YSTjgkXAnyUQDF6Otsm 7xU6FNh18fSY9HUw8kUPQotkIxJxHns/AGPJGGH+yTa3DdXZhd3/pESYF40dNzXjhbmJBSi9Ox 6XS6obPRvYVujrqeC1H2GchcLGVgzy2s3qdBM7wYfcifE4ibyfrsCbjBydPHX7zcu+1AT43qRj B/RmJaSZVTN4jCUUqUf/omuf0MloHQsVIo7idFo2+sXwdcg69RiI/Ici7ioceUmozdtdSD1FZV P/yEDAZXTVzU2qLSU2IRc6X5SH1yB6Iya23diuJ5kkyJYw==; 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=1662368427; bh=XvLBLWy+s7+tIKo7V2eXup2r+r7lbxviZ/mgfyh68aE=; 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=RPUKrX4WqHlIv7FgTrp/fvPd53VjtP35803q3+Uq+6NMDjUlVkKhHz6755T9sm5Xj/BMvbyula K/BLXomWkrGcLYKl2SV4Re8iUa4AQejW7q0kroBkksUCoJKmSsTd2U+u7E6UaS8S7hN7AS3TbP nX7GXZxGPj67O2pAWfdHfHZQwwaMX2qFWVXf1kdyXpX7U8nhry7xMu7zqs41JEZW3yUzYV3f9g kdsqI/4bbKkFk4WHEcnm5W7fdRnSIl5jEncsHdbY7zuLkaJZjm3jkNBulQFrk6CsYiGQAuRikQ LbCLN4B7tHQSV2RMv4PzRkUdJ1iBg3rXm8ZllA58HI+ZVg==; 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=Unx6Ubw6zWMluSV11xkffB0M05WF4QUd0WpIWqjIcPY=; b=D+v9/nc1tMq3idO8jAvriikpWQ GJuE4qa6MbLxRYnKc07xp+R4oT/5UMzx770ztQsOldC4wAFxEyK1XRh0cVM6gnHxvIcJIGiIdnYCD E1RpdzxJpWk4DDKG3ZLMOofvzrIWZUo1oyJA6OjwXa4nMEOww8xq28w+jEfkWPvf5ZPjbtN0JYzqg SpB9EHEjveP50aofWaWA0OQRkEq2IgP13mW9G6KBVp7RWunA1CJ03PScDe9jCEsy6G6giI0JS6EmT qpgbqVc4Lci2csDyaF7kxAYtFzOFLfQME7SPZrUK17yDZCZsUezjFNfZZ4cbpNTr0p0oQoisfcOZf XxauBRPg==; Received: from authenticated user by zero.zsh.org with local id 1oV7xx-000Bap-Se; Mon, 05 Sep 2022 09:00:25 +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]:51280) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oV7sq-000B9N-Ft; Mon, 05 Sep 2022 08:55:08 +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 1D383378; Mon, 5 Sep 2022 10:55:08 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id E597428001DE; Mon, 5 Sep 2022 10:55:07 +0200 (CEST) Date: Mon, 5 Sep 2022 10:55:07 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: [PATCH] initialization of main keymap Message-ID: <20220905085507.GA255763@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20220901002300.GD992100@zira.vinc17.org> <20220901012122.GA1046913@zira.vinc17.org> <20220902085110.GE5920@tarpaulin.shahaf.local2> <20220902132334.GD255755@cventin.lip.ens-lyon.fr> <20220904093906.GU5920@tarpaulin.shahaf.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220904093906.GU5920@tarpaulin.shahaf.local2> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.7+37 (a90f69b9) vl-149028 (2022-09-02) X-Seq: 50604 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-09-04 09:39:06 +0000, Daniel Shahaf wrote: > Felipe Contreras wrote on Fri, Sep 02, 2022 at 08:42:11 -0500: > > Moreover, there's also the possibility that it's not the user the one > > who set EDITOR, but the distribution or the system administrator, and > > again, the user doesn't know about this variable. > > I don't think that's a strong argument. The distribution or sysadmin > might append a «bindkey» to /etc/zshrc just like they might append an > «export EDITOR=…» to /etc/zprofile. > > Or are you saying that they're more likely to change the value of EDITOR > than to change the default keymap? I would say that they are. First, the zsh bindings are specific to zsh, while EDITOR (or VISUAL) is global to the system (used by various utilities) and standardized, thus more visible and more likely to be changed by the system administrator. Moreover, the zsh bindings are not linked to the system, while the choice of $EDITOR may reflect what the system administrator installed on the system. For instance, he may have installed a better editor or one with a more recent version in some non-standard place, which the end user may not know, so that the system administrator may be tempted to change EDITOR to use this editor as being a better default. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)