[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master c9a8a47ba4: Add new user option 'yank-transform-functions'
From: |
Robert Pluim |
Subject: |
Re: master c9a8a47ba4: Add new user option 'yank-transform-functions' |
Date: |
Tue, 24 May 2022 18:07:18 +0200 |
>>>>> On Tue, 24 May 2022 11:24:26 -0400, Stefan Monnier
>>>>> <monnier@iro.umontreal.ca> said:
Stefan> Lars Ingebrigtsen [2022-05-19 18:15:45] wrote:
>> * lisp/simple.el (yank-transform-functions): New user option.
>> (yank): Mention it.
Stefan> Hmm... why is this a user option?
Stefan> [ Also, tho less importantly: Why is it a list of functions instead
of
Stefan> being symmetric with Emacs-28's `kill-transform-function`? ]
Presumably because that makes it easier for users to modify.
Stefan> Are users expected to be able to make use of this with Custom? How?
I was expecting a set of pre-defined functions along the lines of
- 'yank-remove-whitespace
- 'yank-remove-non-ascii
- 'yank-replace-nbsp-and-similar
etc.
Robert
--