From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EMOkCtU0VmXWHAEAG6o9tA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 16:27:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EMOkCtU0VmXWHAEAG6o9tA (envelope-from ) for ; Thu, 16 Nov 2023 16:27:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D3A394597D for ; Thu, 16 Nov 2023 16:27:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=enUD9JU2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700148437; a=rsa-sha256; cv=none; b=H5JROJW7ZLHWFWGjF5zYIyFKRpxUr5WA3OAkgFRGkK5FFDeApYcpYeb8JtMFQ9BQU/7S7p j7UQhyGViWmIpCcVIwqBFNkB7PlQ+BLBDxZkQTeN4UQQ/Z7+79AYze0OvsEmNu3FWsdW8C n0NPt7eC4Jed2Vc2xVaC+cXCWx+DZA/Y6+5v5H/4gjgeaZZiw+qLMaxUD2xx9hrLuGm4TU GEdCpFKelhKV3FtTD2ZA6BTWTPsgCgtQ4nhJoMYlUzpc/gYTsDUEMWGWRFubUQWorXWTGX 2L/nCWGBBtNPosTr4J7ia0Pvyd9/gqYE728z3Mn5TLjuheyDyS1jM+vDO3DOtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700148437; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BZLvai3xQgiE++OvUXSSC75/HKnL6ILWML20+zU1wsk=; b=gr1HDRL6C8FuU9mi/mahC9Jn0x9tY4PrGhJQC2tzauAOemDDw42VMZTTh0naBbMczXRmnt byQe536IJOtYzpGbVlpyFexMqsNhb42E336V/Y3BatFQ+CZgNEafDp40ZiMDnB0vbr2R3M InXKM1tFDGO0oc2K+e/+XO4AdhXMSjzYztuwKRWPFcPn8YvG7PM1fvmZTINdav9DVg27af 03heIgxys0J9pF44DQQqQVwUG8vq2aHSqsylSNzolfGh844yc0+/cNRZiNLxaGDj2Fa9g6 ARP+tVlTTsY1Ix1IHZk9yGejaOdwT1ELCufVMUJWjqsz9AbHmDYNgv49bdJJpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=enUD9JU2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3eG2-0003s9-N3; Thu, 16 Nov 2023 10:26:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3eFv-0003lo-7Q for guix-devel@gnu.org; Thu, 16 Nov 2023 10:26:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3eFs-0004sE-F1; Thu, 16 Nov 2023 10:26:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BZLvai3xQgiE++OvUXSSC75/HKnL6ILWML20+zU1wsk=; b=enUD9JU2jaW1kzJJOs3C OQ5s161vMSDLJyAxdNQMqlTWpTmXCysKOdjkt3y2B52NA/95Q0aCXkGNAmVeqm7L7oflBGebxn53B vPTOO7Jv/4RjnRN57/CoVCqcbxB5lyMHRyiQf9SUNirYSr5m760XB3scDBOjSJ9RdloDhB9NFDJcc oBQBkQZgBOjg7smy7p6Cncxqj9IXf7LglUF60fYU8vJzUgEtp0x9IgOQA64bcoIxWi8UYlLr8tfYZ RkkD3nxao04vYyRa70p/xy5JUBOHJHK+vXHJQxv6G8C6suIl8FuFSrTSHGwM5Y2pZBjJe5OexLPWe yUrtwUcJZnXqHg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Cc: Simon Tournier , Guix Devel Subject: Re: $EDITOR and =?utf-8?B?4oCcZ3VpeCBlZGl04oCd?= In-Reply-To: <416a6472edf6d2123c47ea5b555bedd005f6ac6f.camel@gmail.com> (Liliana Marie Prikler's message of "Thu, 02 Nov 2023 11:24:56 +0100") References: <86wmv0o5gi.fsf@gmail.com> <416a6472edf6d2123c47ea5b555bedd005f6ac6f.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 Brumaire an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Pistache X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 Nov 2023 16:25:38 +0100 Message-ID: <87r0kpu3d9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -8.25 X-Migadu-Queue-Id: D3A394597D X-Migadu-Spam-Score: -8.25 X-TUID: 1Gnj9NseR0Jz Liliana Marie Prikler skribis: > Am Donnerstag, dem 02.11.2023 um 10:43 +0100 schrieb Simon Tournier: >> Hi, >>=20 >> The command =E2=80=9Cguix edit=E2=80=9D returns =E2=80=9C+N path/to/file= =E2=80=9D that is then passed >> to $EDITOR.=C2=A0 Therefore $EDITOR needs the command line: >>=20 >> =C2=A0=C2=A0=C2=A0 $ $EDITOR +N /path/to/file >>=20 >> Well, that is accepted by many $EDITOR, to my knowledge.=C2=A0 At least, >> Emacs, Vi or less are fine with it. > This appears to be a somewhat archaic convention. =E2=80=9CArchaic=E2=80=9D is one way to describe it; I=E2=80=99d have said = =E2=80=9Cstandard=E2=80=9D. :-) (Implemented by Vi(m), Emacs, Nano, less, more, etc.) >> However, some other $EDITOR does not.=C2=A0 I have in mind =E2=80=9Ckate= =E2=80=9D or >> =E2=80=9CVSCode=E2=80=9C, >>=20 >> =C2=A0=C2=A0=C2=A0 $ kate -l N path/to/file >> =C2=A0=C2=A0=C2=A0 $ code --goto path/to/file:N It=E2=80=99d be nice to support these as well. However, how do we know we= =E2=80=99re dealing with kate or VSCode? By checking the basename of $EDITOR? Kinda ugly and brittle, but probably better than nothing. Thanks, Ludo=E2=80=99.