From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "scm" Newsgroups: gmane.emacs.help Subject: interactive function at GNU Emacs startup Date: 12 Jul 2006 18:22:20 -0700 Organization: http://groups.google.com Message-ID: <1152753740.811244.309140@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1152754833 4138 80.91.229.2 (13 Jul 2006 01:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2006 01:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 13 03:40:32 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0qBq-0007iY-Ih for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jul 2006 03:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0qBq-0005y6-4H for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Jul 2006 21:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 165.121.129.108 Original-X-Trace: posting.google.com 1152753745 25958 127.0.0.1 (13 Jul 2006 01:22:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Jul 2006 01:22:25 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=165.121.129.108; posting-account=IygD7g0AAACdbwMyRejj4naJMV9QPwUF Original-Xref: shelby.stanford.edu gnu.emacs.help:140308 Original-To: help-gnu-emacs@gnu.org 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:35933 Archived-At: Greetings, I would like to have a certain interactive function that I use quite often start up every time I run GNU Emacs. What is the best way of going about this? In my .emacs I tried the following functions, to no avail: (load "~/foo-function.el") (execute-extended-command "foo-function") Any ideas? Thanks in advance to anyone who has the time to spare.