From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "alin.s" Newsgroups: gmane.emacs.devel Subject: open file and command substitution of bash Date: Mon, 4 Jan 2010 07:37:30 -0800 (PST) Message-ID: <27014612.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262619632 13992 80.91.229.12 (4 Jan 2010 15:40:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2010 15:40:32 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 04 16:40:25 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NRp2d-00018P-Fy for ged-emacs-devel@m.gmane.org; Mon, 04 Jan 2010 16:40:23 +0100 Original-Received: from localhost ([127.0.0.1]:39963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRp2d-0004Nc-Vi for ged-emacs-devel@m.gmane.org; Mon, 04 Jan 2010 10:40:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRp0J-0002aw-MQ for emacs-devel@gnu.org; Mon, 04 Jan 2010 10:37:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRp0F-0002Wb-0t for Emacs-devel@gnu.org; Mon, 04 Jan 2010 10:37:59 -0500 Original-Received: from [199.232.76.173] (port=59093 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRp0E-0002WI-9s for Emacs-devel@gnu.org; Mon, 04 Jan 2010 10:37:54 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:47198) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRp0B-0004Ch-PX for Emacs-devel@gnu.org; Mon, 04 Jan 2010 10:37:53 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRp04-0006qh-7G for Emacs-devel@gnu.org; Mon, 04 Jan 2010 10:37:44 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NRozq-000542-ME for Emacs-devel@gnu.org; Mon, 04 Jan 2010 07:37:30 -0800 X-Nabble-From: alinsoar@voila.fr X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119361 Archived-At: I try to start emacs reading a file from a fifo, and I cannot. I tried to do so: exec 5< <(ls) In this case , <(ls) returns a file descriptor, and I duplicate it in file descriptor 5. Then I start emacs so: emacs /dev/fd/5 The result: File exists, but cannot be read... This happens because emacs cannot read pipe files... However, I suppose that emacs uses pipes for implementing processes... It cannot read its stdin from a pipe and create a buffer with? Thanks for any clarification. -- View this message in context: http://old.nabble.com/open-file-and-command-substitution-of-bash-tp27014612p27014612.html Sent from the Emacs - Dev mailing list archive at Nabble.com.