unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Basic Emacs Config File
Date: Fri, 10 Dec 2010 01:45:57 -0800 (PST)	[thread overview]
Message-ID: <80e4103e-d455-4ed1-a9d0-90d698b4710d@b25g2000vbz.googlegroups.com> (raw)
In-Reply-To: mailman.5.1291928275.2843.help-gnu-emacs@gnu.org

On Dec 8, 7:53 pm, cristianluca <cristianluca...@yahoo.com> wrote:
> Please can anyone point me to a basic emacs config file, I want to start
> learning to configurate my emacs but I get all sorts of errors when I try to
> edit .emacs. My file will have a couple of key bindings and color theme.
> --
> View this message in context:http://old.nabble.com/Basic-Emacs-Config-File-tp30409161p30409161.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.

Two tricks I use to keep my .emacs in check, since I'm refactoring it
all the time, are:
- always start emacs.exe (runemacs.exe on Windows) with "--debug-init"
option;
- instead of writing comments about the different sections of .emacs,
use the "message" function; this way if something breaks, "C-h e" will
take you to *Messages* buffer, where you can have a clue about
where .emacs broke.

Moreover, before saving .emacs, use "C-x C-e" to check every setting
you are writing into it to ensure such setting works.


  parent reply	other threads:[~2010-12-10  9:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5.1291928275.2843.help-gnu-emacs@gnu.org>
2010-12-09 22:01 ` Basic Emacs Config File Maarten Bergvelt
2010-12-09 22:22 ` B. T. Raven
2010-12-10  9:45 ` Elena [this message]
2010-12-10 15:55 ` rusi
2010-12-08 19:53 cristianluca
2010-12-10  6:10 ` Dirk-Jan C. Binnema
2010-12-10  8:51 ` Eli Zaretskii
2010-12-10 10:45 ` cristianluca
2010-12-11  2:29 ` Maurizio Vitale

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=80e4103e-d455-4ed1-a9d0-90d698b4710d@b25g2000vbz.googlegroups.com \
    --to=egarrulo@gmail.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.
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).