GNU bug report logs - #51658
[PATCH] Haiku port (again)

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Sun, 7 Nov 2021 11:30:02 UTC

Severity: wishlist

Tags: patch

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51658 <at> debbugs.gnu.org
Subject: Re: bug#51658: [PATCH] Haiku port (again)
Date: Sat, 20 Nov 2021 17:34:44 +0800
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>>  (defun tooltip-show-help (msg)
>>    "Function installed as `show-help-function'.
>>  MSG is either a help string to display, or nil to cancel the display."
>> -  (if (display-graphic-p)
>> +  (if (and (display-graphic-p)
>> +           (or (not (eq window-system 'haiku)) ;; On Haiku, there isn't a reliable way to show tooltips
>> +                                               ;; above menus.
>> +               (not (menu-or-popup-active-p))))

> This seems to contradict what you wrote in the user manual about
> tooltip options?

This only disables tooltips on Haiku if a menu or popup is active, as
Haiku doesn't let you map windows or tooltips above them.

Here's a patch with the other issues you mentioned fixed.  Please see if
it's better, thanks.

[haiku-emacs.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 184 days ago.

Previous Next


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