From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: edit .emacs and then ....
Date: Tue, 19 Jun 2007 16:39:06 -0400 [thread overview]
Message-ID: <87ir9jd6hh.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: 46798313$1@news.greennet.net
Ken Goldman <kgold@watson.ibm.com> writes:
> David wrote:
>> This is a real newby question. I have a load of buffers in emacs and I
>> edit .emacs with some new cool macro or what ever. To get the new code
>> working I could close and restart emacs, but I will have to re-load
>> every buffer. Is there an easy way to either 1) get the new lisp code
>> working without closing and reopening, or 2) close and reopen and
>> still have all the same buffers available so I don't have to open
>> easch manually.
>>
> Put your cursor at the end of the statement, and then ...
>
> C-x C-e runs the command eval-last-sexp
That's the simplest way: others are
M-x eval-buffer RET
M-x load-file RET ~/.emacs
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
A webpage of interest:
http://www.gnu.org/philosophy/sylvester-response.html
next prev parent reply other threads:[~2007-06-19 20:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2187.1181903494.32220.help-gnu-emacs@gnu.org>
2007-06-15 12:29 ` edit .emacs and then Andy Chambers
2007-06-15 12:53 ` Tassilo Horn
2007-06-19 19:53 ` Ken Goldman
2007-06-19 20:39 ` Joel J. Adamson [this message]
2007-06-20 20:11 ` Ken Goldman
2007-06-21 14:29 ` Joel J. Adamson
2007-06-15 9:24 David
2007-06-15 10:36 ` n_powell
2007-06-15 11:16 ` Peter Dyballa
2007-06-15 13:33 ` David
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=87ir9jd6hh.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--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.