help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where is .emacs configuration file


From: rustom
Subject: Re: where is .emacs configuration file
Date: Wed, 08 Dec 2010 15:30:44 -0000
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]