From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: help-echo property disappearing Date: Fri, 15 Dec 2023 09:38:04 +0100 Message-ID: <86h6kjq2pu.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11989"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.7; emacs 29.1 Cc: emacs-devel@gnu.org To: "Nicolas P. Rougier (inria)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 15 09:40:02 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rE3jk-0002rX-Cv for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Dec 2023 09:40:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rE3jP-0008Sx-Pa; Fri, 15 Dec 2023 03:39:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rE3jN-0008So-Px for emacs-devel@gnu.org; Fri, 15 Dec 2023 03:39:37 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rE3jM-00015N-1H for emacs-devel@gnu.org; Fri, 15 Dec 2023 03:39:37 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 15A813200A91; Fri, 15 Dec 2023 03:39:31 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 15 Dec 2023 03:39:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1702629571; x=1702715971; bh=acZB/8Fuea 1GX+YwaKitnnirva+Gm5KbGRXJ7vSeV3U=; b=cmw7z2prg3qrPcv6EA0BGJyAAV 265g4/xkxIkmvvXz9egTaZU3UKJfSShr17mQE4oNOL7S/rSIyTDNWL36TZRsfoeh shErDpK66+m/eUBPNEiIm24Gj2GA6pElw8aqG0bziWXRLSKkogIaN8lRBE7d0gu5 GVaNVU0RXqc9/d9BPlnM0XjzoxDma2FicEkXEjEjIxZ/Q9dVYn2E8E+c7mMnbE2I f2wUH7GrFWSb4ZDUCHkdJP9tNUzY9sjgKqWOJ/1/8v4tef9NqploHVrdtOdq7Ili pVCvAi5F2iCZBDsoe0dluN5MxO7OTwPS+NCNnLUZ0vWRhNFfiX/nCV7c69vg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1702629571; x=1702715971; bh=acZB/8Fuea1GX+YwaKitnnirva+G m5KbGRXJ7vSeV3U=; b=2hkwdsWxg7/o3nwCN0zmbXMtY45Bzp6sfOOUp2hd929Y U8Hopi3kmquJUpZzz3vyywOT7mmle7JWui7wILsD2tUsuVRVDTy0BX3I2Z7iGckZ tqIprnNotouJWb/hlrB0BKSTR9D+sXnSMGIt/vDXSFsY7RnB7tqSIwPIdoY2QvDE DVILZO4ur9Xfezv2EABG8arRR5nTfbxEmu4qL8gmqyuHZVcDVJwdZGQcM54Sa6Ud 1wiT2nLbg0apM0I5WBukPhWZceNa4sQyMCHODq1m+WaUkYLAQwjJRk5EQBmvBE4D mBZwAxaGCeYnNUzR3KZOi9LA3FZOI0OnOXfoz0y9Xg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddtuddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttdertdenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhepgfeihfdutdetleejheevkeejtdffueehfffhffefteei teefhedtkedtiedtkeffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Dec 2023 03:39:30 -0500 (EST) In-reply-to: Received-SPF: pass client-ip=64.147.123.20; envelope-from=joostkremers@fastmail.fm; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313847 Archived-At: On Fri, Dec 15 2023, Nicolas P. Rougier (inria) wrote: > 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). You may want to examine the value of the variable `yank-excluded-properties`. ;-) -- Joost Kremers Life has its moments