• Kill/yank and whitespace-mode

    From Ben@ben.usenet@bsb.me.uk to gnu.emacs.help on Thu May 26 14:58:24 2022
    From Newsgroup: gnu.emacs.help

    In some recent revision of Emacs, I started to notice that killed text
    that included spaces was yanked with spaces missing.

    Turned out to associated with whitespace-mode. With the mode off, all
    is well, with it on, yanked text loses the space characters.

    A bit of searching shows that it's related to yank-handled-properties
    whose default value is

    ((font-lock-face . yank-handle-font-lock-face-property)
    (category . yank-handle-category-property))

    Removing the first pair fixes the issue, but I am not happy fiddling
    with variable that presumably have a value for some good reason. I
    found the documentation a little confusing. It's possible that the
    related yank-excludes-properties is a better variable to fiddle with,
    but, as I say, I did not find the documentation very helpful.

    So, questions (at last!)... Have I changed anything that will come back
    to bite me later, and is there a better solution than removing one part
    of the assoc list yank-handled-properties?
    --
    Ben.
    --- Synchronet 3.21d-Linux NewsLink 1.2