From: "Davis Herring" <herring@lanl.gov>
To: "alin.s" <alinsoar@voila.fr>
Cc: emacs-devel@gnu.org
Subject: Re: open file and command substitution of bash
Date: Mon, 4 Jan 2010 07:48:34 -0800 (PST) [thread overview]
Message-ID: <33839.130.55.118.19.1262620114.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <27014612.post@talk.nabble.com>
> emacs /dev/fd/5
You could just do emacs <(ls) -- bash replaces <(ls) with something like
/dev/fd/63 anyway.
> However, I suppose that emacs uses pipes for implementing processes... It
> cannot read its stdin from a pipe and create a buffer with?
Certainly one could (in C) arrange for Emacs to open a file name and treat
it as if it were a pipe from a process. But Emacs doesn't consider that
the same operation as visiting a file, which is what is requested when you
use file names as arguments.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2010-01-04 15:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 15:37 open file and command substitution of bash alin.s
2010-01-04 15:48 ` Davis Herring [this message]
2010-01-05 9:13 ` alin.s
2010-01-05 17:08 ` Davis Herring
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=33839.130.55.118.19.1262620114.squirrel@webmail.lanl.gov \
--to=herring@lanl.gov \
--cc=alinsoar@voila.fr \
--cc=emacs-devel@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 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.