unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: William Case <billlinux@rogers.com>
To: Devin LaCrosse <themidnighthief@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: what to do?
Date: Tue, 17 Nov 2009 16:54:09 -0500	[thread overview]
Message-ID: <1258494849.13690.90.camel@CASE> (raw)
In-Reply-To: <60223541-3D1E-448A-AC70-2D36EB3BDCBF@gmail.com>

Hi Devin;

Assuming that this is not a troll question; it is a tough question to
answer.  There are books and books on how to use text editors in general
and Emacs in particular.

But I remember discovering the existence of Emacs the same way you did
five or six years ago. So lets see if we can get started with some real
basic basics.

On Tue, 2009-11-17 at 00:08 -0800, Devin LaCrosse wrote:
> i just recently discovered emacs on my new macbook pro. I read the  
> tutorial, i know how to navigate around emacs a bit. The one question  
> that's eating me up inside I can't seem to find answer for. Perhaps  
> you could help me? I very interested in computer science, emacs  
> appears to be an awesome program, I don't know how to program (yet) I  
> want to learn how. Can you please explain to me (as if i was 5 years  
> old ) what do i use/do with emacs i.e, make video games, websites,  
> math programs, please tell me!!!....Thanks in advance for i am excited  
> to use this newly discovered program.
> 
To write a computer program you have to have a particular computer
language program installed on your machine in order write human
meaningful instructions for the program in a particular language (e.g.
C, C++, python, lisp etc.)  What you end up with after you have written
each piece of your program is what is called a source file.  A source
file is meaningful (sort of) to a human.

http://en.wikipedia.org/wiki/Computer_languages
http://en.wikipedia.org/wiki/Comparison_of_programming_languages

Once you have written your program all of the words have to be changed
to a form (0's and 1's called object or binary files) that is useful for
a electronic machine which has millions of on/off switches
(transistors).  These switches open and close millions of different
electrical circuits within the machine. The flow of electricity
activates or closes different parts of the Central Processing Unit,
Memory and Peripherals. A program uses various combinations of these
circuits in rapid succession to accomplish a task.

There are special programs called compilers that are capable of taking
each word you have written in your source file and looking up and
substituting the equivalent binary instruction(s).  Some commercial
programming language packages come with compilers included.  And some
compilers like gcc can handle several different languages.

http://en.wikipedia.org/wiki/Compilers

So, to write the kind of program you are talking about you need the
program and libraries for the computer program you are going to use;
Some type of editing program on your computer that allows you to write
the program; and a compiling program that turns everything into machine
language.

Emacs is the editing program -- not the programming language and not the
compiler.  To clarify, they are called text editors because they are
used to write and edit the textual source program.  They are not very
good at writing prettified published text such as articles, documents,
books, etc. (Although there are ways around that -- but that is a pretty
advanced topic dealing with programs designed for publishing like
LaTex).

Text editors must have some onerous restrictions in order to keep the
text pure enough for the compiler to read i.e. no embedded codes that
might confuse the compiler about what was actually meant e.g. no bold,
no underline, no change in font size etc.

Emacs has been around a long time and has been continually improved and
updated with more and more features that are of interest mainly to
programmers and developers.  It has sometimes been accused jokingly as
being an Operating System unto itself.

One word of advice. Never ever mention its nearest rival, vi(m), on an
Emacs list.  Such a slip up in good manners will start a holy war that
won't end until next week.

-- 
Regards Bill
Fedora 11, Gnome 2.26.3
Evo.2.26.3, Emacs 23.1.1





  parent reply	other threads:[~2009-11-17 21:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17  8:08 what to do? Devin LaCrosse
2009-11-17 19:44 ` Andreas Röhler
     [not found]   ` <6ECF8B98-685C-4838-BC7F-88928989058A@gmail.com>
2009-11-18  8:18     ` Andreas Röhler
2009-11-19  0:27       ` Sean Sieger
2009-11-17 21:54 ` William Case [this message]
2009-11-18  5:06 ` Thien-Thi Nguyen
     [not found] <mailman.10902.1258475018.2239.help-gnu-emacs@gnu.org>
2009-11-17 21:23 ` Barry Margolin

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=1258494849.13690.90.camel@CASE \
    --to=billlinux@rogers.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=themidnighthief@gmail.com \
    /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).