Xref: utzoo gnu.emacs.help:1644 comp.emacs:10457 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!news.cs.indiana.edu!att!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage From: maechler@BREEZE.BELLCORE.COM (Martin Maechler) Newsgroups: gnu.emacs.help,comp.emacs Subject: Using the mouse in emacs Message-ID: <9104041446.AA26856@breeze.bellcore.com> Date: 4 Apr 91 14:46:39 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: maechler@bellcore.com (Martin Maechler) Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 24 1) You should get Emacs 18.57; it has quite few X11-problems fixed. 2) (provide 'x-mouse) does NOT say that a function M-x x-mouse is defined ! It rather makes sure that other packages with (require 'x-mouse) don't have to load x-mouse.el one more time. Your main problem: 3) X-stuff in emacs only works when emacs starts up its own X-window. NOT when emacs starts up in your xterm ! To make this work: Replace by what you get from the command hostname on your LOCAL machine. by what you get from hostname on the machine that runs emacs. If both are the same, only step 1. below is necessary. 1. The DISPLAY environment variable has to be set properly (k)sh: DISPLAY=:0.0; export DISPLAY (usually) csh: setenv DISPLAY=:0.0 (usually) 2. The host that runs emacs must have permission to create an X window on your screen: xhost Martin