GNU bug report logs - #34648
26.1; emacs-client: gpm-mouse rejected at daemon launch

Previous Next

Package: emacs;

Reported by: Luc Pierard de Maujouy <lpdmlpdm <at> yahoo.com>

Date: Mon, 25 Feb 2019 15:00:02 UTC

Severity: normal

Found in version 26.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 34648 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Luc Pierard de Maujouy <lpdmlpdm <at> yahoo.com>
Cc: 34648 <at> debbugs.gnu.org
Subject: Re: bug#34648: 26.1; emacs-client: gpm-mouse rejected at daemon launch
Date: Tue, 26 Feb 2019 17:48:49 +0200
> Date: Tue, 26 Feb 2019 00:12:07 +0000 (UTC)
> From: Luc Pierard de Maujouy <lpdmlpdm <at> yahoo.com>
> Cc: "34648 <at> debbugs.gnu.org" <34648 <at> debbugs.gnu.org>
> 
> I've just tried in .emacs:
> (add-hook 'after-make-frame-functions
>       (lambda (frame)
>         (when (display-graphic-p frame)  <<<<<<<<<<<<<<<<<
>           (gpm-mouse-mode t))))
> Which does nothing.

The display-graphic-p test is wrong: you want GPM on TTY frames, not
on GUI frames.

> Switching from when to unless trigger the initial error message.

Parse error.




This bug report was last modified 4 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.