unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "A. Soare" <alinsoar@voila.fr>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: "Emacs   Dev  \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: GPM in emacs does not work?
Date: Sun,  8 Feb 2009 15:15:52 +0100 (CET)	[thread overview]
Message-ID: <3875943.30511234102552650.JavaMail.www@wwinf4601> (raw)


I need the gpm to work for one patch that I send next week.

Please, can somebody solve this bug of GPM?



> 
> A. Soare writes:
>  > Emacs does not receive GPM events, even if it is compiled with -lpgm (HAVE_GPM = 1), and (gpm-mouse-start) does not return error.
> 
> It seems to be due to this change:
> 
> 1.974        (monnier  12-Sep-08):       if (gpm < 0)
> 1.974        (monnier  12-Sep-08): 	/* Presumably the GPM daemon has closed the connection.  */
> 1.974        (monnier  12-Sep-08): 	close_gpm ();
> 
> in tty_read_avail_input of keyboard.c.  I don't understand it because the GPM
> manual says about Gpm_GetEvent:
> 
>   It returns 1 on success, -1 on failure, and 0 after closing the connection.
> 
> The ChangeLog entry says:
> 
> 	* keyboard.c (tty_read_avail_input): Forcefully close the gpm
> 	connection if Gpm_GetEvent fails.
> 
> Perhaps Stefan can shed some light.
> 
> -- 
> Nick                                           http://www.inet.net.nz/~nickrob
> 
> 

____________________________________________________

Ecoutez le dernier single de U2 "Get on your boots" sur http://musiline.voila.fr !






             reply	other threads:[~2009-02-08 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-08 14:15 A. Soare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-07 14:27 GPM in emacs does not work? A. Soare
2009-02-08 10:09 ` Nick Roberts
2009-02-08 20:27   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3875943.30511234102552650.JavaMail.www@wwinf4601 \
    --to=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).