From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: Can I preload my ~/.emacs source for editing only?
Date: Tue, 04 May 2010 12:07:52 +0200 [thread overview]
Message-ID: <lz4oio9dzb.fsf@informatimago.com> (raw)
In-Reply-To: ce5e8a68-77ea-4418-8a77-65e7d8ad1f17@31g2000prc.googlegroups.com
Bill <bsagert@gmail.com> writes:
> 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.
When you want to know what commande hides behind a keychoard, you can
use C-h k
Type C-h k C-x C-f
and see what command is used to find a file and edit it.
You can then insert a form using this command in your ~/.emacs, such
as:
(find-file "~/.emacs")
The opposite of C-h k is C-h w which tells you where (to which
keychoards) a command is bound. For example, C-h w find-file RET
displays in the minibuffer:
find-file is on <open>, C-x C-f, <menu-bar> <file> <new-file>
--
__Pascal Bourguignon__
http://www.informatimago.com
next prev parent reply other threads:[~2010-05-04 10:07 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 [this message]
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
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=lz4oio9dzb.fsf@informatimago.com \
--to=pjb@informatimago.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.
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.