all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: Reading file in emacs
Date: Thu, 24 Jun 2010 12:26:18 +0200	[thread overview]
Message-ID: <87r5jwn2ut.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.4.1277292530.15366.help-gnu-emacs@gnu.org

Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:

> 2010/6/23 Qiang Guo <mcknight0219@gmail.com>:
>> I know this is best done by C/C++, or some other
>> languages. However, I just wonder the possibility of doing
>> this in emacs, the greatest editor ever :-)
>>
>
> C and C++ - the best programming languages for reading files.

No.  There is no operator defined in C to read files.  (You have to use
an external library, such as a unix kernel or a POSIX library).

In the case of C++ there is some standard library defined, but not to
read files, just to read sequences of bytes.  So you could argue that
it as some worth for that, but my files are very rarely sequences of
bytes...



-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


  parent reply	other threads:[~2010-06-24 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23  4:05 Reading file in emacs Qiang Guo
2010-06-23  5:11 ` Dirk-Jan C. Binnema
2010-06-23  5:13 ` Dirk-Jan C. Binnema
2010-06-23  6:38 ` Kevin Rodgers
2010-06-23 11:28 ` Deniz Dogan
2010-06-23 14:38 ` Gary
     [not found] ` <mailman.4.1277292530.15366.help-gnu-emacs@gnu.org>
2010-06-24 10:26   ` Pascal J. Bourguignon [this message]
2010-06-24 11:20     ` Andreas Politz
2010-06-24 11:50       ` Pascal J. Bourguignon
     [not found] <mailman.0.1277266011.21451.help-gnu-emacs@gnu.org>
2010-06-23  9:05 ` John McCabe

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

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

  git send-email \
    --in-reply-to=87r5jwn2ut.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.