emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch to allow -nw to runemacs on w32


From: Juanma Barranquero
Subject: Re: Patch to allow -nw to runemacs on w32
Date: Wed, 15 Nov 2006 17:37:40 +0100

On 11/15/06, Lennart Borgman <address@hidden> wrote:

You are right. I also just get a hidden emacs.exe if I add -Q.
Though I
would not say a sometimes hidden, sometimes crashing emacs is very good ;-)

Hmm, I don't remember saying anything about -Q. runemacs does not
crash for me with -nw; it just runs hidden.

And at a second thought it seems natural that runemacs creates a new
window - even if it is a console window. That is what runemacs is for,
isn't it?

No. Its only purpose is running Emacs *without* a console window. It
says it so in the comment at the very beginning:

Simple program to start Emacs with its console window hidden.

This program is provided purely for convenience, since most users will
use Emacs in windowing (GUI) mode, and will not want to have an extra
console window lying around.

That is by intent. I handle this argument like the other arguments that
are handled in runemacs.

The other arguments are not for Emacs. It does not know what to do
with "-high", "-low" or "-wait"; so runemacs processes the argument
and skips it. But -nw is to be understood both by runemacs (if your
patch applies) and Emacs, so processing it only if it's the first is a
no-no (or you'd have to document it).

Or, it is much easier doing it that way.

Yeah. As H. L. Mencken said: "For every problem, there is a solution
that is simple, neat, and wrong." :)

                   /L/e/k/t/u




reply via email to

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