From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A. Soare" Newsgroups: gmane.emacs.devel Subject: Re: GPM in emacs does not work? Date: Sun, 8 Feb 2009 15:15:52 +0100 (CET) Message-ID: <3875943.30511234102552650.JavaMail.www@wwinf4601> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1234102665 26485 80.91.229.12 (8 Feb 2009 14:17:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2009 14:17:45 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 08 15:18:58 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWAUZ-0005ii-TZ for ged-emacs-devel@m.gmane.org; Sun, 08 Feb 2009 15:18:40 +0100 Original-Received: from localhost ([127.0.0.1]:40173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWATG-0006dM-I0 for ged-emacs-devel@m.gmane.org; Sun, 08 Feb 2009 09:17:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWAS0-0005ux-Lx for emacs-devel@gnu.org; Sun, 08 Feb 2009 09:16:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWARz-0005uR-PR for emacs-devel@gnu.org; Sun, 08 Feb 2009 09:16:00 -0500 Original-Received: from [199.232.76.173] (port=56727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWARz-0005uF-L1 for emacs-devel@gnu.org; Sun, 08 Feb 2009 09:15:59 -0500 Original-Received: from smtp1.voila.fr ([193.252.22.174]:36363) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWARz-0004NC-AD for emacs-devel@gnu.org; Sun, 08 Feb 2009 09:15:59 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4019.voila.fr (SMTP Server) with ESMTP id A8BDC70000B1; Sun, 8 Feb 2009 15:15:52 +0100 (CET) Original-Received: from wwinf4601 (wwinf4601 [10.232.13.28]) by mwinf4019.voila.fr (SMTP Server) with ESMTP id A07CE7000082; Sun, 8 Feb 2009 15:15:52 +0100 (CET) X-ME-UUID: 20090208141552657.A07CE7000082@mwinf4019.voila.fr X-Originating-IP: [92.80.91.38] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108872 Archived-At: I need the gpm to work for one patch that I send next week. Please, can somebody solve this bug of GPM? >=20 > A. Soare writes: > > Emacs does not receive GPM events, even if it is compiled with -lpgm (= HAVE_GPM =3D 1), and (gpm-mouse-start) does not return error. >=20 > It seems to be due to this change: >=20 > 1.974 (monnier 12-Sep-08): if (gpm < 0) > 1.974 (monnier 12-Sep-08): =09/* Presumably the GPM daemon has cl= osed the connection. */ > 1.974 (monnier 12-Sep-08): =09close_gpm (); >=20 > in tty_read_avail_input of keyboard.c. I don't understand it because the= GPM > manual says about Gpm_GetEvent: >=20 > It returns 1 on success, -1 on failure, and 0 after closing the connect= ion. >=20 > The ChangeLog entry says: >=20 > =09* keyboard.c (tty_read_avail_input): Forcefully close the gpm > =09connection if Gpm_GetEvent fails. >=20 > Perhaps Stefan can shed some light. >=20 > --=20 > Nick http://www.inet.net.nz/~ni= ckrob >=20 >=20 ____________________________________________________ Ecoutez le dernier single de U2=C2=A0"Get on your boots" sur http://musilin= e.voila.fr !