Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Terminal and Emacs

Terminal and Emacs
Thread Tools
Forum Regular
Join Date: Apr 1999
Location: Edmonton, AB, Canada
Status: Offline
Reply With Quote
Nov 14, 2001, 11:07 AM
 
I posted this in Usage and Support, but thought this might be a bit more appropriate, so I'm reposting it here...

Is there a way to get Emacs to open up in a separate window, or at leastd to spawn a new Terminal window to display in? In Solaris and Linux, I just type
<emacs /path/to/filename &>
and it will pop up in its own window. I realize getting things like the menu bar options, etc. to be useable with a mouse could be difficult, but can I at least get it to display in a new window (and backgrounded, if possible, hence the "&" in the above example)?

I'm having problems with the emacs text overlapping with the terminal text, and it gets pretty ugly and hard to read. I'm hoping this might solve this problem.

Thanks.
     
Fresh-Faced Recruit
Join Date: Jan 2001
Location: Areas 51 thru 55 :P
Status: Offline
Reply With Quote
Nov 14, 2001, 11:31 AM
 
I don't know the answer to your specific question, but I use emacs-on-aqua (http://emacs-on-aqua.sourceforge.net) instead of terminal emacs. Kind of like xemacs, only for Aqua.
Well, let's just say, 'if your VCR is still blinking 12:00,you don't want Linux'
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Nov 14, 2001, 02:03 PM
 
did a lot of searching but can't really come up with a direct answer to your question. otoh, what's wrong with command-n?

anyway, if you find a solution to this, please let us know.

might be this is just a matter of a setting in com.apple.Terminal.plist? something undocumented like terminalopaqueness?
     
naepstn  (op)
Forum Regular
Join Date: Apr 1999
Location: Edmonton, AB, Canada
Status: Offline
Reply With Quote
Nov 15, 2001, 11:42 AM
 
Originally posted by seb2:
<STRONG>did a lot of searching but can't really come up with a direct answer to your question. otoh, what's wrong with command-n?

anyway, if you find a solution to this, please let us know.

might be this is just a matter of a setting in com.apple.Terminal.plist? something undocumented like terminalopaqueness?</STRONG>
The problem with command-n is that I usually am navigating to the directory that contains the file I want to edit in emacs, so in this case, I'd have to navigate, issue a 'pwd' then open a new terminal window and type 'emacs' and copy over the full path listed in the 'pwd' of the other window. Also, I'd still get the text of the command I just typed overlapping with the first line of the file in emacs.

I'll look into the .plist file a bit. Thanks for the suggestion.

I downloaded and am trying that Aqua-emacs app. It's pretty slick, but also somewhat rough around the edges. My main problem with it is not being able to launch it from the command line. How do you launch a .app package from the CLI? With normal binaries, I can just type ./programname and it will launch, but when I try that on .app 'files' I get a "Permission Denied" message, even though I am the owner of the directory and all sub files. I'd like to link the emacs command to this app, so that I don't have to open the app first, then select File:Open and type in the path to the file.

Thanks.
N
     
Fresh-Faced Recruit
Join Date: Jan 2001
Location: Areas 51 thru 55 :P
Status: Offline
Reply With Quote
Nov 15, 2001, 11:55 AM
 
Originally posted by naepstn:
<STRONG>

I downloaded and am trying that Aqua-emacs app. It's pretty slick, but also somewhat rough around the edges. My main problem with it is not being able to launch it from the command line. How do you launch a .app package from the CLI? With normal binaries, I can just type ./programname and it will launch, but when I try that on .app 'files' I get a "Permission Denied" message, even though I am the owner of the directory and all sub files. I'd like to link the emacs command to this app, so that I don't have to open the app first, then select File:Open and type in the path to the file.

Thanks.
N</STRONG>
open -a Emacs

Unfortuneately emacs-on-aqua does not take CLI parameters for some reason, so open -a Emacs ./ does not work.
Well, let's just say, 'if your VCR is still blinking 12:00,you don't want Linux'
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:54 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2