From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: Open files in a new frames from command line Date: Thu, 29 Jan 2004 10:46:06 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F508CF7E21@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1075398351 23442 80.91.224.253 (29 Jan 2004 17:45:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2004 17:45:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 29 18:45:41 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AmGEX-0000K5-00 for ; Thu, 29 Jan 2004 18:45:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmGCg-0007mZ-HR for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jan 2004 12:43:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AmGBK-0006vF-4v for help-gnu-emacs@gnu.org; Thu, 29 Jan 2004 12:42:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AmGA7-0005Dj-PO for help-gnu-emacs@gnu.org; Thu, 29 Jan 2004 12:41:40 -0500 Original-Received: from [161.114.32.105] (helo=zcamail05.zca.compaq.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmGA7-0005Bc-1S for help-gnu-emacs@gnu.org; Thu, 29 Jan 2004 12:41:07 -0500 Original-Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.92.1.46]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id DF037E216 for ; Thu, 29 Jan 2004 08:46:33 -0800 (PST) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.21]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Thu, 29 Jan 2004 08:46:07 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Open files in a new frames from command line Thread-Index: AcPmQoU/wZb61DG6Q5GZO8IenUon/QAQOXcA Original-To: X-OriginalArrivalTime: 29 Jan 2004 16:46:07.0608 (UTC) FILETIME=[6468F780:01C3E687] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16514 "Michael B. Schmidt" 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-