From: Michael Albinus <michael.albinus@gmx.de>
To: phillip.lord@newcastle.ac.uk (Phillip Lord)
Cc: help-gnu-emacs@gnu.org
Subject: Re: gvfs-open in eshell/shell-command
Date: Tue, 12 Mar 2013 14:48:12 +0100 [thread overview]
Message-ID: <8738w0raoz.fsf@gmx.de> (raw)
In-Reply-To: <87txon32fx.fsf_-_@zerg32.ncl.ac.uk> (Phillip Lord's message of "Thu, 07 Mar 2013 10:54:26 +0000")
phillip.lord@newcastle.ac.uk (Phillip Lord) writes:
> I'm attempting to get gvfs-open to work in eshell. This is a little
> gnome utility that opens a file in what ever application it's supposed
> to be launched in. I use it frequently as I normally navigate
> directories at the terminal, then use this to DWIM with a file.
>
> In *shell* this works fine. You just run the command, everybody is
> happy. In *eshell* not a thing. Nothing pops up, nothing appears to
> happen.
Try in both *shell* and *eshell* the command with debug output:
G_DBUS_DEBUG=all gvfs-open ~/.emacs
When you compare the output, it starts to differ significantly when it
comes to file descriptors. I have no clue, why. Maybe you can find
something more.
> So far my best attempt is:
>
> (defun eshell/open (&rest args)
> (shell-command (format "gvfs-open %s;sleep 3d &"
> (mapconcat 'identity args " "))))
>
> Not good.
When I wrap the gvfs-open call into a shell in eshell, I get
~ $ *sh -c gvfs-open ~/.emacs
gvfs-open: missing locations
Try "gvfs-open --help" for more information.
I don't know gvfs-open by heart, and I also don't know whether this is
related to the problem.
> Stuck, no ideas left, help gratefully recieved.
>
> Phil
Best regards, Michael.
next prev parent reply other threads:[~2013-03-12 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.21530.1362559820.855.help-gnu-emacs@gnu.org>
2013-03-06 10:39 ` About traditional Lisp primitives Barry Margolin
2013-03-07 10:54 ` gvfs-open in eshell/shell-command Phillip Lord
2013-03-12 13:48 ` Michael Albinus [this message]
[not found] ` <mailman.21924.1363096112.855.help-gnu-emacs@gnu.org>
2013-03-14 17:42 ` politza
2013-03-18 12:19 ` Phillip Lord
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=8738w0raoz.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=phillip.lord@newcastle.ac.uk \
/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/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.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.