[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27517: 26.0.50; 25.2.2; Cannot add "help-echo" property to buffer re
From: |
Lars Ingebrigtsen |
Subject: |
bug#27517: 26.0.50; 25.2.2; Cannot add "help-echo" property to buffer regions in *lisp-mode |
Date: |
Fri, 13 Aug 2021 15:18:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> This happens because lisp-mode.el wants itself to manage the help-echo
> property:
[...]
> (font-lock-extra-managed-props help-echo)
>
> When a property appears in font-lock-extra-managed-props, font-lock
> removes that property when it's about to re-fontify some region, see
> font-lock-default-unfontify-region.
This is presumably so that font-locking can add help-echo warnings like
+ (lisp--match-hidden-arg
+ (0 '(face font-lock-warning-face
+ help-echo "Hidden behind deeper element; move to another line?")))
which seems useful.
But it'd also be nice to allow other packages to also add help-echo on
bits and bobs. Is there no way to achieve that?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#27517: 26.0.50; 25.2.2; Cannot add "help-echo" property to buffer regions in *lisp-mode,
Lars Ingebrigtsen <=