all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kalle Olavi Niemitalo <kon@iki.fi>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: A DOS box starting Emacs (w32)
Date: Wed, 12 Feb 2014 18:22:53 +0200	[thread overview]
Message-ID: <83r478s3ky.fsf@gnu.org> (raw)
In-Reply-To: <87lhxg9axz.fsf@Niukka.kon.iki.fi>

> From: Kalle Olavi Niemitalo <kon@iki.fi>
> Date: Wed, 12 Feb 2014 07:06:32 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> On MS-Windows 7 or later, emacs.exe could automate this by
> setting the System.AppUserModel.RelaunchCommand property on its
> windows.

AFAIU, this will avoid Angelo's problem with pinning of Emacs icons
(solving which is probably a Good Thing), but it doesn't resolve the
issues that cause us to have runemacs.exe in the first place.  IOW,
runemacs.exe will still need to be available, even if we adopt this
technique.

> It would have to detect whether the property should refer to
> emacs.exe or runemacs.exe.  Because runemacs.c sets start.wShowWindow
> = SW_HIDE when it calls CreateProcess, emacs.exe could perhaps call
> GetConsoleWindow and IsWindowVisible, or call GetStartupInfo and check
> wShowWindow.

Why is this logic needed?  Are there any circumstances where the
pinned icon should invoke emacs.exe, rather than runemacs.exe?



  parent reply	other threads:[~2014-02-12 16:22 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 [this message]
2014-02-12  7:37   ` Dani Moncayo
2014-02-12 10:48     ` Juanma Barranquero
2014-02-12 12:30       ` Fabrice Popineau
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r478s3ky.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kon@iki.fi \
    --cc=lekktu@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.