>>> "MH" == Michael Heerdegen writes: > Uwe Brauer writes: >> Thanks, that did not occur to me. I tried to advice since a while >> since it makes debugging difficult. > Not much, IME. >> (defadvice copy-to-register (before removeproperties activate) >> "Remove all text properties before setting the property" >> (let ((inhibit-read-only t)) >> (set-text-properties (point-min) (point-max) nil))) > It would be better and cleaner to change the value that is saved in the > register instead of modifying the buffer. Well I tried that, but I couldn't. As I said modify set-register did not work for me. I am not happy about my solution and would appreciate any suggestion. 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.