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 
<457a5817-c1e6-4161-9cd0-21e3572f7725@l62g2000hse.googlegroups.com>,
 Decebal <CLDWesterhof@gmail.com> wrote:

> On 2 okt, 10:06, Nick Sandow <njs...@internode.on.net> 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, barmar@alum.mit.edu
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]