unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Harold Lee" <harold3@gmail.com>
Subject: Re: Problem with .emacs
Date: 3 Nov 2006 13:47:17 -0800	[thread overview]
Message-ID: <1162590437.885082.270850@m7g2000cwm.googlegroups.com> (raw)
In-Reply-To: 4r04adFol4vsU3@individual.net


Hendrik Bilges wrote:
> I guess I should really learn how to write stuff in .emacs...

I recommend starting emacs and testing Lisp expressions in the
*scratch* buffer (the buffer that comes up by default when emacs starts
successfully).

Type in an expression and type C-j  (hold control + press j) to
evaluate it. For example, you can type numbers or strings, in addition
to more sophisticated expressions.

42
"hello"
(+ 1 2)

If you want to browse the list of functions available to you, try C-h f
(hold control + press h for help, then press f for functions). Then
type TAB and you'll get a completion list of all functions. A lot of
the names are descriptive and give you ideas of things to try out.

For a more formal education, check out the Gnu Emacs Lisp Reference
Manual here:

http://www.gnu.org/software/emacs/elisp-manual/

-Harold

      parent reply	other threads:[~2006-11-03 21:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-03  4:47 Problem with .emacs Hendrik Bilges
2006-11-03  5:21 ` B. T. Raven
2006-11-03  5:39 ` Harold Lee
2006-11-03  6:01   ` Hendrik Bilges
2006-11-03 15:35     ` Kevin Rodgers
2006-11-03 21:47     ` Harold Lee [this message]

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=1162590437.885082.270850@m7g2000cwm.googlegroups.com \
    --to=harold3@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).