From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rokia Newsgroups: gmane.emacs.help Subject: Re: how to read file's content using elisp? Date: Thu, 16 Sep 2004 00:03:09 +0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095264874 22409 80.91.229.6 (15 Sep 2004 16:14:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 16:14:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 15 18:14:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7cQL-0004WG-00 for ; Wed, 15 Sep 2004 18:14:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7cVy-0007N6-GF for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Sep 2004 12:20:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!news.netplace.de!news-FFM2.ecrc.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: 218.80.176.75 Original-X-Trace: quimby.gnus.org 1095264201 16636 218.80.176.75 (15 Sep 2004 16:03:21 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 15 Sep 2004 16:03:21 +0000 (UTC) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAYUExURaaIda6ZiZF5a8ajitzFtHJaTebZ zc+1oes4iXAAAAKFSURBVHjadJWLtusgCERBNPz/H1+GATXpua6uNknZMryMDC4ZEgu/Y601vku4 0vB+wLtf4vxXwG0vADbx2pBXdau9B0WtNxAXqilZ+vvsIH9FEfZBHNPj49eeTzUthnwgGR/7vZt+ ZJwHIC7puYmkIi1gjdJDp8jrSwwdWBNQQA+pUrMOe/dOoRqBDvFIUrnldxAA7AuQUGPk76gTMD1J 7JC6PvLJklkDQxYB23WxK4Ht2dxfwJICoMgOIaUk9itAGpBSFD+0B0h7j0tVR9C7sKEJ6VmUHJZh L0DTgekQepLTzHr3lI6KVCrWDCVux45hdNVFO0x+OgbyP0DnHHJMykE78QTWlnT1pcE6GPGLQCjo mpovvfovAVjYNGsmFcGYkhbypacJkMT4nu7HSQP0cFUqzGym4cQ6DDumzqHuVpTbaOVzPo+rbUDv gysBRfFxk4TDHns2otKNXEC2ak6PP+HA/XkU6TBXSmqAA5FVMeO4zWnw4NkuPi0n7gZqJtUdwBrI TwTMgQ8affUXIJH5PAMsY5j50BLoEW6gkHDh4X5E+GCy3pHl7N1zGG+Ao+WQkhVRiUTF/hXxddi2 gz0xkhMgdhVavqczJ74TmIBWKylHe9wvlA2oVxcYw8jOyDPiPhrqdOypj30TjmjwYZmvfu7TrgYR beQpaj7ZfQVonRRabwq+MlQJQFS0BlJWurQW3NBDAQrR8YlazLkBu4B2QUFah5Yhfg5EytIv0ET+ BQUZPJHpfwCtKUeHU+ZtP9EvL8CPJr/WnNka0/1/ko4ISn8eACdJ8beKX5IuFWX+7BiE7n+AbVlr du1Y1i2pOs/9x77KQAAz8kprEu/9q448VQL4J8AAHV8UnJwf1fwAAAAASUVORK5CYII= User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:lzkie9tmMyZOqtJWxYHqQDe/Puw= Original-Xref: shelby.stanford.edu gnu.emacs.help:125333 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20688 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20688 what I want to do is reading a file's content into a string variable. like this. (setq dddstring (foo-read-file "dd.txt")) (prin1 dddstring)