guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: emacs: Find real GVFS processes.


From: guix-commits
Subject: 01/04: gnu: emacs: Find real GVFS processes.
Date: Fri, 3 Dec 2021 15:40:25 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit f725279cdd66e7739fd756807ef2a1c7b1611d51
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Wed Oct 13 21:32:07 2021 +0200

    gnu: emacs: Find real GVFS processes.
    
    * gnu/packages/emacs.scm (emacs)[#:phases]<patch-program-file-names>: Expand
    calls to “tramp-compat-process-running-p” so that Guix wrappers are also
    matched.
---
 gnu/packages/emacs.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 22d8db3..0430a79 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -136,6 +136,12 @@
                             "lisp/progmodes/sh-script.el")
                (("\"/bin/sh\"")
                 (format #f "~s" (which "sh"))))
+             ;; match ".gvfs-fuse-daemon-real" and ".gvfsd-fuse-real"
+             ;; respectively when looking for GVFS processes.
+             (substitute* "lisp/net/tramp-gvfs.el"
+               (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
+                (format #f "(or ~a (tramp-compat-process-running-p ~s))"
+                        all (string-append "." process "-real"))))
              #t))
          (add-before 'configure 'fix-/bin/pwd
            (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]