all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Knight <steven.knight@unh.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Can I preload my ~/.emacs source for editing only?
Date: Wed, 5 May 2010 19:11:15 -0400	[thread overview]
Message-ID: <201005051911.15069.steven.knight@unh.edu> (raw)
In-Reply-To: <ce5e8a68-77ea-4418-8a77-65e7d8ad1f17@31g2000prc.googlegroups.com>

On Tuesday 04 May 2010 03:05:58 Bill wrote:
> When emacs is running I can C-x C-f to load my ~/.emacs source into a
> buffer for editing. That is easy enough, but I would like to know how
> to do it programmaticaly so it preloads on startup. Using (load "path-
> to-dot-emacs") makes emacs protest about redundant evaluation. This
> newbie just wants to edit, not evaluate.
> 

Hi,

I use the following:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; open user-init-file on startup, but doesn't show the buffer
(add-hook 'emacs-startup-hook (lambda () (find-file-noselect user-init-file)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Thanks,


-- 
--------------------------------------------------------------------------------
Steven Knight  steven.knight@unh.edu
-------------------------------------------------------------------------------




      parent reply	other threads:[~2010-05-05 23:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04  7:05 Can I preload my ~/.emacs source for editing only? Bill
2010-05-04  7:29 ` David Kastrup
2010-05-04 10:07 ` Pascal J. Bourguignon
2010-05-04 15:16   ` jpkotta
2010-05-04 17:08     ` Pascal J. Bourguignon
2010-05-05 20:08       ` jpkotta
2010-05-05 23:11 ` Steven Knight [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005051911.15069.steven.knight@unh.edu \
    --to=steven.knight@unh.edu \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.