From: Eli Zaretskii <eliz@gnu.org>
To: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
Cc: emacs-devel@gnu.org
Subject: Re: help-echo property disappearing
Date: Fri, 15 Dec 2023 10:51:42 +0200 [thread overview]
Message-ID: <8334w3q25d.fsf@gnu.org> (raw)
In-Reply-To: <m24jgj7w7l.fsf@inria.fr> (nicolas.rougier@inria.fr)
> From: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>
> Date: Fri, 15 Dec 2023 08:29:24 +0100
>
>
> I'm playing with the help-echo property and it keeps disappearing
> for no obvious reason. I would like to confirm the behavior and to
> know if this is the intended behavior. Here is a simple example:
>
> (progn
> (goto-char (point-min))
> (insert (propertize "TEST"
> 'another-property "Test message"
> 'help-echo "Test message"))
> (goto-char (point-min))
> (kill-visual-line) (yank))
>
> Before kill/yank, the string has both the `help-echo` and
> `another-property` set, but the yanked string has only the
> `another-property` set. This is in text-mode, using Emacs 29.1. I
> also observed that in prog-modes, I cannot set the help-echo
> property at all (with no warning).
This is the intended behavior, see yank-excluded-properties.
prev parent reply other threads:[~2023-12-15 8:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 7:29 help-echo property disappearing Nicolas P. Rougier (inria)
2023-12-15 8:36 ` Stephen Berman
2023-12-15 8:48 ` Nicolas P. Rougier (inria)
2023-12-15 9:14 ` Stephen Berman
2023-12-15 10:41 ` Nicolas P. Rougier (inria)
2023-12-16 16:46 ` Howard Melman
2023-12-15 8:38 ` Joost Kremers
2023-12-15 8:51 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8334w3q25d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=nicolas.rougier@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).