help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Start in shell mode


From: Barry Margolin
Subject: Re: Start in shell mode
Date: Thu, 02 Oct 2008 17:02:52 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article 
<address@hidden>,
 Decebal <address@hidden> wrote:

> On 2 okt, 10:06, Nick Sandow <address@hidden> wrote:
> > You can use variable `initial-major-mode' for this.
> >
> > (setq initial-major-mode 'shell)
> 
> Works, thanks. The only problem is that the cursor starts at the
> beging of the line, but with a cursor down that is solved.

This will change the mode of the *scratch* buffer.  What I do instead is 
put

(shell)

at the end of my .emacs file.  This will create the normal *shell* 
buffer and switch to it.

-- 
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]