summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-10-30 12:28:00 +0200
committerEli Zaretskii <eliz@gnu.org>2015-10-30 12:28:00 +0200
commit2d571a83f03d8de284878eaffabee3c4b1559042 (patch)
tree6e4dee019053d60868366c52cedb67358e86d06d
parent25be5df44a7c4e67e365b428a424e9dd957f2687 (diff)
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.
-rw-r--r--etc/PROBLEMS30
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 1b4831809e..0f76bfc521 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