unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Uday Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: where is .emacs configuration file
Date: Fri, 01 Oct 2010 18:23:20 +0100	[thread overview]
Message-ID: <4ca6190e$0$50445$14726298@news.sunsite.dk> (raw)
In-Reply-To: <5a519b04-e61e-4de5-9872-0bf51e77dba1@k10g2000yqa.googlegroups.com>

ccc31807 wrote:
> Hello,
> 
> Brand new to emacs, but a long gime vi user. Just installed
> GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
> Using Windows XP, SP3.
> 
> Two questions:
> (1) Where is the emacs configuration file? I have several, and suspect
> that it at C:\Documents and Settings\username\.emacs, but the changes
> I have made in that particular file don't seem to affect the behavior
> of the emacs program.

See FAQ 3.5 here:
http://www.gnu.org/software/emacs/windows/Installing-Emacs.html#Installing-Emacs

> (2) What simple change can I make in the configuration file as a test
> to see if the changes take effect? I tried (print "Hello") but that
> doesn't result in any message when I start emacs.

Put

(setq user "... your name here... ")

in your .emacs.  After starting Emacs, go to *scratch* buffer, and type
user^j.

Cheers,
Uday


       reply	other threads:[~2010-10-01 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5a519b04-e61e-4de5-9872-0bf51e77dba1@k10g2000yqa.googlegroups.com>
2010-10-01 17:23 ` Uday Reddy [this message]
     [not found]   ` <469a858c-1352-49d6-aaee-878a79475dac@i3g2000yql.googlegroups.com>
2010-10-02  2:41     ` where is .emacs configuration file rustom
2010-10-02 13:21     ` TheFlyingDutchman
     [not found] ` <0b040774-391d-4ed2-867a-87db09b44b60@i21g2000yqg.googlegroups.com>
2010-10-01 18:09   ` rustom
2010-10-01 18:37 ` Andreas Politz

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='4ca6190e$0$50445$14726298@news.sunsite.dk' \
    --to=udotsdotreddy@cs.bham.ac.uk \
    --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).