From unknown Sun Jun 15 08:49:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61912: Hyperbole breaks Evil-mode's yank line and delete line operators Resent-From: Markus Nilsson Original-Sender: "Debbugs-submit" Resent-CC: bug-hyperbole@gnu.org Resent-Date: Thu, 02 Mar 2023 10:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61912 X-GNU-PR-Package: hyperbole X-GNU-PR-Keywords: To: 61912@debbugs.gnu.org X-Debbugs-Original-To: bug-hyperbole@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16777537614380 (code B ref -1); Thu, 02 Mar 2023 10:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 10:42:41 +0000 Received: from localhost ([127.0.0.1]:55906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXgOX-00018Z-Ai for submit@debbugs.gnu.org; Thu, 02 Mar 2023 05:42:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:44248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXgOV-00018R-EC for submit@debbugs.gnu.org; Thu, 02 Mar 2023 05:42:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXgOV-0006lE-6M for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 05:42:39 -0500 Received: from mail-vs1-xe42.google.com ([2607:f8b0:4864:20::e42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXgOT-0003Cr-F5 for bug-hyperbole@gnu.org; Thu, 02 Mar 2023 05:42:38 -0500 Received: by mail-vs1-xe42.google.com with SMTP id f31so22045482vsv.1 for ; Thu, 02 Mar 2023 02:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=19VPtdXC++sJrYUrJ7UXib3OPmuSOBScaPOHv5XuGSw=; b=VWtthPE6CYWyRTQCtZKHhfNd0YHbQ7XG4R7oIeJ8i9FN/RcBX0NAunenLkMINphc+W VZBLfsmcfDoNvFIerAh7qbVToUjAZZBODsV8TEgvHvPy+WddXQzlF23TYq2ZyGHjAs51 6olBwRxf6FIH4lZpiT/CHAnwn0rA/YxhCto+uxYzDR0dM/3Ey6xddYAmqJQCvxEJo8j3 GtdANa09zPbeMujQ2fTCsAjlNn33p5cCvDv93W1Hul1J/vzlcpnfpp576kqP58hauPo2 KWwphsmOVQmgZMtgEG+jLbCDJ8Wjg8ouKTWwRrSsCCkCtLIyBAQkMnWdkiZVt1JyyBWo js3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=19VPtdXC++sJrYUrJ7UXib3OPmuSOBScaPOHv5XuGSw=; b=nzRQUANapYQ7PPq+l0foTqhlo5aJNmFwHjHNkat3ONLpEH+Yw8FmQnz7viGEFSNoDW 0SXiu5Md6E5Glit4vjUX3CQzH6R5w4eG3iUSh90DM6WxzMbGM7nzkcVWDkgcw+We7pzF D114C5jAWP3jZek2GIoNNARR5kEBL7X0dRSASp6o5CuJgIMCuNVysY2/BcoqyOB6MSIZ l0iKMmwLi8gcYLLTVI53v86s3U+bL91F9Gw62IGO1lrsA4/Jh2XavNb05I+SMViRfRZ7 +LEIdt1UEPz58IIWZpeiwT1A32BZxcguehLzP6hWaab49t9joG1RdSBiujzMkoZtYhBt wS+g== X-Gm-Message-State: AO0yUKU49r9HGp1S2TRTsu4sU6LBnAEKIgB6MMo3Ccjda1ak+Wq80QuK HtS97xy/7MezUlsNjUlJjsXoRjfx8zatqUWjvKSFrm9PyMt8xSqki8g= X-Google-Smtp-Source: AK7set85xrJ4xlxiOdtgvn81mTgDQzNbk17fEL3IFscPDJbgd+b8T2DnT1KJKVCAG8p//L5feXJ33Al3ON/MoVqpSxM= X-Received: by 2002:a05:6102:10c5:b0:412:6a3:2276 with SMTP id t5-20020a05610210c500b0041206a32276mr6376001vsr.4.1677753755353; Thu, 02 Mar 2023 02:42:35 -0800 (PST) MIME-Version: 1.0 From: Markus Nilsson Date: Thu, 2 Mar 2023 10:42:24 +0000 Message-ID: Content-Type: multipart/alternative; boundary="0000000000009bc75605f5e87c7b" Received-SPF: pass client-ip=2607:f8b0:4864:20::e42; envelope-from=markusnilsson890@gmail.com; helo=mail-vs1-xe42.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --0000000000009bc75605f5e87c7b Content-Type: text/plain; charset="UTF-8" Editor: GNU Emacs 28.2 Hyperbole: 8.0.0 Sys Type: x86_64-pc-linux-gnu OS Type: gnu/linux Expected behaviour: When using Hyperbole, yanking a line (using evil-mode's "y y" keypress) and then pasting (using "p") that line will paste with one newline at the end. Same with deleting a line (using the "d d" keypress) and pasting. Actual behaviour: When using Hyperbole, yanking and then pasting a line or deleting a line and then pasting will cause the pasted line to have an extra newline at the end. Steps to reproduce: I've uploaded a short video (3:41) to make it easier to reproduce and see the bug in action: https://youtu.be/7JmTPAPj7dk 1) Have a fresh install of emacs 28.2 with nothing in the ~/.emacs.d directory 2) Install evil mode 3) With evil mode installed test the yank line operator (yy) and then paste the yanked line. The line should be pasted with one newline. 4) Test the delete line operator (dd) and then paste. The line should be pasted with one newline. 5) Install GNU Hyperbole 6) With hyperbole mode installed test the yank line operator (yy) and then paste the yanked line. The pasted line has an extra newline attached 7) Test the delete line operator (dd) and then paste. Again there is an extra newline at the end --0000000000009bc75605f5e87c7b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Editor: GNU Emacs 28.2
Hyperbole= : 8.0.0
Sys Type: x86_64-pc-linux-gnu
OS Type: gnu/linux
=

