emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2d571a8: Describe known problems with pinning Emacs


From: Eli Zaretskii
Subject: [Emacs-diffs] master 2d571a8: Describe known problems with pinning Emacs to taskbar
Date: Fri, 30 Oct 2015 10:29:26 +0000

branch: master
commit 2d571a83f03d8de284878eaffabee3c4b1559042
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Describe known problems with pinning Emacs to taskbar
    
    * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
    on Windows 10.  For the details, see the discussion starting at
    http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
---
 etc/PROBLEMS |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 1b48318..0f76bfc 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2044,6 +2044,36 @@ security reasons.  The solution is to close the Web 
browser while
 working in Emacs, or to add emacs.exe to the list of applications that
 are allowed to use the clipboard when the Web browser is open.
 
+** "Pinning" Emacs to the taskbar doesn't work on Windows 10
+
+"Doesn't work" here means that if you invoke Emacs by clicking on the
+pinned icon, a separate button appears on the taskbar, instead of the
+expected effect of the icon you clicked on being converted to that
+button.
+
+First, be sure to edit the Properties of the pinned icon to invoke
+runemacs.exe, not emacs.exe.  (The latter will cause an extra cmd
+window to appear when you invoke Emacs from the pinned icon.)
+
+But the real cause of the problem is the fact that the pinned icon
+(which is really a shortcut in a special directory) lacks a unique
+application-defined Application User Model ID (AppUserModelID) that
+identifies the current process to the taskbar.  This identifier allows
+an application to group its associated processes and windows under a
+single taskbar button.  Emacs on Windows specifies a unique
+AppUserModelID when it starts, but Windows 10, unlike previous
+versions of MS-Windows, does not propagate that ID to the pinned icon.
+
+To work around this, use some utility, such as 'win7appid', to set the
+AppUserModelID of the pinned icon to the string "Gnu.Emacs".  The
+shortcut files corresponding to icons you pinned are stored by Windows
+in the following subdirectory of your user's directory (by default
+C:\Users\<UserName>\):
+
+ AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
+
+Look for the file 'emacs.lnk' there.
+
 ** Windows 95 and networking.
 
 To support server sockets, Emacs loads ws2_32.dll.  If this file is



reply via email to

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