unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: where is .emacs configuration file
Date: Fri, 1 Oct 2010 19:41:51 -0700 (PDT)	[thread overview]
Message-ID: <c076b2ab-3681-423f-9096-76c9161b80b5@u31g2000pru.googlegroups.com> (raw)
In-Reply-To: 469a858c-1352-49d6-aaee-878a79475dac@i3g2000yql.googlegroups.com

On Oct 1, 11:48 pm, ccc31807 <carte...@gmail.com> wrote:
> On Oct 1, 1:23 pm, Uday Reddy <uDOTsDOTre...@cs.bham.ac.uk> wrote:
>
> > See FAQ 3.5 here:http://www.gnu.org/software/emacs/windows/Installing-Emacs.html#Insta...
>
> Okay, following the hint in section '3.5 Where do I put my init
> file?' ["Within Emacs, <~> at the beginning of a file name is expanded
> to your HOME directory, so you can always find your .emacs file with C-
> x C-f ~/.emacs. "] I discovered that my init file was in c:\lisp. It
> wasn't in any of the places mentioned in 1 through 5 listed in that
> section.
>
> I'm sort of wondering how that happened, but I realize that it's
> probably a Windows thing and the work required to scratch that itch
> wouldn't justify the pleasure I would experience by having the answer.
>
> Thanks for pointing this out to me.
>
> > (setq user "... your name here... ")
> > in your .emacs.  After starting Emacs, go to *scratch* buffer, and type
> > user^j.
>
> This worked. However, I created a cheat sheet several days ago (using
> 'Ctl-h k') and found that Ctl-j was bound to Newline. Now, when do
> 'Ctl-h k' I find that Ctl-j is bound to  eval-print-last-sexp. I've
> been playing with Lisp the last several days (which is what prompted
> me to start learning Emacs) and I'm wondering if I inadvertently
> messed up the standard configuration settings.
>
> Anyway, it works now, so I'm happy, and thanks again,
> CC.

Probably the first was when you were in text mode or a programming
mode
The second when in *scratch* whose mode is lisp interaction


  parent reply	other threads:[~2010-10-02  2:41 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 ` where is .emacs configuration file Uday Reddy
     [not found]   ` <469a858c-1352-49d6-aaee-878a79475dac@i3g2000yql.googlegroups.com>
2010-10-02  2:41     ` rustom [this message]
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=c076b2ab-3681-423f-9096-76c9161b80b5@u31g2000pru.googlegroups.com \
    --to=rustompmody@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).