unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8268: Windows Emacs Console persists while running running emacs.exe.
@ 2011-03-17  3:42 Nicholas "Indy" Ray
  2011-03-17  5:14 ` Juanma Barranquero
  2011-03-17  5:39 ` Eli Zaretskii
  0 siblings, 2 replies; 25+ messages in thread
From: Nicholas "Indy" Ray @ 2011-03-17  3:42 UTC (permalink / raw)
  To: 8268

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

This seems to be related to bug #1849, but perhaps never properly fixed.

Anyways, when opening emacs from Emacs.exe, which is difficult to not do in
Windows 7 with pinning to the task bar, Emacs will open with an unneeded
console window that cannot be destroyed.

This seems likely due to the fact that Emacs is spawned as a console
application when run in this manner.  However, I think there is a simple fix
that doesn't cause problems when the program is run as a console app.

By calling the FreeConsole win32 function when Emacs initializes it's GUI
this should kill any os spawned console windows, had they not been opened
separately.

See:
http://msdn.microsoft.com/en-us/library/ms683150%28v=vs.85%29.aspx

I've used this function to great effect in other applications, and am
confident it'd work. I'd have fixed it and created a patch myself, but I've
spent the last few hours trying to get Emacs to build on this weird setup I
have here.

Indy

[-- Attachment #2: Type: text/html, Size: 1224 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2017-02-18 10:27 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17  3:42 bug#8268: Windows Emacs Console persists while running running emacs.exe Nicholas "Indy" Ray
2011-03-17  5:14 ` Juanma Barranquero
2011-03-17  5:19   ` Nicholas "Indy" Ray
2011-03-17  6:31     ` Jason Rumney
2011-03-17  7:19       ` Jan D.
2011-03-17 12:26         ` Juanma Barranquero
2011-03-17 19:30       ` Juanma Barranquero
2011-03-17  5:39 ` Eli Zaretskii
2011-03-17  5:42   ` Nicholas "Indy" Ray
2011-03-17 12:48     ` Juanma Barranquero
2011-03-17 16:29       ` Nicholas "Indy" Ray
2011-03-17 18:19         ` Juanma Barranquero
2011-03-17 18:25           ` Nicholas "Indy" Ray
2011-03-17 19:27             ` Juanma Barranquero
2011-03-18  3:53               ` Nicholas "Indy" Ray
2011-03-18  6:43                 ` Juanma Barranquero
2011-03-18  8:08                 ` Eli Zaretskii
2011-03-23 21:50                   ` Nicholas "Indy" Ray
2011-03-24  4:07                     ` Eli Zaretskii
     [not found]             ` <mailman.14.1300390628.11234.bug-gnu-emacs@gnu.org>
2011-04-03 10:46               ` oCameLo
2011-04-03 12:18                 ` Juanma Barranquero
2017-02-12  3:43                   ` npostavs
2017-02-12 12:47                     ` Juanma Barranquero
2017-02-12 14:08                       ` npostavs
2017-02-18 10:27                         ` Eli Zaretskii

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).