From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: A DOS box starting Emacs (w32)
Date: Wed, 12 Feb 2014 12:30:48 +0000 (UTC) [thread overview]
Message-ID: <loom.20140212T132644-183@post.gmane.org> (raw)
In-Reply-To: CAAeL0SQpLRkWZxe+RytqHyk=8VLQR4ECd+Yvj9vM4QhHYtJ25g@mail.gmail.com
Juanma Barranquero <lekktu <at> gmail.com> writes:
>
> On Wed, Feb 12, 2014 at 8:37 AM, Dani Moncayo <dmoncayo <at> gmail.com>
wrote:
>
> > AFAIK, what "runemacs.exe" does is to asynchronously invoke
> > "emacs.exe" and then close/kill the CMD window. Wouldn't it be
> > possible to achieve the same behavior from "emacs.exe"?
>
> IIRC, it would be possible, but then you would see the console being
> opened and then hidden, which is ugly. You could work around it by
> setting a shortcut to start Emacs hidden, but that doesn't help when
> you run emacs.exe directly from the Start menu, for example. The whole
> runemacs/emacs dance is here to avoid that initial "open console /
> hide console" ugliness.
>
> J
>
AFAIK, there is no clean solution to build an app which is both a console
app and a gui app.
http://blogs.msdn.com/b/oldnewthing/archive/2009/01/01/9259142.aspx
Anyway, if you dare to use it, you can try my own binaries for Emacs-W64 :
http://semantic.supelec.fr/popineau/programming-emacs.html#sec-2
There is a version of emacsclient borrowed from EmacsW32 which is more
friendly than the pair runemacs/emacs .
Basically, emacsclient is used to launch emacs and no console show off.
Fabrice
>
next prev parent reply other threads:[~2014-02-12 12:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 22:53 A DOS box starting Emacs (w32) Angelo Graziosi
2014-02-11 23:46 ` Juanma Barranquero
2014-02-12 0:11 ` Angelo Graziosi
2014-02-12 1:10 ` Juanma Barranquero
2014-02-12 10:41 ` Angelo Graziosi
2014-02-12 5:06 ` Kalle Olavi Niemitalo
2014-02-12 10:50 ` Juanma Barranquero
2014-02-12 16:22 ` Eli Zaretskii
2014-02-12 7:37 ` Dani Moncayo
2014-02-12 10:48 ` Juanma Barranquero
2014-02-12 12:30 ` Fabrice Popineau [this message]
2014-02-12 16:27 ` Eli Zaretskii
2014-02-12 16:52 ` Juanma Barranquero
2014-02-12 17:38 ` Eli Zaretskii
2014-02-12 17:41 ` Juanma Barranquero
2014-02-12 19:16 ` Fabrice Popineau
2014-02-12 16:21 ` Eli Zaretskii
2014-02-12 16:48 ` Juanma Barranquero
2014-02-12 16:20 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140212T132644-183@post.gmane.org \
--to=fabrice.popineau@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).