From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#8268: Windows Emacs Console persists while running running emacs.exe. Date: Sat, 11 Feb 2017 22:43:45 -0500 Message-ID: <87r334kr9q.fsf@users.sourceforge.net> References: <2333196f-e9be-4e1a-aa28-2351e1396a3d@r4g2000prm.googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486870991 28576 195.159.176.226 (12 Feb 2017 03:43:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2017 03:43:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: oCameLo , 8268@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 12 04:43:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccl45-00076o-N8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Feb 2017 04:43:05 +0100 Original-Received: from localhost ([::1]:50609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccl4B-00060c-Ct for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Feb 2017 22:43:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccl45-00060W-GD for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2017 22:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccl42-0001tI-Ei for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2017 22:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37909) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccl42-0001tC-AI for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2017 22:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccl41-00084n-So for bug-gnu-emacs@gnu.org; Sat, 11 Feb 2017 22:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2017 03:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8268 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8268-submit@debbugs.gnu.org id=B8268.148687096331019 (code B ref 8268); Sun, 12 Feb 2017 03:43:01 +0000 Original-Received: (at 8268) by debbugs.gnu.org; 12 Feb 2017 03:42:43 +0000 Original-Received: from localhost ([127.0.0.1]:36108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccl3i-00084F-SB for submit@debbugs.gnu.org; Sat, 11 Feb 2017 22:42:43 -0500 Original-Received: from mail-qt0-f177.google.com ([209.85.216.177]:34809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccl3h-000842-73 for 8268@debbugs.gnu.org; Sat, 11 Feb 2017 22:42:41 -0500 Original-Received: by mail-qt0-f177.google.com with SMTP id w20so62975425qtb.1 for <8268@debbugs.gnu.org>; Sat, 11 Feb 2017 19:42:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lyNOZN8J7Z3CjQxxc6t7KhcK93Sipgk4l1/apZW4M6o=; b=QH4Sq57qWk4bOjEs/L72UlKvfCDd7Yk4gDTYX1OhoT+ttdFPkCeIrST5YS5JvYJcV4 Sm5qrW+dTQ6rh5fUMb7Ai/wkJfJyGppRDk+B1hWJzR/gHGeUxtt4wHqQT8BLGsUhZHsT iSFEoa+vQK/kxC/dx4qYeG8PJuEtJeksFP1bYrwxn92/PY1Qq0KtMRGMqjgzf28HWHDr NOkm3IoZ11hs5jWHcs9iqUX4FfvgK3XpUw56Zs7imfepE1CgU+2iGV+AdoqbNvKNBiF7 1RywRV5xvwjQ7wA5ftRYVi9rZnW3hvOwCdPDsrwWNjNZTAfaS/4S/cDGGAYGrQ89scXW OFyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=lyNOZN8J7Z3CjQxxc6t7KhcK93Sipgk4l1/apZW4M6o=; b=luGGyr7ABcu5HycsKPmqelhSZG4L/Mr4WDc9wkmczB+q6HNaMKtfQBP3DQiupDJHpC FS6OPEZAbvzHSAlN8e0mJJ+kV7fjwRgN71nrxnum/05l6O9RD3vtz+VOvPtODgaZvbXx tL5W+yB+wZdj6SxYBGx5iB+k5Nsr02s7+s2fiSP7JqmBIwzIPT2CRECBaF57Wk/39/9e zybtddCg19OrCt74LoX0y3itNdFJTVmc7QfiuYJ3ypldvhNmgiTJo2X2oQVDKuqk16Et qgEM6dLhic+LnPsOBIZI+iJg5RnKd6Md/UztWM0TjN9rmYuQauZOIP220G1vTh6CeTbh f31Q== X-Gm-Message-State: AMke39nR9zS1Om7BWp6QOixMobd97YkhuWa/DU8Yl+TisP+v2VZGj5oubq09dQQ3c79LaQ== X-Received: by 10.237.49.225 with SMTP id 88mr15169591qth.120.1486870955588; Sat, 11 Feb 2017 19:42:35 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id h41sm3236176qth.59.2017.02.11.19.42.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 Feb 2017 19:42:35 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Sun, 3 Apr 2011 14:18:42 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129255 Archived-At: Juanma Barranquero writes: > On Sun, Apr 3, 2011 at 12:46, oCameLo wrote: > >> Double click runemacs.exe in the explorer, pin it to the taskbar, then >> right click on the icon, change the target from emacs.exe to >> runemacs.exe, click the icon, everything work fine. > > So the shortcut is created from a running instance of emacs.exe. > >> Drag runemacs.exe from the explorer to the taskbar, click on it, >> another icon will apply to the taskbar. > > And this one is created from the executable. > >> The shortcut file (location in C:\Users\[User NAME]\AppData\Roaming >> \Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar) created >> by the 2nd way didn't have a System.AppUserModel.ID property. > > Sound quite logical, because the executable isn't associated with the > "GNU.Emacs" ID until it runs and sets it itself. > > So this should be documented in nt/README.W32, and perhaps addpm.c > should set the System.AppUserModel.ID property in the shortcuts it > creates. Something like this? --- i/nt/README.W32 +++ w/nt/README.W32 @@ -94,6 +94,12 @@ See the end of the file for license conditions. (non-windowed) mode of operation is most useful if you have a telnet server on your machine, allowing you to run Emacs remotely. +* Pinning Emacs to the taskbar (Windows 7 and higher) + + After starting Emacs the first time, pin it to the taskbar, then + edit the properties (via shift-right-click) so that the executable + path to points to runemacs.exe instead of emacs.exe. + * EXE files included Emacs comes with the following executable files in the bin directory.