From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Parrone Newsgroups: gmane.emacs.help Subject: Re: evaluating .emacs file after revision Date: Wed, 23 Apr 2003 17:01:23 GMT Organization: none Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <877k9lno5y.fsf@marc0host.dyndns.org> References: <871xztxgq4.fsf@desktop.xx.yy> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051117520 4592 80.91.224.249 (23 Apr 2003 17:05:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 17:05:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 19:05:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198NgJ-0001Be-00 for ; Wed, 23 Apr 2003 19:05:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198Ngg-00060L-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2003 13:05:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 213.45.16.23 Original-X-Complaints-To: newsmaster@tin.it Original-X-Trace: news1.tin.it 1051117283 213.45.16.23 (Wed, 23 Apr 2003 19:01:23 MET DST) Original-NNTP-Posting-Date: Wed, 23 Apr 2003 19:01:23 MET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:112228 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8727 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8727 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hugh Lawson writes: > What is the most disciplined way to do this without restarting emacs? > > --to debug the revised file You can eval each single expression putting the mark before it (`C-SPC'), moving the point after it (`C-M-f'), and evaluating it (`C-x C-e'). > --to make it effective in the running session of emacs With `M-x load-file'. > I've looked, but I can't find the documentation on this. C-h i d m emacs RET i loading Lisp code RET With emacs 21.3.50. - -- Marco Parrone - marc0@autistici.org www.autistici.org/marc0 2143 9E77 D5E6 115A 48AD A170 D0EE F736 (4E88 99C2) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 iD8DBQE+psa80O73Nk6ImcIRArCaAJ41g9RmToSBp+wCLr8XP2LjQNwmqACeP9rG BblMWCtErddgJrgPKptJdqk= =6qSo -----END PGP SIGNATURE-----