From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baloff Newsgroups: gmane.emacs.help Subject: Re: default startup mode Date: 07 Aug 2005 09:37:29 +1000 Organization: iPrimus Customer - reports relating to abuse should be sent to abuse@iprimus.com.au Message-ID: <873bpmy6va.fsf@wash.edu> References: <87pssubq82.fsf@wash.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123370330 17962 80.91.229.2 (6 Aug 2005 23:18:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2005 23:18:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 07 01:18:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1Xw4-0001nx-61 for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Aug 2005 01:18:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1Xyz-0006j6-4y for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Aug 2005 19:21:37 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Original-NNTP-Posting-Host: 210.50.67.216 X-Original-NNTP-Posting-Host: 127.0.0.1 Original-Lines: 45 Original-NNTP-Posting-Host: 203.134.67.67 Original-X-Trace: 1123370200 un-2park-reader-02.sydney.pipenetworks.com.au 15502 203.134.67.67:4390 Original-X-Complaints-To: Abuse, including message IDs to abuse@pipenetworks.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-south.connect.com.au!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!202.72.130.18.MISMATCH!quokka.wn.com.au!token.pipenetworks.com!218.100.2.58.MISMATCH!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:132982 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:28502 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28502 Kevin Rodgers writes: > Baloff wrote: > > > I have this line in my .emacs > > > > (setq default-major-mode 'text-mode) ;new buffers are text mode > > > > when I start emacs, it opens up a scratch buffer in (Lisp Interaction) > > in the mode line. shouldn't that be text mode since the line above is > > in the .emacs. > > if not, how do I get emacs to start up with text mode as default? or > > should I? > > ,----[ C-h v initial-major-mode RET ] > | initial-major-mode's value is > | lisp-interaction-mode > | > | Documentation: > | Major mode command symbol to use for the initial *scratch* buffer. > | > | You can customize this variable. > | > | Defined in `startup'. > `---- > > -- > Kevin Rodgers thanks, I went looking for info about startup and found Initial Options =============== ... Some initial options affect the loading of init files. The normal actions of Emacs are to first load `site-start.el' if it exists, then your own init file `~/.emacs' if it exists, and finally `default.el' if it exists; certain options prevent loading of some of these files or substitute other files for them. how do I find out if "in my case" all 3 files started up or any did not.