LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2014, 06:15 PM   #1
skush
LQ Newbie
 
Registered: Aug 2013
Posts: 26

Rep: Reputation: Disabled
GPM not working with emacs


I originally posted this in the software forum, but then I thought it might get a better answer here. I'm using Slackware 14.1 32 bit with the default versions of emacs and gpm (24.3.1) and (1.20.7). GPM works fine in the console, but when I try to enable it in emacs with 'M-x gpm-mouse-mode', the minibuffer says 'Autoloading failed to define function gpm-mouse-mode'. Does anybody know what is going wrong?
 
Old 08-04-2014, 01:26 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What does "M-x customize-variable RET gpm-mouse-mode RET" (with pressing the return key for RET) tell you?
 
Old 08-04-2014, 02:29 PM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Ah.

There's a t-mouse.el that's part of the gpm package that really needs to go away.

As root...
Code:
rm /usr/share/emacs/site-lisp/t-mouse.el
...and restart emacs. The gpm mouse should Just Work(TM).
 
1 members found this post helpful.
Old 08-04-2014, 05:14 PM   #4
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Heh, looks like you finally made the ChangeLog, Dick. :-)
 
Old 08-04-2014, 05:22 PM   #5
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Richard Cranium and Deceased Cranium -- Together At Last!
 
Old 08-04-2014, 09:08 PM   #6
skush
LQ Newbie
 
Registered: Aug 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks, I removed t-mouse.el, and now it seems to toggle the minor mode properly. I've never used a mouse with emacs before, and I was hoping to be able to use the menu-bar with it. Am I missing something, or is that not possible?
 
Old 08-04-2014, 09:34 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I don't think that it's possible after a quick experiment or two.
 
Old 08-16-2014, 01:49 PM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
With this latest version of gpm it no longer pastes text into emacs; either the cursor moves to the bottom of text and marks everything between its starting point and new location or emacs reports an unrecognized mouse command. If I disable gpm-mouse-mode (which I figured out how to make the default in .emacs) then pasting works.
 
Old 08-19-2014, 04:52 PM   #9
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
Ahhhh emacs... the *one* diskset I still refuse to this day to install on Slackware...
 
2 members found this post helpful.
Old 08-20-2014, 03:42 AM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
*shrugs* Well, poprocks, you're missing out on a lot of functionality that runs on linux, windows, and macs.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs gpm mode not working skush Linux - Software 0 08-01-2014 11:45 PM
Gpm not working cant copy/paste spiky0011 Linux From Scratch 2 11-20-2011 01:48 PM
[SOLVED] gpm-1.20.6-make install-gpm error janakiramulu Linux From Scratch 12 05-12-2011 02:00 AM
GPM not working on 10.2 distantlyyours Slackware - Installation 1 09-25-2005 04:15 PM
Why does gpm not working? gxie Linux - General 4 11-21-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration