emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`x-show-tip` not display propertize text string, is this expected?


From: Eval EXEC
Subject: `x-show-tip` not display propertize text string, is this expected?
Date: Sat, 18 Jan 2025 20:27:12 +0800
User-agent: Mozilla Thunderbird

Hello,

I want to use `x-show-tip` to show some colorful text to tooltip. But it seems that emacs doesn't make the tooltip text colorful.

I can reproduce it by eval this _expression_:

```elisp

(x-show-tip
  (propertize "hello emacs" 'face '(:foreground "red"))
  nil nil 2 0 0)
```

I expect above elisp _expression_ should make a tooltip to display red text,

 but it displayed white foreground text actualy.


This can be reproduced on master branch:

```

❯ ~/.local/bin/emacs --version
GNU Emacs 31.0.50
Development version 9c062a282a90 on feature/igc branch; build date 2025-01-17.
Copyright (C) 2025 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

```


What do you think?


Thank you

Eval Exec


reply via email to

[Prev in Thread] Current Thread [Next in Thread]