[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SOLVED]
From: |
Uwe Brauer |
Subject: |
Re: [SOLVED] |
Date: |
Mon, 25 Jul 2022 21:49:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "SMvUlftGEte" == Stefan Monnier via Users list for the GNU Emacs text
>>> editor <help-gnu-emacs@gnu.org> writes:
>> It seems you suggest
>>
>> (defadvice copy-to-register (before removeproperties activate)
>> "Remove all text properties before setting the property"
>> (let ((inhibit-read-only t))
>> (set-text-properties (region-beginning) (region-end) nil)))
> No, that still modifies the buffer. He suggests you apply
> `set-text-properties` to the extracted string.
Well I tried
(defadvice set-property (before removeproperties activate)
"Remove all text properties before setting the property"
(let ((inhibit-read-only t))
(set-text-properties (region-beginning) (region-end) nil)))
But it did not work
Uwe
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
smime.p7s
Description: S/MIME cryptographic signature
- problems with better-registers: turn-off-all-minor modes or remove all text-properties, Uwe Brauer, 2022/07/23
- Re: problems with better-registers: turn-off-all-minor modes or remove all text-properties, Thorsten Bonow, 2022/07/23
- Re: problems with better-registers: turn-off-all-minor modes or remove all text-properties, Michael Heerdegen, 2022/07/23
- Re: problems with better-registers: turn-off-all-minor modes or remove all text-properties, Michael Heerdegen, 2022/07/24
- Re: problems with better-registers: turn-off-all-minor modes or remove all text-properties, Uwe Brauer, 2022/07/24
- [SOLVED] (was: problems with better-registers: turn-off-all-minor modes or remove all text-properties), Uwe Brauer, 2022/07/24
- Re: [SOLVED], Michael Heerdegen, 2022/07/24
- Re: [SOLVED], Uwe Brauer, 2022/07/25
- Re: [SOLVED], Uwe Brauer, 2022/07/25
- Re: [SOLVED], Stefan Monnier, 2022/07/25
- Re: [SOLVED],
Uwe Brauer <=
- Re: [SOLVED], Michael Heerdegen, 2022/07/25
- Re: [SOLVED], Uwe Brauer, 2022/07/26
- Re: [SOLVED], Thorsten Bonow, 2022/07/26
- Re: [SOLVED], Uwe Brauer, 2022/07/26
- Re: [SOLVED], Yuri Khan, 2022/07/26
- Re: [SOLVED], Michael Heerdegen, 2022/07/26
- Re: [SOLVED], Uwe Brauer, 2022/07/27
- Re: [SOLVED], Yuri Khan, 2022/07/27
- Re: [SOLVED$, Uwe Brauer, 2022/07/28