unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: nicknick <avigoz@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: controlling the order of split window and the buffers from  command line
Date: Fri, 6 Nov 2009 18:08:00 +0100	[thread overview]
Message-ID: <e01d8a50911060908s65b4c3bbj96bd0408097dae11@mail.gmail.com> (raw)
In-Reply-To: <4afaf43d-2a30-4189-8537-bd103228eda9@v25g2000yqk.googlegroups.com>

On Fri, Nov 6, 2009 at 12:46 PM, nicknick <avigoz@gmail.com> 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.




      reply	other threads:[~2009-11-06 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 11:46 controlling the order of split window and the buffers from command line nicknick
2009-11-06 17:08 ` Lennart Borgman [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50911060908s65b4c3bbj96bd0408097dae11@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=avigoz@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).