From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master c9a8a47ba4: Add new user option 'yank-transform-functions' Date: Tue, 24 May 2022 18:07:18 +0200 Message-ID: <87ee0izzgp.fsf@gmail.com> References: <165299854484.648.782279094390042574@vcs2.savannah.gnu.org> <20220519221545.35270C009A8@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28068"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 24 18:59:00 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntXs3-00070D-Si for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 18:58:59 +0200 Original-Received: from localhost ([::1]:37908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntXs2-0000r8-Rt for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 12:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntX48-0004GZ-4m for emacs-devel@gnu.org; Tue, 24 May 2022 12:07:24 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:53090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntX46-00019N-Ca for emacs-devel@gnu.org; Tue, 24 May 2022 12:07:23 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id p19so2426776wmg.2 for ; Tue, 24 May 2022 09:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=sArDQq1OvJY7zvavYAFyIdlpuVF8beKi2jjtFJIbze0=; b=MVdRjVyDYHI86sWPqvi2Dg3BRR3lfiXJaoT+Ahf4c7aUivakZcALMSoxLsxeSrT1vp OUl6ULwUfY75bIBtKndkfDmvMOFT7uMz6+5zATKm3Sbj+LEzjL6a23mPddUbwGjpn9tS O2wgjmXixm3EKrjifRIs9X0MN5emPC448tnPTw3ftya0pv3TbH1b4fsXqlZo+P6NpPFr kXW0VBlvlrv4pb6obyfb3Jx2VMyhoOtSVP/Me0bdU40x+D5z6ztoTnX/+WeIfGeddrqk yiPSRwIBx885nY73MKCFMOAV0u/RvuCyrVVByEoWB5KhNLTKRB96IqjPNeNnCYnMuo1W 6rrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=sArDQq1OvJY7zvavYAFyIdlpuVF8beKi2jjtFJIbze0=; b=KKG5LRUcWZUED/ea1y827g7LJJcTJcGrdh0v4GU7q1zQmbOoGm0TfRSZRtCCeIkj5p Hy6RdF/ZaRqLRu+RrBP0k0WDSPBcB2QvCCuKI2eqUJ66SZOaa9uGbyzqYYFOup8HGH7L sRD0KkURiT5+r97oYljmQXKXP52Z4SJnZTJG2LVh/hgnOr6vmyI56bHsNypo5XPOI2UR LhM35tdtkMqTx2fSx0m8LgBqAoiFX030eU8qv9vmezNyPbHG45vQBsAws0WEDNj4dlCb jqBoXYYzMkZLgPaowBN7EW2Ty9JuBgsqDSpfRdM2XezwrHzGhBchqUm8NlPYglxlJCBo e//w== X-Gm-Message-State: AOAM530kEi3MkxNif+5Xiw8++ABk3xrxiCyGo9IqG+5W0a2TGM84SUpX TRnK9cala9EJYSsaGKJ+bs4P1O1uWb0= X-Google-Smtp-Source: ABdhPJz60psnBZHAYAmNLkcPavYeVj35JkpGyI5ig57XUlfWjun6n/0k7u7oDyQCUP4bEX7FTAcP0g== X-Received: by 2002:a05:600c:2e53:b0:397:4730:ee7a with SMTP id q19-20020a05600c2e5300b003974730ee7amr4404170wmf.118.1653408440020; Tue, 24 May 2022 09:07:20 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:6a0b:11a1:e4ae:b89e]) by smtp.gmail.com with ESMTPSA id r4-20020adfbb04000000b0020fbf62db96sm14958277wrg.36.2022.05.24.09.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 09:07:19 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Tue, 24 May 2022 11:24:26 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=rpluim@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290203 Archived-At: >>>>> On Tue, 24 May 2022 11:24:26 -0400, Stefan Monnier 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 --