From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: hkm <hkmsama@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: how to make emacs start in a given mode ?
Date: Wed, 9 Jun 2010 09:18:53 +0200 [thread overview]
Message-ID: <AANLkTimX8WXpHGqh6p2-lNH8SWAC1JP3mJ1A0pLcw0a1@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinzQxeDHlqBw-j_fyWo_q12nLBY_9ajmXv_jK_t@mail.gmail.com>
2010/6/9 hkm <hkmsama@gmail.com>:
> 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?
>
> Thank you.
>
>
> Keming
Sure, just modify initial-major-mode, e.g.:
(setq initial-major-mode 'python-mode)
--
Deniz Dogan
next prev parent reply other threads:[~2010-06-09 7:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 0:48 how to make emacs start in a given mode ? hkm
2010-06-09 7:18 ` Deniz Dogan [this message]
[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
[not found] <mailman.2.1276061596.11236.help-gnu-emacs@gnu.org>
2010-06-09 6:22 ` mandar.mitra
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=AANLkTimX8WXpHGqh6p2-lNH8SWAC1JP3mJ1A0pLcw0a1@mail.gmail.com \
--to=deniz.a.m.dogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=hkmsama@gmail.com \
/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.