From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joao.moreira@free.fr Newsgroups: gmane.emacs.devel Subject: Building an emacs to use the mouse in the linux console Date: Mon, 25 Jun 2012 22:16:25 +0200 (CEST) Message-ID: <2012883564.325560868.1340655385571.JavaMail.root@zimbra73-e12.priv.proxad.net> References: <297874776.325554404.1340655282573.JavaMail.root@zimbra73-e12.priv.proxad.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340655402 18730 80.91.229.3 (25 Jun 2012 20:16:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2012 20:16:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 22:16:41 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SjFi9-0005U6-GA for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 22:16:37 +0200 Original-Received: from localhost ([::1]:44501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjFi9-0007IH-DC for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 16:16:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjFi6-0007IC-Hq for emacs-devel@gnu.org; Mon, 25 Jun 2012 16:16:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjFi4-0001ln-T6 for emacs-devel@gnu.org; Mon, 25 Jun 2012 16:16:34 -0400 Original-Received: from smtp2-g21.free.fr ([212.27.42.2]:36243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjFi4-0001lZ-9a for emacs-devel@gnu.org; Mon, 25 Jun 2012 16:16:32 -0400 Original-Received: from zimbra73-e12.priv.proxad.net (unknown [172.20.243.223]) by smtp2-g21.free.fr (Postfix) with ESMTP id A5A9F4B00B2 for ; Mon, 25 Jun 2012 22:16:26 +0200 (CEST) In-Reply-To: <297874776.325554404.1340655282573.JavaMail.root@zimbra73-e12.priv.proxad.net> X-Originating-IP: [82.230.80.148] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Win)/7.2.0-GA2598) X-Authenticated-User: joao.moreira@free.fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.27.42.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151164 Archived-At: Hello, I'm trying build an emacs binary that will let me use the mouse when running in the Linux console. I'm running Fedora 16 (LXDE spin), I installed gpm, and I compiled Emacs 24.1 from source, but copy-paste is not working. I can use the mouse to select text, but when trying to paste I get a message saying "Symbol's function definition is void: x-get-selection-internal". When building emacs, it first complained that I was running X but had no X development libraries. So I configured it with the '--without-x' option, and at the end of the 'configure' run it said emacs would use '-lgpm'. So I'm puzzled by the 'x-' function, do I need X libraries to use the mouse ? I certainly hope not... The emacs 23.3 that comes with Fedora is able to copy-paste in the console, but of course, I don't know how they built it. What's the right way to go about this ? How can I build and configure emacs 24.1 so that the mouse is fully functional in the Linux console wth gpm ? Am I missing some elisp package ? or is it mandatory to include teh X libraries ? Joao