GNU bug report logs -
#10222
intangible property and sentence movement
Previous Next
Reported by: Tassilo Horn <tassilo <at> member.fsf.org>
Date: Mon, 5 Dec 2011 12:30:01 UTC
Severity: minor
Tags: moreinfo
Found in version 24.0.92
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>> (overlay-put ol 'invisible t)
>> (overlay-put ol 'intangible t))))
>
> While we probably can and maybe should make your test case work
> better, the use of `intangible' is strongly discouraged,
Then it would be good if the docs stated that.
> specifically because it's pretty much impossible to make all other
> commands work "right" in the presence of intangible properties.
Yes, probably. I've experimented a bit more, and it gets even worse
with line-editing commands like kill-line, especially if the intangible
overlay starts or ends in the middle of a line...
But it seems that there's no sense in making an invisible overlay
intangible, anyway, at least I can't find any difference in behavior
between invisible and invisible + intangible (except that the problem
doesn't appear).
The mode that creates those overlays (iedit-mode) seems to do that in
order to protect the invisible regions, but you can still accidentally
kill an intangible & invisible region as a whole. `read-only' would be
the right property to use here, but it seems it's not supported for
overlays...
Bye,
Tassilo
This bug report was last modified 3 years and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.