From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arjen Wiersma Newsgroups: gmane.emacs.help Subject: Re: Reload .emacs Date: Fri, 03 Aug 2007 22:52:40 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186220033 1366 80.91.229.12 (4 Aug 2007 09:33:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2007 09:33:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 04 11:33:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IHG15-0000dz-G9 for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 11:33:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHG12-0003WR-RJ for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 05:33:45 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 03 Aug 2007 15:52:44 -0500 Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAqBAMAAAAHYcVJAAAAGFBMVEVpVDRROyyMczCMelKf jmTGoiv4+fTFvKFiQU3xAAAACXBIWXMAAAsSAAALEgHS3X78AAABl0lEQVQ4y3WTMW/CMBCFTQhi xa3UORy4rK2CmrXIhqzIwmWlJdgzCth/v+ckhBSnJyvDfXn3zj6b6H+ChKkiBA6zqTUvAXgp6YDS QwAKWkcATAM+glLvPh1nobmXEEKyR+DeECT02T6C0gsiuukpdSYRQA/Qh8kQ2K4XJEwpG4ItJUqp RQBOW/qEYB+AK6OjPmAkSxggeQQneYEE0P3rAaj4ghYQgJPk+VQpWZt0QKHmsBopxiqTDriqHQyw EPujcPqI7cAUf5fwegdirX+UWkvMI27NjZiP7UlVxhjbTQOM4HPhTAvkDRzzq4j3+pZnclEDU+73 QrRAwk1RpjO3S3N9hco7YbLp6pjy9WW5tgUAeAGTtgY/XAi0twUjIymjCG6DMumM87el1ud4Gm0/ Yd7OPMVY+rZLtxp/W9sC8TnEy2eds9roQ3NG1QaN0wX6OOc31QHaWG9vjS+C7wmVtjlEn/N18FNo d56QFlQ6TgYUV4Z32HYG5XJO0smEDrPKqwauklxSPiAkzjt3t27drrL7oHveeR2/scpUH2uUj7sA AAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAABF0RVh0SlBFRy1Db2xv cnNwYWNlADKBDSEkAAAAIXRFWHRKUEVHLVNhbXBsaW5nLWZhY3RvcnMAMngyLDF4MSwxeDHlUdu4 AAAAAElFTkSuQmCC User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) Cancel-Lock: sha1:lPaDHj0Jqq4zymxCOX5xeSVw1zs= Original-Lines: 38 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-bsTZlOQwajyYIznfGEPA409O3Bc/BKJBwkZysS7JQdyG6PlThxaadx5cPXrUrDGm0mqedIjosRJS+w7!YAdGX+4If5e7eGVupWwfLVoF+eqwzN/WOuNKHaVgrp+CxNw= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Original-Xref: shelby.stanford.edu gnu.emacs.help:150717 X-Mailman-Approved-At: Sat, 04 Aug 2007 05:25:32 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46313 Archived-At: henrikau@januz.zapto.org (Henrik Austad) writes: > I'm configuring my emacs22.1, and I catch myself restarting emacs (quit and > start) for every change. Are there any ways of just reloading the > .emacs-file without restarting emacs? > > I've googled for 'emacs reload config' and variants thereof, but I'm not > finding a useful guide. > > If there are places I *should* have read before bugging you with these kind > of questions, please let me know - I don't mean to annoy you! :-) How about eval-buffer? ,----[ C-h f eval-buffer RET ] | eval-buffer is an interactive built-in function in `C source code'. | (eval-buffer &optional BUFFER PRINTFLAG FILENAME UNIBYTE DO-ALLOW-PRINT) | | Execute the current buffer as Lisp code. | Programs can pass two arguments, BUFFER and PRINTFLAG. | BUFFER is the buffer to evaluate (nil means use current buffer). | PRINTFLAG controls printing of output: | A value of nil means discard it; anything else is stream for print. | | If the optional third argument FILENAME is non-nil, | it specifies the file name to use for `load-history'. | The optional fourth argument UNIBYTE specifies `load-convert-to-unibyte' | for this invocation. | | The optional fifth argument DO-ALLOW-PRINT, if non-nil, specifies that | `print' and related functions should work normally even if PRINTFLAG is nil. | | This function preserves the position of point. `---- Regards, Arjen