unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
Subject: Re: how to read file's content using elisp?
Date: Wed, 15 Sep 2004 08:07:57 -0400	[thread overview]
Message-ID: <barmar-1273A4.08075715092004@comcast.dca.giganews.com> (raw)
In-Reply-To: uacvrix5e.fsf@yahoo.com.cn.discuss

In article <uacvrix5e.fsf@yahoo.com.cn.discuss>,
 Rokia <Rokiadd@yahoo.com.cn.discuss> wrote:

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

What you generally do is load the file into a buffer and process it 
there.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

  reply	other threads:[~2004-09-15 12:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15 11:34 how to read file's content using elisp? Rokia
2004-09-15 12:07 ` Barry Margolin [this message]
2004-09-15 16:03   ` Rokia
2004-09-15 17:30     ` Henrik Enberg
2004-09-15 18:10     ` John Sullivan
     [not found]     ` <mailman.2915.1095289010.1998.help-gnu-emacs@gnu.org>
2004-09-16  0:50       ` Rokia
2004-09-16  1:25         ` Rokia
2004-09-16  2:17           ` Barry Margolin
2004-09-16 10:43     ` Eli Zaretskii
2004-09-15 12:10 ` Eli Zaretskii
2004-09-15 12:53 ` Miguel Frasson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-1273A4.08075715092004@comcast.dca.giganews.com \
    --to=barmar@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).