[Top][All Lists]

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

Re: Patch to allow -nw to runemacs on w32

From: Lennart Borgman
Subject: Re: Patch to allow -nw to runemacs on w32
Date: Wed, 15 Nov 2006 16:34:20 +0100
User-agent: Thunderbird (Windows/20061025)

Jason Rumney wrote:
Lennart Borgman wrote:
In some situations you may want to be able to use the -nw option with runemacs.exe. All other options to emacs can be given to runemacs, but -nw currently gives a fatal error. The attached patch fixes this.

I don't see any error, OTOH, it launches emacs in a hidden console that you cannot get at, so isn't much use.

I don't see any reason why someone would want to use runemacs to launch emacs -nw, since the sole purpose of runemacs is to suppress the console window when launching emacs from an icon on Windows, so I don't think this needs fixing urgently. If we are going to fix this though, it would be better if emacs was run in the same console window rather than launching another one, as the latter may not be an option if the user is using telnet/ssh, or a full screen command prompt. Also we need to handle --no-window-system and the case where no GUI is available as well as -nw.
I get a fatal error, not just a hidden window. I think we should avoid the fatal error since the cost is low (just this little patch).

It sounds elegant to use the same console window if possible, but can we get that?

The code already handles --no-window-system.

Does runemacs run at all without a GUI system? Are situations where this occurs perhaps situations where it seems right to assume that the user is knowledgeable enough to just use emacs.exe instead?

The reason I looked into this was actually your little program to run emacsclient or emacs depending on if emacs server was available or not.

reply via email to

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