From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cJiZF7g2cl9RUAAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 19:17:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SJ1XE7g2cl/3fQAA1q6Kng (envelope-from ) for ; Mon, 28 Sep 2020 19:17:12 +0000 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 A582A9402AD for ; Mon, 28 Sep 2020 19:17:11 +0000 (UTC) Received: from localhost ([::1]:37348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMye6-00037I-4m for larch@yhetil.org; Mon, 28 Sep 2020 15:17:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMydq-00036B-In for guix-devel@gnu.org; Mon, 28 Sep 2020 15:16:54 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:38522 helo=imta-38.everyone.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMydn-00086J-Ux for guix-devel@gnu.org; Mon, 28 Sep 2020 15:16:54 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 08SJA2qP006700; Mon, 28 Sep 2020 12:16:41 -0700 X-Eon-Originating-Account: Ip4Cfdj-0uYwFp709g09jtOn-x5_Fruj46jDbYt-Xtw X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81c108) id m0116787.5f62b239.189890; Mon, 28 Sep 2020 12:16:39 -0700 X-Eon-Sig: AQMHrIJfcjaXROXtZQIAAAAD,1fcae40b8f09d40428e417c713c49404 X-Eip: 3-4WsS4Fimw_yLvBy8g-iRDwQNasrAGNhN533AqDiws Date: Mon, 28 Sep 2020 21:16:29 +0200 From: Bengt Richter To: zimoun Subject: Re: emacs-lucid (was Re: Emacs closure at ~900MB?) Message-ID: <20200928191629.GA3031@LionPure> References: <86wo0mnjs3.fsf@gmail.com> <87d02e3v61.fsf@ambrevar.xyz> <87k0wjt774.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <87h7rk8pmz.fsf@netris.org> <877dsgs8ch.fsf@ambrevar.xyz> <871rio8c0t.fsf@netris.org> <87imbz7mq2.fsf@ambrevar.xyz> <878scvwkwd.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-28_20:2020-09-28, 2020-09-28 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 mlxscore=1 bulkscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=225 lowpriorityscore=0 impostorscore=0 clxscore=1034 phishscore=0 spamscore=1 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009280146 Received-SPF: pass client-ip=216.200.145.35; envelope-from=bokr@oz.net; helo=imta-38.everyone.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/28 15:16:48 X-ACL-Warn: Detected OS = Linux 3.x [generic] [fuzzy] X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.199, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: 1lR6yd+X4LHO Hi Simon, On +2020-09-28 10:56:55 +0200, zimoun wrote: > Hi Pierre, > > On Sun, 27 Sep 2020 at 12:54, Pierre Neidhardt wrote: > > > Just tested, EXWM works with emacs-no-x-toolkit! > > Cool! > > > > So I suggest we add the following packages: > > > > --8<---------------cut here---------------start------------->8--- > > (define-public emacs-no-x-toolkit-xelb > > (package > > (inherit emacs-xelb) > > (name "emacs-no-x-toolkit-xelb") > > [...] > > > (define-public emacs-no-x-toolkit-exwm > > (package > > (inherit emacs-exwm) > > (name "emacs-no-x-toolkit-exwm") > > It appears to me more logical to name it: emacs-xelb-no-x-toolkit; > appending the variation last. > > > All the best, > simon > I am wondering if there is a pure-wayland-client version of emacs, as discussed here[1] A debian emacs-nox appears to exist [2] On my system, apt show emacs-nox tells me --8<---------------cut here---------------start------------->8--- Description: GNU Emacs editor (without GUI support) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs compiled without support for X, and provides only a text terminal interface. --8<---------------cut here---------------end--------------->8--- IIUC, wayland gets input events like keystrokes from the kernel and sends them by registered call-backs to the programs that thus registered interest. But I wonder how this connects with emacs and its use of pts/ptmx, readline, etc ... Is there a legacy layer of vt encoding/decoding that could be eliminated by a more direct use of wayland protocol? Perhaps such an emacs package could have a smaller closure, by depending as simply as possible on wayland (sans Xwayland)? If the low level stuff were wrapped nicely in some guile extension modules, I suspect other uses than emacs would be found. [1] https://emacs.stackexchange.com/questions/48561/is-there-an-x11-free-build-of-emacs-that-can-run-on-wayland-not-going-through-x [2] https://packages.debian.org/sid/emacs-nox -- Regards, Bengt Richter