Subject: bug#16105: (setq ns-auto-hide-menu-bar t) unhides the dock on S.L. 10.6.8.

From: Keith David Bershatsky <[email-masked]>
Date: Tue, 03 Jun 2014 12:18:48 -0700

I have a workaround for bug #16105, which may help the Emacs team locate the root cause.

* Remove the Emacs.app shortcut from the Dock.

* Restore hiding of the Dock to its normal working state.

  ** Click on the Apple logo.

  ** Go down to Dock on the menu.

  ** Select `Turn Hiding Off`

  ** Repeat the process now, but select `Turn Hiding On` this time around.

* With the open-source program called Platypus, create an Application with the following script -- adjust the path accordingly.

#!/bin/sh

osascript -e 'tell application "/Users/HOME/.0.data/.0.emacs/Emacs_06_01_2014.app/Contents/MacOS/Emacs" to activate'

* Drag that newly created application to the Dock to create a shortcut -- this will be the new method for activating Emacs with C-F3 or returning to Emacs with C-F3 when it is already running.

That's it -- workaround achieved!  So, bug #16105 is triggered specifically by accessing Emacs from the Dock with a shortcut created from the Emacs application.  A different method of activating Emacs avoids triggering the bug.

Thanks,

Keith