all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bengt Richter <bokr@bokr.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: emacs-lucid (was Re: Emacs closure at ~900MB?)
Date: Mon, 28 Sep 2020 21:16:29 +0200	[thread overview]
Message-ID: <20200928191629.GA3031@LionPure> (raw)
In-Reply-To: <CAJ3okZ1MMNYWY4tzHJd=03e3dzBzz1VWtFDJfkvVqi-VfY-SHw@mail.gmail.com>

Hi Simon,

On +2020-09-28 10:56:55 +0200, zimoun wrote:
> Hi Pierre,
> 
> On Sun, 27 Sep 2020 at 12:54, Pierre Neidhardt <mail@ambrevar.xyz> 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


  parent reply	other threads:[~2020-09-28 19:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 11:16 Emacs closure at ~900MB? zimoun
2020-09-22 11:31 ` Pierre Neidhardt
2020-09-22 11:34   ` zimoun
2020-09-22 11:45     ` Pierre Neidhardt
2020-09-22 11:50       ` Efraim Flashner
2020-09-24 17:28   ` emacs-lucid (was Re: Emacs closure at ~900MB?) Giovanni Biscuolo
2020-09-24 18:08     ` zimoun
2020-09-25  8:28       ` Giovanni Biscuolo
2020-09-25 10:23         ` Pierre Neidhardt
2020-09-25 23:06         ` zimoun
2020-09-29  8:42           ` Giovanni Biscuolo
2020-09-29  9:51             ` zimoun
2020-09-29 10:44               ` Giovanni Biscuolo
2020-09-26 16:32     ` Mark H Weaver
2020-09-26 18:26       ` Pierre Neidhardt
2020-09-26 21:26         ` Mark H Weaver
2020-09-27  6:33           ` Pierre Neidhardt
2020-09-27 10:53             ` Pierre Neidhardt
2020-09-27 20:49               ` Bonface M. K.
2020-09-28  6:43                 ` Pierre Neidhardt
2020-09-28 10:49                   ` Bonface M. K.
2020-09-28  8:56               ` zimoun
2020-09-28  9:25                 ` Pierre Neidhardt
2020-09-28 12:02                   ` zimoun
2020-09-28 14:42                     ` Pierre Neidhardt
2020-09-28 19:16                 ` Bengt Richter [this message]
2020-09-28 19:21                   ` zimoun
2020-09-28  8:40       ` zimoun
2020-09-28  9:25         ` Pierre Neidhardt
2020-09-28 19:54         ` Mark H Weaver
2020-09-29  7:56           ` Pierre Neidhardt
2020-09-29  8:49       ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200928191629.GA3031@LionPure \
    --to=bokr@bokr.com \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.