Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83901 - emacs CTRL-click menu items perform no actions when selected
Summary: emacs CTRL-click menu items perform no actions when selected
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 17:05 UTC by Rob David
Modified: 2006-08-10 18:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob David 2005-03-02 17:05:07 UTC
Emacs has a number of context menus normally available when you press CTRL and left/middle/right click-drag select. These appear but nothing happens when you select an item.

An interesting point that may or may not be relevant is that when you bring up the menu, the emacs window temporarily loses focus. This does not happen, for example, in Fedora where these menus are working properly.

Reproducible: Always
Steps to Reproduce:
1.Hold down CTRL and hold down a mouse button
2.Select a menu option
3.Wait for something to happen...

Actual Results:  
Nothing (except window loses focus while menu is displayed)

Expected Results:  
The selected menu action should be performed

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 24 2005, 22:31:12)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm avi berkdb bitmap-fonts cdb cdparanoia cdr crypt cups curl dvd
dvdr dvdread emacs emboss encode esd ethereal f77 fam flac font-server
foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick
imap imlib ipv6 joystick jpeg kde libg++ libwww lm_sensors mad mbox mikmod mime
mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl
oss pam pda pdflib perl php png posix postgres ppds python qt quicktime readline
samba sdl sox spell ssl svga tcpd tetex threads tiff truetype truetype-fonts
type1-fonts usb vcd videos wxwindows xine xml xml2 xmms xpm xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Rob David 2005-03-07 17:37:39 UTC
After a bit more tinkering, I've managed to make this problem go away by changing the emacs USE flags to disable support for gnome, and enable Xaw3d instead:

[ Searching for packages matching emacs... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-editors/emacs-21.4 ]
 U I
 + + X          : Adds support for X11
 + + Xaw3d      : Adds support of the 3d athena widget set
 - - gnome      : Adds GNOME support
 + + leim       : Adds input methods support to Emacs
 - - lesstif    : Use lesstif over openmotif in cases where a program supports both
 + + motif      : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
 + + nls        : <unknown>
 - - nosendmail : If you do not want to install any MTA
 - - debug      : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too

Previously, when having problems, gnome was switched on and Xaw3d off.
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-10 18:25:12 UTC
Perhaps this behaviour is a function of the window manager you run it under?