From: "mandar.mitra" <mandar.mitra@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to make emacs start in a given mode ?
Date: Tue, 8 Jun 2010 23:22:41 -0700 (PDT) [thread overview]
Message-ID: <9758a279-a823-401e-9458-b91c6dca6df7@32g2000prq.googlegroups.com> (raw)
In-Reply-To: mailman.2.1276061596.11236.help-gnu-emacs@gnu.org
On Jun 9, 5:48 am, hkm <hkms...@gmail.com> wrote:
> Does anyone know how to start emacs in a given mode?
>
> Actually I use matlab-shell in emacs. Everytime I have to start emacs
> first,
> and then I can enter matlab-shell mode.
> Is there a way to make emacs enter matlab-shell mode automatically when
> type some command in the terminal?
I have this in my .emacs.el:
(setq default-major-mode 'text-mode)
because I like scratch / new buffers to be text mode by default
(rather than Fundamental). You could try something similar with matlab-
shell mode.
next parent reply other threads:[~2010-06-09 6:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2.1276061596.11236.help-gnu-emacs@gnu.org>
2010-06-09 6:22 ` mandar.mitra [this message]
2010-06-09 0:48 how to make emacs start in a given mode ? hkm
2010-06-09 7:18 ` Deniz Dogan
[not found] ` <20100609072526.GA18088@hkm>
2010-06-09 7:31 ` Deniz Dogan
2010-06-09 8:45 ` Bastien
2010-06-09 12:07 ` Tim Landscheidt
2010-06-09 13:39 ` Joel James Adamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9758a279-a823-401e-9458-b91c6dca6df7@32g2000prq.googlegroups.com \
--to=mandar.mitra@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.