From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: controlling the order of split window and the buffers from command line Date: Fri, 6 Nov 2009 18:08:00 +0100 Message-ID: References: <4afaf43d-2a30-4189-8537-bd103228eda9@v25g2000yqk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1257528827 8229 80.91.229.12 (6 Nov 2009 17:33:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2009 17:33:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: nicknick Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 06 18:33:40 2009 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.50) id 1N6Sgt-0007R6-NN for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Nov 2009 18:33:39 +0100 Original-Received: from localhost ([127.0.0.1]:58544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Sgt-0004dy-44 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Nov 2009 12:33:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6SIV-0004WR-IV for help-gnu-emacs@gnu.org; Fri, 06 Nov 2009 12:08:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6SIQ-0004UY-Pr for help-gnu-emacs@gnu.org; Fri, 06 Nov 2009 12:08:27 -0500 Original-Received: from [199.232.76.173] (port=39209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6SIQ-0004UQ-HV for help-gnu-emacs@gnu.org; Fri, 06 Nov 2009 12:08:22 -0500 Original-Received: from mail-yw0-f194.google.com ([209.85.211.194]:43236) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6SIQ-0004DI-51 for help-gnu-emacs@gnu.org; Fri, 06 Nov 2009 12:08:22 -0500 Original-Received: by ywh32 with SMTP id 32so1171141ywh.14 for ; Fri, 06 Nov 2009 09:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=rRjYNftugHr1Anc0DoBmieEOJUFnPYPKGJLQ7nvWyrU=; b=l0YWWiCpDyLDHuyOvD/MyfNVK7jU5giA5v8eCwJVzfca+ze0C7v0oUAIcCy0v1I4UT vWQynomZoDRPGN/WCHEBk/jKNrEKvd5w01x9/jW0IbZh5gRuPhx2tz7yatGMwsxmXnex xGUQQSm4H19tML8zKf3ziRs1FdLMWOzU3z8kU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=KfoxQV3n9G0MbE6935g1isAdt2CypHeH1DhhoDfzZQAN37Yv7PjYLme3d3bMzNdNUj 0VXYy6qReeCuwDV4p//Q7T/Cj79j+rdst6AxbBWuqvfBOzWAcIbG9ronb5d9J1qWZNdC 4sldvmwWlPk1+g3reHyb3cqfiSr5r0GwTNr7w= Original-Received: by 10.101.28.1 with SMTP id f1mr2034532anj.126.1257527300197; Fri, 06 Nov 2009 09:08:20 -0800 (PST) In-Reply-To: <4afaf43d-2a30-4189-8537-bd103228eda9@v25g2000yqk.googlegroups.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69552 Archived-At: On Fri, Nov 6, 2009 at 12:46 PM, nicknick wrote: > hi. the problem is: > I want to use emacs as a user interface for octave. I want to make a > unix alias > that opens emacs with 3 splitted zones, one of them includes the > octave-mode terminal, one in a revert mode reading the octave history > file, and one with the actual source file I want to open. I also want > to be able to specify exactly the split order and the buffers that > open in each zone. can this be achieved? Yes. An easy way to do what you want is to: - write a small elisp file containing a function that can do what you want. - Then you write a temporary file (for example with echo) that calls this elisp function with the parameters you want. - From the command line when you start emacs you load both these file.