unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Feng Shu" <tumashu@163.com>
To: 27948@debbugs.gnu.org
Subject: [bug#27948] [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again.
Date: Fri, 04 Aug 2017 20:52:16 +0800	[thread overview]
Message-ID: <87efsrh4vz.fsf@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


Please note: This patch should be merged after exwm-1.5 merged (bug#27934)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again. --]
[-- Type: text/x-patch, Size: 1231 bytes --]

From 7170f7688d2a90f5e3ef1458a754bcb2d7b72206 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Fri, 4 Aug 2017 20:48:11 +0800
Subject: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again.

* gnu/packages/emacs.scm (emacs-exwm-x): Do not set DISPLAY again, for
  exwm-0.15 have fixed the issue.
---
 gnu/packages/emacs.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9beb7ae62..4aa713346 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4767,12 +4767,9 @@ other operations.")
                      TryExec=~@*~a~@
                      Type=Application~%" ,name ,synopsis exwm-executable)))
                ;; Add a shell wrapper to bin
-               ;; Set DISPLAY variable to work around
-               ;; https://github.com/ch11ng/exwm/issues/213
                (with-output-to-file exwm-executable
                  (lambda _
                    (format #t "#!~a ~@
-                     export DISPLAY=:0 ~@
                      ~a +SI:localuser:$USER ~@
                      exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
                            (string-append (assoc-ref inputs "bash") "/bin/sh")
-- 
2.13.2


[-- Attachment #3: Type: text/plain, Size: 5 bytes --]


-- 

             reply	other threads:[~2017-08-04 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 12:52 Feng Shu [this message]
2017-08-05 13:34 ` bug#27948: [PATCH] gnu: emacs-exwm-x: Do not set DISPLAY again Arun Isaac

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=87efsrh4vz.fsf@163.com \
    --to=tumashu@163.com \
    --cc=27948@debbugs.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.
Code repositories for project(s) associated with this public inbox

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

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).