all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,  emacs-devel@gnu.org
Subject: Re: master c9a8a47ba4: Add new user option 'yank-transform-functions'
Date: Tue, 24 May 2022 18:07:18 +0200	[thread overview]
Message-ID: <87ee0izzgp.fsf@gmail.com> (raw)
In-Reply-To: <jwvr14jnerg.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 24 May 2022 11:24:26 -0400")

>>>>> 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
-- 



  parent reply	other threads:[~2022-05-24 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165299854484.648.782279094390042574@vcs2.savannah.gnu.org>
     [not found] ` <20220519221545.35270C009A8@vcs2.savannah.gnu.org>
2022-05-24 15:24   ` master c9a8a47ba4: Add new user option 'yank-transform-functions' Stefan Monnier
2022-05-24 16:02     ` Lars Ingebrigtsen
2022-05-24 16:15       ` Stefan Monnier
2022-05-24 16:07     ` Robert Pluim [this message]
2022-05-24 17:13       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee0izzgp.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.