From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: where is .emacs configuration file Date: Fri, 1 Oct 2010 19:41:51 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5a519b04-e61e-4de5-9872-0bf51e77dba1@k10g2000yqa.googlegroups.com> <4ca6190e$0$50445$14726298@news.sunsite.dk> <469a858c-1352-49d6-aaee-878a79475dac@i3g2000yql.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291867835 4728 80.91.229.12 (9 Dec 2010 04:10:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 04:10:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 05:10:31 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQXpu-0003zE-Rn for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:10:31 +0100 Original-Received: from localhost ([127.0.0.1]:50778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQXpt-0000Wg-T7 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:10:30 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!u31g2000pru.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 37 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1285987311 4007 127.0.0.1 (2 Oct 2010 02:41:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 2 Oct 2010 02:41:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u31g2000pru.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:181612 comp.emacs:100536 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76614 Archived-At: On Oct 1, 11:48=A0pm, ccc31807 wrote: > On Oct 1, 1:23=A0pm, Uday Reddy wrote: > > > See FAQ 3.5 here:http://www.gnu.org/software/emacs/windows/Installing-E= macs.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. =A0After starting Emacs, go to *scratch* buffer, and ty= pe > > 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 =A0eval-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