From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wAtHLlqe+WRrFgEA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 11:56:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wAtHLlqe+WRrFgEA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 11:56:42 +0200 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 759273B438 for ; Thu, 7 Sep 2023 11:56:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=I2t8HSrS; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=eauchat.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694080602; 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=Bqm62tMMo9CbcZMUUdvQZZ5BAuqlXWjt1rr04qbCpFc=; b=cbq+9LkFnmOIjEvekqW/+J66mZk6EgBP+nr/nFDEWP4Qp39jRNIDQFBgbe8GkN60MepmHx o1Jf4cvB5DDgz+AYslo/cRrsOgg5Pyt31yKRGuOsctJCsH2GgA8xhUNkziqniyWozgYk5h USaOLxJQ72/2ZZC4ifGb8UsT3yGkZt8lXjna/YWsVCjRpsbr/GbBJrU3BhUsb9Eae1moqO 1P/pe2n/eTQemioBqYPDKjm4jkzwL96aAU9ercKjFAIHLRiIpCBCdRBY7KAIoVXAdGvRzB JkdiZZigrKeMrQ8lEbNOYjqb0CViGAkdml1Tz1HaD9O4+I8VqWERt/V2owTEwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=eauchat.org header.s=mail header.b=I2t8HSrS; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=eauchat.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694080602; a=rsa-sha256; cv=none; b=umOVLcEXnJ0hw7EXwp3CrhWyj6vMwWcOdcrQYeUJORnEdzyFmulumjcgQEPnp2bIci6No8 41DOs77R+u9lzEOsWHgdzVkldO6zfAUX6vjDoEVTQULHdTzkOPo49/P4d97Bf0uhZ27lHg nHmIpT/OSVu+dJAQ88T6psAQU3qjq0htqiI/YllCigFeZJqmqkdICHTLq/BxQqUtgJN3fl nRmAk2qQGH92jbSYla3lV7OPndQUj4ysIBx0yGQ/UaBsw2o2/sr9Tf/Rb7SHJc91KzY7NW K7FJVfWfw0j9f0BOrzyTKu+Mz246RoSTumFK5Y/zsTe8+9vF6+5dV/2Fg/lgYA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeBkG-0002ky-3l; Thu, 07 Sep 2023 05:56:16 -0400 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 1qeBkE-0002kb-Ot for help-guix@gnu.org; Thu, 07 Sep 2023 05:56:14 -0400 Received: from elegua.eauchat.org ([91.224.149.118] helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeBkC-0001WK-7x for help-guix@gnu.org; Thu, 07 Sep 2023 05:56:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1694080566; h=from:from: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; bh=Bqm62tMMo9CbcZMUUdvQZZ5BAuqlXWjt1rr04qbCpFc=; b=I2t8HSrSV4xv23Onkx2owRiFlR+lvUMWtcMwYTH9Xqj2eTQmyHdFyvYngdc1Y4nAFhp1HV IFoI24UhckiSYvbRILxg1tMNY1fVk9s4iP1pAfnjU5X8zFQzesG/jHBPoYo9kbbux5bNw0 PvdP4Degq/HkFEun4SnAlFtCkQawZhg= References: <87leehacga.fsf@eauchat.org> <86v8cou2jn.fsf@gmail.com> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Simon Tournier Cc: help-guix Subject: Re: Emacs on a reMarkable Date: Thu, 07 Sep 2023 11:52:00 +0200 In-reply-to: <86v8cou2jn.fsf@gmail.com> Message-ID: <87lediwbm5.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 759273B438 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -7.43 X-Spam-Score: -7.43 X-TUID: T1DEtDTbkwo8 Hi Simon! Thank you for the answer! On 05 Sep 2023 at 16:18, Simon Tournier wrote: > Please consider I know nothing about reMarkable. :-) > >> apt install guix >> guix pack -RR -S /emacsbin=3Dbin emacs-no-x > > Here you are using emacs-no-x as it was with the release of Guix > packaged by Debian. Maybe you could run =E2=80=9Cguix pull=E2=80=9D befo= re running > =E2=80=9Cguix pack=E2=80=9D. > Aha, `guix pull` makes it work indeed! `emacs` or `emacs-no-x` made with `-R` or `-RR` all work now. > Just to be sure, could you share which revision (guix describe) of Guix > you are using. I mean, you are running emacs-no-x from which Guix > revision? > After `guix pull` I'm at: --8<---------------cut here---------------start------------->8--- root@arm-vm:~# guix describe Generation 1 Sep 06 2023 17:05:27 (current) guix 65dcfb3 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 65dcfb3f3865d08467da747041263fd22460d393 --8<---------------cut here---------------end--------------->8--- In short, the setup now is: 1) Build and package Emacs in an ARM VM: --8<---------------cut here---------------start------------->8--- root@arm-vm:~# apt install guix root@arm-vm:~# guix pull root@arm-vm:~# guix pack -R -S /emacsbin=3Dbin emacs-no-x --8<---------------cut here---------------end--------------->8--- 2) Copy and un-tar it on the reMarkable, bind-mount /gnu, and run emacs eit= her through ssh or directly in Yaft: --8<---------------cut here---------------start------------->8--- reMarkable: ~/ tar xf pszvzh7917kkf1cisxd46bx8vlac25zh-emacs-no-x-tarball-p= ack.tar.gz reMarkable: ~/ mount -o bind /home/root/gnu /gnu reMarkable: ~/ emacsbin/emacs --8<---------------cut here---------------end--------------->8--- The challenge is that reMarkable doesn't provide a standard display, so the terminal (Yaft) is still being developed (not by the company). Which is why running some of the command lines can still be a challenge. Let me know if anybody is interested in more details! Now I have a final side question: after "guix pull" in the ARM VM, the output of guix pack -RR -S /emacsbin=3Dbin emacs-no-x is still "wpxqqdcslxxx9g9l9j847ifgh0xdlsfl-emacs-no-x-tarball-pack.tar.gz", i.e. the same as before "guix pull". Is that normal? Very best, S=C3=A9bastien