This bug still affects Ubuntu 18.04 LTS with emacs-25 package, when running the 
Unity
desktop. In particular editing lisp files and using slime is next to 
impossible. I have found
a fix:

For emacs launched from a terminal window simply add 
export UBUNTU_MENU_PROXY=emacs
to .bashrc

For emacs launched from clicking on icons, i have modified the exec line of 
/usr/share/applications/emacs25.desktop   to the following:

Exec=/usr/bin/emacs %F

instead of emacs25 because then the mechanism that puts the menu at the
top of the screen is inhibited. In both cases the menu bar is confined
to the emacs windows and then works OK.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to emacs25 in Ubuntu.
https://bugs.launchpad.net/bugs/415101

Title:
  Karmic: emacs22-gtk generated menus do not update (GTK only)

Status in GNU Emacs:
  Unknown
Status in GTK+:
  Fix Released
Status in emacs-snapshot package in Ubuntu:
  Fix Released
Status in emacs22 package in Ubuntu:
  Fix Released
Status in emacs23 package in Ubuntu:
  Fix Released
Status in emacs25 package in Ubuntu:
  Confirmed
Status in emacs-snapshot source package in Karmic:
  Won't Fix
Status in emacs22 source package in Karmic:
  Fix Released
Status in emacs23 source package in Karmic:
  Fix Released
Status in emacs25 source package in Karmic:
  Confirmed
Status in emacs23 package in Debian:
  Fix Released

Bug description:
  Emacs has a pretty non-standard way of using GTK that makes some
  assumptions about GTK internals. These have been broken with gtk 2.18.

  Symptoms: Dynamic menus are no longer updated if klicked on with the
  mouse. They are updated if the menu is opened with F10.

  Steps to reproduce:
   - Install e.g. auctex and open a .tex file in Latex mode.
   - Klick on the menu bar and see the an empty menu.

  Expected result:
   - a non-empty menu.

  Original Report:

  Subject: Emacs language menus are blank

  Binary package hint: emacs22

  The attached picture should say it all.
  I have tested C/C++, Python, Erlang and they all show up blank.
  I've had this problem for a while not (a month or so, maybe?), but I'm not 
sure exactly when it showed up. I suspected it was just me for a while, but 
I've tested with blank ~/.emacs.d directory for defaults as well.

  ProblemType: Bug
  Architecture: amd64
  Date: Tue Aug 18 00:34:54 2009
  DistroRelease: Ubuntu 9.10
  Package: emacs22-gtk 22.2-0ubuntu2
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
  SourcePackage: emacs22
  Uname: Linux 2.6.31-5-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/emacs/+bug/415101/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to