Subject: Re: bug#34648: 26.1; emacs-client: gpm-mouse rejected at daemon launch
From: Stefan Kangas <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked], Luc Pierard de Maujouy <[email-masked]>
Date: Tue, 18 Aug 2020 17:00:42 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Eli Zaretskii <[email-masked]> writes:

>> Date: Tue, 26 Feb 2019 00:12:07 +0000 (UTC)
>> From: Luc Pierard de Maujouy <[email-masked]>
>> Cc: "[email-masked]" <[email-masked]>
>>
>> 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.

So it seems like the user was trying to do the wrong thing here, and
there has been no updates in 1.5 years.  So I'm going to assume this is
resolved and am therefore closing this bug now.

If this conclusion is incorrect, please reply to this email (use "Reply
to all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas