help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Open files in a new frames from command line


From: Bingham, Jay
Subject: RE: Open files in a new frames from command line
Date: Thu, 29 Jan 2004 10:46:06 -0600

"Michael B. Schmidt" <MiBSchmidt@gmx.de> wrote:

> I need to open multiple files to work with them. I use the command:
> "emacs foo bar baz". This open the file foo,bar and baz each in a new
> Buffer. Is there away (command line option,script) to open the files
> in frames instead of new Buffers? (I know that I can open one of the
> files and then open each file with c-x 5 f but this is to much work
> :-)))

I have been watching this thread for several days and like others who
have responded I do not know of a command line option that will do what
you want.  Finally today it occurred to me that a function which I just
wrote (because I found doing multiple c-x 5 2's each time I started
emacs to be tedious) should be fairly simple to modify to do what you
describe.

The function that I wrote opens a number of frames based on the contents
of a list and positions the frames at specific locations on the screen.
It should not be difficult to adapt this function use a list of the
buffers associated with files that were opened with the command line as
the basis for the number of frames to create and to map the buffers in
list to the frames as they are opened.  Making it transparent would then
just be a matter of running the function from your .emacs file.  I do
not have the time right now to do those modifications but if you are
interested in doing it your self I will be glad to send the code to you.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]