Expected behaviour:
When using Hyperbole, yan= king a line (using evil-mode's "y y" keypress) and then pasti= ng (using "p") that line will paste with one newline at the end. = Same with deleting a line (using the=C2=A0 "d d" keypress) and pa= sting.

Actual behaviour:
When using Hype= rbole, yanking and then pasting a line or deleting a line and then pasting = will cause the pasted line to have an extra newline at the end.
<= br>
Steps to reproduce:
I've uploaded a short video= (3:41) to make it easier to reproduce and see the bug in action: https://youtu.be/7JmTPAPj7dk

1) Have a fresh install of emacs 28.2 with nothing in the ~/.emacs.d= directory
2) Install evil mode
3) With evil mode installed test the = yank line operator (yy) and then paste the yanked line. The line should be = pasted with one newline.
4) Test the delete line operator (dd) and then = paste. The line should be pasted with one newline.
5) Install GNU Hyperb= ole
6) With hyperbole mode installed test the yank line operator (yy) an= d then paste the yanked line. The pasted line has an extra newline attached=
7) Test the delete line operator (dd) and then paste. Again there is an= extra newline at the end
--0000000000009bc75605f5e87c7b-- From unknown Sun Jun 15 08:49:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61912: Hyperbole breaks Evil-mode's yank line and delete line operators Resent-From: Bob Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-hyperbole@gnu.org Resent-Date: Thu, 02 Mar 2023 22:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61912 X-GNU-PR-Package: hyperbole X-GNU-PR-Keywords: To: Markus Nilsson Cc: 61912@debbugs.gnu.org Received: via spool by 61912-submit@debbugs.gnu.org id=B61912.167779708317133 (code B ref 61912); Thu, 02 Mar 2023 22:45:02 +0000 Received: (at 61912) by debbugs.gnu.org; 2 Mar 2023 22:44:43 +0000 Received: from localhost ([127.0.0.1]:58592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXrfG-0004SG-L7 for submit@debbugs.gnu.org; Thu, 02 Mar 2023 17:44:42 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:43848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXrfD-0004Rj-HN for 61912@debbugs.gnu.org; Thu, 02 Mar 2023 17:44:40 -0500 Received: by mail-qt1-f169.google.com with SMTP id cf14so1002016qtb.10 for <61912@debbugs.gnu.org>; Thu, 02 Mar 2023 14:44:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677797074; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=T/E8UK65hISsIvWA7hjYxKT7XVvAoyP2QxZNXp6BTKQ=; b=EHDZLn5zGSxPv58U6RcpOa0YFm0DpnpLdnW5gUUI4zIgGqf+fn9pCcXIqwJ1xKk+9h WfAExh+8ei7dY14yQomTMQZFzbAAsDs16FnPGp9vUUyTWjbZcOgkyZF8umvkjzBdJlA9 bjgQFWDp0BlCyqS0Cbg5ca4nLSTOXj1Rg9/vUCthvKVNIiDkp4PS6W+6CvgHA8ZLZYqV Pw9SqJkecE97h3EPP7qUZ4liMiFlm/liJnXBiKfFncDxAw/3lHEtY4Zix/uN5w/6SxNU vE+RtZpXfnz0bcjG8lbVwCGVskaN8fAQBjKCR9DJqxtsTU2+q8TOdtmuUpeWQAJOoTHT cagw== X-Gm-Message-State: AO0yUKVs9ouynjNpXUDkXUcQU8h+IIJJ8iQVu9qf2shjAvzH5asfOldI RCX8PtrIEtP5fAJLBxDfQzzt7veFfiI= X-Google-Smtp-Source: AK7set9WL0xIGf3XsHMYAmRmBxIM9ZeK45hkOzD3VQ0c3Eexht80JSlBnY1EtWrWZl1E9JGw4eiDVQ== X-Received: by 2002:a05:622a:40c:b0:3bf:c93d:4a73 with SMTP id n12-20020a05622a040c00b003bfc93d4a73mr25180470qtx.1.1677797073946; Thu, 02 Mar 2023 14:44:33 -0800 (PST) Received: from water-imac-3.lan.gnu.org (ool-2f1480e0.dyn.optonline.net. [47.20.128.224]) by smtp.gmail.com with ESMTPSA id f5-20020ac81345000000b003b9b41a32b7sm537159qtj.81.2023.03.02.14.44.33 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Mar 2023 14:44:33 -0800 (PST) From: Bob Weiner References: Date: Thu, 02 Mar 2023 17:44:33 -0500 In-Reply-To: (Markus Nilsson's message of "Thu, 2 Mar 2023 10:42:24 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Markus: Thanks for reporting this. We'll have a look and then circle back. -- rsw Markus Nilsson writes: Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rswgnu[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.169 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.169 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 GB_FAKE_RF_SHORT Fake reply or forward with url shortener X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Markus: Thanks for reporting this. We'll have a look and then circle back. -- rsw Markus Nilsson writes: Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.169 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.169 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rswgnu[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 GB_FAKE_RF_SHORT Fake reply or forward with url shortener Hi Markus: Thanks for reporting this. We'll have a look and then circle back. -- rsw Markus Nilsson writes: > Editor: GNU Emacs 28.2 > Hyperbole: 8.0.0 > Sys Type: x86_64-pc-linux-gnu > OS Type: gnu/linux > > Expected behaviour: > When using Hyperbole, yanking a line (using evil-mode's "y y" keypress) and then pasting (using "p") that line will paste with one newline at the end. Same with deleting a line (using the "d d" keypress) and pasting. > > Actual behaviour: > When using Hyperbole, yanking and then pasting a line or deleting a line and then pasting will cause the pasted line to have an extra newline at the end. > > Steps to reproduce: > I've uploaded a short video (3:41) to make it easier to reproduce and see the bug in action: https://youtu.be/7JmTPAPj7dk > > 1) Have a fresh install of emacs 28.2 with nothing in the ~/.emacs.d directory > 2) Install evil mode > 3) With evil mode installed test the yank line operator (yy) and then paste the yanked line. The line should be pasted with one newline. > 4) Test the delete line operator (dd) and then paste. The line should be pasted with one newline. > 5) Install GNU Hyperbole > 6) With hyperbole mode installed test the yank line operator (yy) and then paste the yanked line. The pasted line has an extra newline attached > 7) Test the delete line operator (dd) and then paste. Again there is an extra newline at the end