unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Phil <phil@beadling.co.uk>
To: help-guix@gnu.org
Subject: Re: emacs xwidget build with exwm
Date: Sun, 11 Apr 2021 00:33:43 +0100	[thread overview]
Message-ID: <871rbhiujs.fsf@beadling.co.uk> (raw)
In-Reply-To: <87mtu9rb6u.fsf@beadling.co.uk>


> Any ideas how to configure xwidgets as exwm, and/or any ideas who to resolve bad
> placement/rendering of xwidgets within buffer?

In case it helps others to answer my own question - you need to define a
specific exwm package which builds against emacs-xwidgets:


(define-module (emacs-exwm-xwidgets)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages emacs-xyz))

(define-public emacs-exwm-xwidgets
  (package
   (inherit emacs-exwm)
   (name "emacs-exwm-xwidgets")
   (arguments
     (substitute-keyword-arguments (package-arguments emacs-exwm)
       ((#:emacs emacs) `,emacs-xwidgets)))))



You can then reconfigure modifying the /etc/config.scm:


 (packages
  (append
   (list (specification->package "emacs-xwidgets")
         (specification->package "emacs-exwm-xwidgets")
         (specification->package
          "emacs-desktop-environment")
         (specification->package "nss-certs"))
   %base-packages))



The suprising bonus was that this also resolved the rendering issues too
- I can only assume they were specific to running xwidgets on MATE.


      reply	other threads:[~2021-04-10 23:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 22:18 emacs xwidget build with exwm Phil
2021-04-10 23:33 ` Phil [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=871rbhiujs.fsf@beadling.co.uk \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).