emacs-devel
[Top][All Lists]
Advanced

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

Re: open file and command substitution of bash


From: Davis Herring
Subject: Re: open file and command substitution of bash
Date: Mon, 4 Jan 2010 07:48:34 -0800 (PST)
User-agent: SquirrelMail/1.4.8-5.7.lanl7

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




reply via email to

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