From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: how to read file's content using elisp? Date: Wed, 15 Sep 2004 15:10:42 +0300 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <01c49b1d$Blat.v2.2.2$2b8af3a0@zahav.net.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1095250417 7571 80.91.229.6 (15 Sep 2004 12:13:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 12:13:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 15 14:13:26 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 1C7Yf7-0006uB-00 for ; Wed, 15 Sep 2004 14:13:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7Ykk-00021a-85 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Sep 2004 08:19:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7YkX-00020Q-UN for help-gnu-emacs@gnu.org; Wed, 15 Sep 2004 08:19:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7YkV-0001zr-U7 for help-gnu-emacs@gnu.org; Wed, 15 Sep 2004 08:19:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7YkV-0001zo-Le for help-gnu-emacs@gnu.org; Wed, 15 Sep 2004 08:18:59 -0400 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7Ye2-00026p-33 for help-gnu-emacs@gnu.org; Wed, 15 Sep 2004 08:12:18 -0400 Original-Received: from zaretski (pns03-206-187.inter.net.il [80.230.206.187]) by legolas.inter.net.il (MOS 3.5.3-GR) with ESMTP id COM10191 (AUTH halo1); Wed, 15 Sep 2004 15:12:15 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (message from Rokia on Wed, 15 Sep 2004 19:34:05 +0800) 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:20684 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20684 > From: Rokia > Date: Wed, 15 Sep 2004 19:34:05 +0800 > > > I want get a file's content. I didn't find the right function. > > I has RTFM. there is only a function which can read file's content to > the buffer's position. If you mean insert-file-contents, then that's how you read a file into Emacs. Please explain why this is not good for you, and someone will show you how to overcome the difficulties.