From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hkm Newsgroups: gmane.emacs.help Subject: how to make emacs start in a given mode ? Date: Wed, 9 Jun 2010 08:48:01 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502ce8ae944dc04888e42b7 X-Trace: dough.gmane.org 1276061637 20162 80.91.229.12 (9 Jun 2010 05:33:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 05:33:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 09 07:33:56 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMDvI-0001ib-10 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 07:33:56 +0200 Original-Received: from localhost ([127.0.0.1]:37825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMDvH-0000dA-Cq for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 01:33:55 -0400 Original-Received: from [140.186.70.92] (port=57993 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OM9Su-0006w4-3u for help-gnu-emacs@gnu.org; Tue, 08 Jun 2010 20:48:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OM9Sr-0004x4-UV for help-gnu-emacs@gnu.org; Tue, 08 Jun 2010 20:48:19 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:33346) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM9Sr-0004wx-PI for help-gnu-emacs@gnu.org; Tue, 08 Jun 2010 20:48:17 -0400 Original-Received: by pwi6 with SMTP id 6so5103480pwi.0 for ; Tue, 08 Jun 2010 17:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=oF4sAi6Vd0C4c7rJqC9ctRVKlrsZDK95pkhRRqQYeBY=; b=c6HCAw/S8XyKR86M85j1+jV+Cjav+nLJxWzGMaIks7DOOixDoMqNkPvbxcybrLg/km DzfgRBEY2gkEU0kD4DtAEzB5+jbGtvNHN7ZdZikMRJSpKLBl6Vyb9ZeT0IQjKVQ8dAwk ne5HQLQSP0siQ//xmY6Y2m4PZjaNj8d3uoyBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=clvkxPfNs63NY3US2bJrqO1fRxpFhH74/9QlUFFGtqmQwKReo2xSWmxV2P0w+eaVbx 4T/woB8NDBiy5AFeZaaRteLgfXXfM2xJ80xWp1kY9WMy/9Vh59kOzNLVEBlohu8kdny0 O55obVBrDZMzOptIGK5JjVEB1UN9XTNw4D9gE= Original-Received: by 10.142.249.4 with SMTP id w4mr1240312wfh.171.1276044496159; Tue, 08 Jun 2010 17:48:16 -0700 (PDT) Original-Received: by 10.142.246.10 with HTTP; Tue, 8 Jun 2010 17:48:01 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 09 Jun 2010 01:33:14 -0400 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:73861 Archived-At: --00504502ce8ae944dc04888e42b7 Content-Type: text/plain; charset=ISO-8859-1 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 --00504502ce8ae944dc04888e42b7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Does anyone know how to start emacs in a given mode?=A0

=
Actually I use matlab-shell in emacs. Everytime I have to s= tart emacs first,=A0
and then I can enter matlab-shell mode.
Is there a way to make emacs enter matlab-shell mode=A0automatically= =A0when=A0
type some command in the terminal?


Thank you.



Keming
--00504502ce8ae944dc04888e42b7--