 |
 |
Terminal and Emacs
|
 |
|
 |
|
Forum Regular
Join Date: Apr 1999
Location: Edmonton, AB, Canada
Status:
Offline
|
|
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
|
|
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
|
|
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?
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Apr 1999
Location: Edmonton, AB, Canada
Status:
Offline
|
|
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
|
|
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'
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|