About learning Emacs

I recommend first of all using Ctrl-h t to do the Emacs tutorial. If you are still happy to carry on using Emacs after this initial experience, then I recommend you to buy a printed copy of the GNU Emacs Manual by Richard Stallman

Reading the whole of this book at the start of your Emacs learning process will save you much pain later on.

It's also much better than the O'Reilly book mentioned above.

What Emacs does for you

Emacs (I use cperl mode) can make writing source code much easier by doing things like indenting the lines of code automatically, or colouring in the key words and variable types. For example, see this blog post, which was created using Emacs's colourings for cperl mode with htmlize.el.

Emacs for other languages

Emacs has patchy coverage for languages. Coverage for Emacs Lisp and C is excellent, but it doesn't come with a JavaScript mode, although there are ones that can be installed. The default CSS mode in Emacs is pretty strange, but it is possible to set it up better. Emacs' HTML mode seems OK to me, but I don't know anything about MySQL (it has an SQL mode but I don't know anything about it), Python, or PHP. As for mixed languages in the same file, as far as I know Emacs doesn't do that at all well. You have to switch between modes in different parts of the file.

In reply to Re: Getting into Emacs? by BKB
in thread Getting into Emacs? by tmallen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.