unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Reading file in emacs
Date: Thu, 24 Jun 2010 13:20:00 +0200	[thread overview]
Message-ID: <87k4po7k4f.fsf@fh-trier.de> (raw)
In-Reply-To: 87r5jwn2ut.fsf@kuiper.lan.informatimago.com

pjb@informatimago.com (Pascal J. Bourguignon) writes:

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

I think you missed the irony.

-ap


  reply	other threads:[~2010-06-24 11:20 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
2010-06-24 11:20     ` Andreas Politz [this message]
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

  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=87k4po7k4f.fsf@fh-trier.de \
    --to=politza@fh-trier.de \
    --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.
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).