From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.help Subject: Re: evaluating .emacs file after revision Date: Fri, 25 Apr 2003 14:40:31 +0200 Organization: CWI, Amsterdam Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: 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 1051274799 13373 80.91.224.249 (25 Apr 2003 12:46:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2003 12:46:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 14:46:38 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 1992b7-0003TS-00 for ; Fri, 25 Apr 2003 14:46:37 +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 1992a2-0006aX-00 for gnu-help-gnu-emacs@m.gmane.org; Fri, 25 Apr 2003 08:45:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!surfnet.nl!news.surfnet.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: occarina.pna.cwi.nl Original-X-Trace: news.surfnet.nl 1051274432 11111 192.16.184.200 (25 Apr 2003 12:40:32 GMT) Original-X-Complaints-To: usenet@news.surfnet.nl Original-NNTP-Posting-Date: Fri, 25 Apr 2003 12:40:32 +0000 (UTC) In-Reply-To: <871xztxgq4.fsf@desktop.xx.yy> (Hugh Lawson's message of "Wed, 23 Apr 2003 16:40:46 GMT") User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:DWvGUTpgoJiMawAyos0SRCBIraQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:112313 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:8812 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8812 Hugh Lawson writes: > What is the most disciplined way to do this without restarting emacs? > > --to debug the revised file > > --to make it effective in the running session of emacs > > I've looked, but I can't find the documentation on this. If you changed more than a few lines in your .emacs, you can do M-x eval-buffer in the .emacs buffer. Debugging Emacs Lisp is described in the GNU Emacs Lisp Reference Manual. Type C-h i d m elisp m debugging if you have its info file installed. It is not (yet) packaged together with Emacs. A copy can be obtained from http://www.gnu.org/manual/elisp/ Lute. -- (spook) => "ISEC embassy bemd" (insert-file-contents "~/.signature") => (error "`~/.signature' too rude")