all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51188] [PATCH] gnu: emacs: Find real GVFS processes.
@ 2021-10-13 19:32 Liliana Marie Prikler
  2021-12-03 20:40 ` bug#51188: " Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-10-13 19:32 UTC (permalink / raw)
  To: 51188

* 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 6d9950d068..a59931ddc4 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 _
-- 
2.33.0






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51188: [PATCH] gnu: emacs: Find real GVFS processes.
  2021-10-13 19:32 [bug#51188] [PATCH] gnu: emacs: Find real GVFS processes Liliana Marie Prikler
@ 2021-12-03 20:40 ` Liliana Marie Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-12-03 20:40 UTC (permalink / raw)
  To: 51188-done

Pushed as f725279cdd66e7739fd756807ef2a1c7b1611d51.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-03 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 19:32 [bug#51188] [PATCH] gnu: emacs: Find real GVFS processes Liliana Marie Prikler
2021-12-03 20:40 ` bug#51188: " Liliana Marie Prikler

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.