From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Trastabuga Newsgroups: gmane.emacs.help Subject: File manipulation in elisp? Date: Wed, 20 Jun 2007 10:35:03 -0700 Organization: http://groups.google.com Message-ID: <1182360903.792302.111830@i13g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1182497363 30091 80.91.229.12 (22 Jun 2007 07:29:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 07:29:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 09:29:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1da3-0002Ot-N0 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2007 09:29:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1da3-0000NS-4z for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2007 03:29:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i13g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 209.161.207.94 Original-X-Trace: posting.google.com 1182360907 9108 127.0.0.1 (20 Jun 2007 17:35:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 20 Jun 2007 17:35:07 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000prf.googlegroups.com; posting-host=209.161.207.94; posting-account=9qkw8A0AAABkf8-S7R-eec0heW_ORvhL Original-Xref: shelby.stanford.edu gnu.emacs.help:149598 X-Mailman-Approved-At: Fri, 22 Jun 2007 03:28:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45209 Archived-At: Is there an API for file management in elisp without opening files in buffers? What I want to do is have some special file in a directory which would give my elisp some post-compile commands for this particular directory. So every time I compile a project, as a post-build step I want to look for some pre-defined file in the directory, read its content, evaluate the content into elisp and execute it. All I could find was insert-file-contents which is not exactly what I need. I need something like with-open-file macro. Thank you, Andrew