From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: edit .emacs and then .... Date: Fri, 15 Jun 2007 14:53:53 +0200 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <87lkel2xb2.fsf@baldur.tsdh.de> References: <1181910564.254909.295610@c77g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181914889 14532 80.91.229.12 (15 Jun 2007 13:41:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 13:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 15:41:26 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 1HzC3F-0000Av-UB for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2007 15:41:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzC3E-0000Jm-Rk for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2007 09:41:20 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.n-ix.net!news.belwue.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: dslb-084-063-006-094.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1181912035 15447 84.63.6.94 (15 Jun 2007 12:53:55 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Fri, 15 Jun 2007 12:53:55 +0000 (UTC) Face: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help:149503 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:45092 Archived-At: Andy Chambers writes: Hi, > The load-file function evaluates all the elisp functions in a given > file. To apply this to your cool macros, do > > M-x load-file RET ~/.emacs > > Whilst you work on your .emacs, Another yet simpler solution would be only to evaluate the new cool funtion or macro, e.g. (defun my-cool-function () ...) \ \ Place point behind the last closing paren and press `C-x C-e'. ,----[ C-h k C-x C-e ] | C-x C-e runs the command eval-last-sexp | which is an interactive compiled Lisp function in `lisp-mode.el'. | It is bound to C-x C-e. | (eval-last-sexp EVAL-LAST-SEXP-ARG-INTERNAL) | | Evaluate sexp before point; print value in minibuffer. | Interactively, with prefix argument, print output into current buffer. | | If `eval-expression-debug-on-error' is non-nil, which is the default, | this command arranges for all errors to enter the debugger. `---- Bye, Tassilo -- The glass is neither half-full nor half-empty: it's twice as big as it needs to be.