all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: stromme@mi.uib.no (Stein A. Stromme)
Subject: Re: reloading emacs
Date: Tue, 09 Sep 2003 18:39:14 +0200	[thread overview]
Message-ID: <wwhe3ldih9.fsf@eliud.mi.uib.no> (raw)
In-Reply-To: mailman.69.1063121952.21628.help-gnu-emacs@gnu.org

[Jim Hurley]

| Hello,
| 
| Was just wondering how I could tie the reloading of 
| .emacs to a function key. This seems desirable to
| quickly check changes I make to the file.

If you do this, be aware that loading .emacs again is not the
equivalent of starting a fresh emacs, especially if you add things to
load-path, or simply remove a setq of a defvar-ed variable.  Also,
existing buffers and variables not mentioned by .emacs will survive,
etc.  

For your question, look into load-file or eval-buffer or (perhaps most
relevant) eval-current-buffer.

SA
-- 
Stein Arild Strømme            +47 55584825, +47 95801887
Universitetet i Bergen                  Fax: +47 55589672     
Matematisk institutt               www.mi.uib.no/stromme/         
Johs Brunsg 12, N-5008 BERGEN           stromme@mi.uib.no

  parent reply	other threads:[~2003-09-09 16:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.69.1063121952.21628.help-gnu-emacs@gnu.org>
2003-09-09 15:57 ` reloading emacs jphil21
2003-09-09 16:01 ` Barry Margolin
2003-09-09 16:39 ` Stein A. Stromme [this message]
2003-09-09 16:46   ` Lute Kamstra
2003-09-09 17:37     ` Stein A. Stromme
2003-09-09 18:18       ` Lute Kamstra
2003-09-09 17:07 ` Pascal Bourguignon
2003-09-09 15:28 Jim Hurley

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=wwhe3ldih9.fsf@eliud.mi.uib.no \
    --to=stromme@mi.uib.no \
    /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.