From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Landscheidt Newsgroups: gmane.emacs.help Subject: Re: how to make emacs start in a given mode ? Date: Wed, 09 Jun 2010 12:07:48 +0000 Organization: Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276085350 6046 80.91.229.12 (9 Jun 2010 12:09:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 12:09:10 +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 14:09:07 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 1OMK5h-0004Dd-Vq for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 14:09:06 +0200 Original-Received: from localhost ([127.0.0.1]:47756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMK5h-0004Nz-AE for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 08:09:05 -0400 Original-Received: from [140.186.70.92] (port=37959 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMK5G-0004Jy-1p for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 08:08:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMK5E-0000MI-VX for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 08:08:37 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:33146) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMK5E-0000M7-Q9 for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 08:08:36 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMK5A-0003wN-V4 for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 14:08:32 +0200 Original-Received: from e177121254.adsl.alicedsl.de ([85.177.121.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 14:08:32 +0200 Original-Received: from tim by e177121254.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 14:08:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org connect(): No such file or directory Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e177121254.adsl.alicedsl.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:nXGNoOhFzECvspkUsSZy4YBQjhs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73864 Archived-At: (anonymous) 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? You could try "emacs -f matlab-shell". Tim