bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#35718: 26.2; Functions in yank-handled-properties ALWAYS get called


From: Lars Ingebrigtsen
Subject: bug#35718: 26.2; Functions in yank-handled-properties ALWAYS get called
Date: Tue, 22 Jun 2021 16:25:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Noam Postavsky <npostavs@gmail.com> writes:

> I think the question is more about whether we distinguish between an
> absent property, and a property whose value is nil
> (remove-yank-excluded-properties currently does not, which is what I
> think this bug report is complaining about).  The manual doesn't say
> either way, but text-property-any (and other property checking
> functions) seem to treat them the same as well:
>
> (text-property-any 0 2 'xxx nil (propertize "foo" 'xxx nil)) ;=> 0
> (text-property-any 0 2 'xxx nil (propertize "foo" 'xxx t)) ;=> nil
> (text-property-any 0 2 'xxx nil "foo") ;=> 0

I think that we don't (in general) care about the difference of a nil
property and a missing property, so if I understand the snippet
correctly, this is basically working as intended, so I'm closing this
bug report.

If I misunderstood, please respond to the debbugs address and we'll
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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