From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremie Juste Newsgroups: gmane.emacs.help Subject: Re: alt to copy-region-as-kill for kill ring Date: Sun, 07 Mar 2021 18:11:26 +0100 Organization: Emacs is it Message-ID: <87mtveq475.fsf@gmail.com> References: <8735x7qr2z.fsf@gmail.com> <87mtvfuwnl.fsf@zoho.eu> <87v9a3p7xu.fsf@gmail.com> <875z23uisl.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 07 18:11:57 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lIwwe-0006z4-TJ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 07 Mar 2021 18:11:56 +0100 Original-Received: from localhost ([::1]:38886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIwwd-0006fU-Vr for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 07 Mar 2021 12:11:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIwwE-0006ek-QP for help-gnu-emacs@gnu.org; Sun, 07 Mar 2021 12:11:30 -0500 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:53087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIwwC-0001pN-MV for help-gnu-emacs@gnu.org; Sun, 07 Mar 2021 12:11:30 -0500 Original-Received: by mail-wm1-x32a.google.com with SMTP id n22so4651402wmc.2 for ; Sun, 07 Mar 2021 09:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:organization:references:date:in-reply-to:message-id :user-agent:mime-version; bh=r+tG2g0orgPqQ1b9WIpIA8wnbZF3UISCKXKzjVo7gh4=; b=Yyu+MpDTxqCgXbP5UVc3pDuJFo2w31pgUNQxBzZhk1BPXxUCqkkqZA/X6acqqjQIUy 3O9EZkiEbFMy1VZdtCPMwW8FdyahuKkyPumZQq+28kl27pJzo5En7Qgum3C9ue9XTokb lZYjeed5HNB5LlsGSwkyzJH+taGvN6R5CrQUBgNZ9iLwgHTOMiMmXZNgTm62ko4pRiPf OJdPkZ+Sto2V1KaYde3JZLiFeqPAKFZkthaRI78rb+qHdo87seJFX6C5rIohQzMbnNGz 4wJFq1U4BG+VyP/jAZzXpSA2jY+XBO2ArHp3knKJtvXPUiP+dlLJs5oZtIombHjFdISt /AMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=r+tG2g0orgPqQ1b9WIpIA8wnbZF3UISCKXKzjVo7gh4=; b=JIQXJNbuvF5FmjqLMRoQRF3nj+p0Jm+vKeuKqkt0PTsRb1v8dEJCsWmTj2O/o7/y4r uXj6CIFetSjBoQIVP4+w88JrrVh2xZnyQ7Qbs1BXHwilbbbGzoMDlB2Ogovx7bXqGEhc 3iIMVlCUkFFWX6tUJ3wr8KgGF3HmK4qCwgmhKwAd/PymM3Zh+sKcgGD+WzPj7VQ/5Mbk r7c2SWuXVbTKVEY/44qXTjBi+5h5APC8PHwzflHWq4zSB0rjZCsQ3q2mnfc6wjcTNFY/ E9x+fRTnd+jVPeGqgiy4jX3RmJhedhrVzw80IFHzarALScW213C5pcKV+fW9Uq9QbJpx Jh7Q== X-Gm-Message-State: AOAM533VIxtFDO3JNkovoJnH9IMER5NKptiKzCSDWUUDWbhDOyg4LLKO Vb69xt2fO2wozPc8zqnCyNNSYQkFiZ8= X-Google-Smtp-Source: ABdhPJyJAE2sYkSMy7QYZg9ajRJFPjx/VBWBfISmh4DcJnrr5uF8ZTQU0RZxAU5REpSY0/DX45Yhwg== X-Received: by 2002:a05:600c:4282:: with SMTP id v2mr17805604wmc.80.1615137087386; Sun, 07 Mar 2021 09:11:27 -0800 (PST) Original-Received: from freegnu (82-64-129-7.subs.proxad.net. [82.64.129.7]) by smtp.gmail.com with ESMTPSA id b15sm14557805wmd.41.2021.03.07.09.11.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 09:11:27 -0800 (PST) In-Reply-To: <875z23uisl.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Sun, 07 Mar 2021 15:42:34 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=jeremiejuste@gmail.com; helo=mail-wm1-x32a.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128361 Archived-At: On Sunday, 7 Mar 2021 at 15:42, Emanuel Berg via Users list for the GNU Emacs text editor wrote: > Jeremie Juste wrote: > >> When I use boomrang just after I killed something, I get the >> same behavior as one would use C-M-w (append-next-kill >> &optional INTERACTIVE). I was look for a way to bypass this >> append-next-kill > > OK, but what would you like to happen? I don't want the function (boomrang) to use the append-next-kill feature at all. But I don't understand what is triggering it. If I call the function (boomrang) just after a kill-word, the word I have just killed is appended to the result returned by boomrang. (To reproduce the boomrang has to be binded to a key). This is why I said that it is similar to the (append-next-kill), when you activate append-next-kill, it only append if the very next function call is a kill. (see the doc of (kill-ring-save BEG END &optional REGION) for more details). Many thanks for your patience. Best regards, Jeremie Juste