From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jun 2021 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 49194@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16244704852775 (code B ref -1); Wed, 23 Jun 2021 17:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 17:48:05 +0000 Received: from localhost ([127.0.0.1]:41837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw6yq-0000ih-PA for submit@debbugs.gnu.org; Wed, 23 Jun 2021 13:48:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:38894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lw6yn-0000iF-Ne for submit@debbugs.gnu.org; Wed, 23 Jun 2021 13:48:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw6yn-0003tJ-Fd for bug-gnu-emacs@gnu.org; Wed, 23 Jun 2021 13:48:01 -0400 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:63850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw6yl-0002uI-2G for bug-gnu-emacs@gnu.org; Wed, 23 Jun 2021 13:48:01 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B1D82701ED5 for ; Wed, 23 Jun 2021 17:47:52 +0000 (UTC) Received: from pdx1-sub0-mail-a17.g.dreamhost.com (100-96-16-83.trex.outbound.svc.cluster.local [100.96.16.83]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4B390701A9C for ; Wed, 23 Jun 2021 17:47:52 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a17.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.83 (trex/6.3.3); Wed, 23 Jun 2021 17:47:52 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Arch-Trail: 5f400a1868f1e292_1624470472518_513074436 X-MC-Loop-Signature: 1624470472518:3715333241 X-MC-Ingress-Time: 1624470472518 Received: from pdx1-sub0-mail-a17.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a17.g.dreamhost.com (Postfix) with ESMTP id 0440F8342E for ; Wed, 23 Jun 2021 10:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=uM5X0ia/HWn/Xtl4v4 lg7MHaOvs=; b=RvCgZQEvx2/VMIrO+qAFzpnBPMfxOttBiuWaSVbIv/PmMRsX+h 50eUtJvdv7F/BJEtgCsOsesXjnJzoL5wm/SDYyxO7lZuFB9SMrvuS6F3XqQsvZZ+ ZWnlURgfnrsLsAQEru9omhvnkHc8BQZq16EXLO9s+fV7/lshs3lC3veZA= Received: from jidanni.org (220-140-1-205.dynamic-ip.hinet.net [220.140.1.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a17.g.dreamhost.com (Postfix) with ESMTPSA id 8E4AE83488 for ; Wed, 23 Jun 2021 10:47:51 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a17 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Wed, 23 Jun 2021 23:34:29 +0800 Message-ID: <87tuloegsa.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=23.83.209.151; envelope-from=jidanni@jidanni.org; helo=quail.birch.relay.mailchannels.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) The kill-whole-line variable is great, but not great enough. (info "(emacs) Killing by Lines") says: If the variable =E2=80=98kill-whole-line=E2=80=99 is non-=E2=80=98ni= l=E2=80=99, =E2=80=98C-k=E2=80=99 at the very beginning of a line kills the entire line including the following newline. This variable is normally =E2=80=98nil=E2=80=99. So setting it to non-nil allows us to get newlines, 99% of the time. I hereby propose an additional value, call it one of: 'always 'no-matter-what 'plus-newline-even-at-eof 'plus-newline-even-if-none-in-reality > See (info "(emacs) Customize Save") for require-final-newline. Bye. Wait! Who says I even want the file to end in a newline? I just want kill-whole-line to have a setting to consistently get a newline at the end, and not 99% of the time. > Then add a newline there yourself and remove it when you are finished. = Bye. Wait! The file might even be a readonly file owned by someone else. I can't just "add one there myself." > Well then copy the file first. Bye. Seems like overkill, just to kill (copy) one line. Anyway 'plus-newline-even-if-none-in-reality etc., being non-nil, would also be 99% backwards compatible too! From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162455112432265 (code B ref 49194); Thu, 24 Jun 2021 16:13:01 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 16:12:04 +0000 Received: from localhost ([127.0.0.1]:43905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwRxU-0008OK-2y for submit@debbugs.gnu.org; Thu, 24 Jun 2021 12:12:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwRxS-0008Nn-4X for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 12:12:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jLEygqP9H8NUpHpXv2gr4BFaJRb5UDNOnldWiPGDRSk=; b=WieQhT+R/3OLse6XAEVks8LhQJ +S/whIxEv6JklJy+olNEbVoXXfrwKXE+eeqdrEJx6zs3gyNg1ARKLdT6y4Dt/7E5kVx6elhKEeYcl /CM2RzAfRI9vGLyzZOIkzh5waOm+Hj/FLLkwM381EbyV3z9I1rLn/1Hvj/7t4HpHk/pQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwRxJ-0002AT-MJ; Thu, 24 Jun 2021 18:11:56 +0200 From: Lars Ingebrigtsen References: <87tuloegsa.5.fsf@jidanni.org> X-Now-Playing: Arthur Russell's _The Fruit of the Original Sin_: "Sketch for 'Face of Helen'" Date: Thu, 24 Jun 2021 18:11:53 +0200 In-Reply-To: <87tuloegsa.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Wed, 23 Jun 2021 23:34:29 +0800") Message-ID: <87lf6zi6nq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > I hereby propose an additional value, call it one of: > > 'always > 'no-matter-what > 'plus-newline-even-at-eof > 'plus-newline-even-if-none-in-reality > >> See (info "(emacs) Customize Save") for r [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > I hereby propose an additional value, call it one of: > > 'always > 'no-matter-what > 'plus-newline-even-at-eof > 'plus-newline-even-if-none-in-reality > >> See (info "(emacs) Customize Save") for require-final-newline. Bye. > > Wait! Who says I even want the file to end in a newline? I just want > kill-whole-line to have a setting to consistently get a newline at the > end, and not 99% of the time. > >> Then add a newline there yourself and remove it when you are finished. B= ye. > > Wait! The file might even be a readonly file owned by someone else. I > can't just "add one there myself." > >> Well then copy the file first. Bye. > > Seems like overkill, just to kill (copy) one line. > > Anyway 'plus-newline-even-if-none-in-reality etc., being non-nil, would > also be 99% backwards compatible too! I'm not quite sure what this essay is trying to express -- are you asking for a new setting for `kill-whole-line' that deletes the preceding newline if you call `C-k' at the start of the final line in a buffer, and that final line doesn't have a newline at the end? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 12:12:10 2021 Received: (at control) by debbugs.gnu.org; 24 Jun 2021 16:12:10 +0000 Received: from localhost ([127.0.0.1]:43908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwRxa-0008Oe-B4 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 12:12:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwRxY-0008OI-BM for control@debbugs.gnu.org; Thu, 24 Jun 2021 12:12:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OJHepM0+EYNppQsnFfq1vH/8AE1c0GrDcnBjRdLkB/Y=; b=LsB5ERfvRGEEy1GtgDZsB+gURT QPUcmGl1+9QMnjVmzpw5sNpFaCIKCpH6BXBCa60pv6ktD4n5olzadW0Lx3KE/ULY0Z4EQVPjB0bUL 6I0zk5Oq8pSx7wVul//Uy/tZcGIBd5uxAYnV3Q8kURey17HEvdPoVfnM7xTHGeX+tGjk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwRxQ-0002Ab-VT for control@debbugs.gnu.org; Thu, 24 Jun 2021 18:12:02 +0200 Date: Thu, 24 Jun 2021 18:12:00 +0200 Message-Id: <87k0mji6nj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49194 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 49194 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 49194 + moreinfo quit From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality In-Reply-To: <87tuloegsa.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162455757421995 (code B ref 49194); Thu, 24 Jun 2021 18:00:02 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 17:59:34 +0000 Received: from localhost ([127.0.0.1]:44063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwTdW-0005ig-Le for submit@debbugs.gnu.org; Thu, 24 Jun 2021 13:59:34 -0400 Received: from bonobo.dogwood.relay.mailchannels.net ([23.83.211.22]:7210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwTdR-0005iT-3P for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 13:59:33 -0400 Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3467312272D; Thu, 24 Jun 2021 17:59:26 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-133-115.trex.outbound.svc.cluster.local [100.96.133.115]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DF5A812195E; Thu, 24 Jun 2021 17:59:10 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.115 (trex/6.3.3); Thu, 24 Jun 2021 17:59:26 +0000 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id A6F42A2165; Thu, 24 Jun 2021 17:59:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=+VFS/5YZw1UBQ0qNhFtQiYku4A0=; b=P2ocidWE9hG23 WGfz/KS/zas+ENmIth9tkvvIH5KOQd1EHx74CjArqPBbAlXEd7UbRHfTxWCL6QZy wXupGtXJcfOZxreFlj1gSXAQbG/g32txqS7AyJcNT596X/PF/qszlPv7VaSYOUFw Vo12RTw/2xBlGDdGkAS9XYvv0Y+DhQ= Received: from jidanni.org (114-41-3-170.dynamic-ip.hinet.net [114.41.3.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 0CB327E37F; Thu, 24 Jun 2021 17:59:05 +0000 (UTC) X-DH-BACKEND: pdx1-sub0-mail-a60 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> Date: Fri, 25 Jun 2021 01:59:02 +0800 Message-ID: <87sg17p2jd.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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.0 (-) >>>>> "LI" == Lars Ingebrigtsen writes: LI> I'm not quite sure what this essay is trying to express -- are you LI> asking for a new setting for `kill-whole-line' that deletes the preceding LI> newline if you call `C-k' at the start of the final line in a buffer, LI> and that final line doesn't have a newline at the end? No. I'm just saying that a bonus newline should be added to what gets copied (so later, upon C-y, it is present.) From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162455919524891 (code B ref 49194); Thu, 24 Jun 2021 18:27:02 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 18:26:35 +0000 Received: from localhost ([127.0.0.1]:44093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwU3f-0006TO-5R for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:26:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwU3c-0006T9-JB for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 14:26:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VwwdWMwTszyQJlMgfgd8CCUzXlZ32OpZZnQ3qRVH9z4=; b=nlapknMkrZScOsnNq3GyNL0LMK owaqnFkiAScQP1AjxoSfvF8mtO76JeyGGg5vtXCw6vLZR6rAVIQpphteDrhMmEUXOs2L3A79nwmo8 6msKIg1hUJluCkPtvJmAtAgJW6/mziLiBMDhKZ3DbIVJsnHM3bldCahnoTIAKKs0Xe8s=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwU3U-0003bh-Ez; Thu, 24 Jun 2021 20:26:26 +0200 From: Lars Ingebrigtsen References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX38d7Uy6mmoZXE uqCJg3n99axtaWT///95LnurAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UGGBIZHu4dSSQAAAGqSURB VDjLdZTBcuMgDIa9yWzPFdR7riXCeTHrnBtCfceue1/X6/d/hBVxExPb0QUN3/wI/WjIsoch9gZO m0BJSVv7ZK2R0hheOCEjY8JAdmmE/LK0K9A+AuW3cAWw21aE4gFoHwFxaL6uYH9Xu1JP71sKrPD4 bwMEzHfj+8Z1W+yeRUxgqbBw4kUKswCWzj87MKWR9yBQ4QnY3GVxgaVg62FV3HKAyVe3amxZorm5 O3feEBpbbdgu0cTz1yZSCaKaH0pc919qsjLfeEGnejLdfNS1eOPU2HcJEGEq+Om8O6cAOYjZ0Q14 uJnzDRCLzqdgUigXRYP3Kk+BmyRY14PrtsCf0Z+6+1tJjMep0TtKi+/iDDDBY+9qntCQgAvpcdRY e85snnQu0KF23o849TVb8oGoh957V8iS20oA305rP0x2JYqG21ReOwoLdxulSuzV72y/r+4VHgNq PGfZr4FfeQatJx7dXlU/FiBcDPH6IHQ/HbUzEmLUXwHgA4tm/AsQP4AXkhZ4LnkGLQAWnABcpp09 IJ5AJJLG4uvtLwFjZPxLwMiyIPV23f8PN+77+ilAzYQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEt MDYtMjRUMTg6MjU6MzArMDA6MDBxo5IcAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA2LTI0VDE4 OjI1OjMwKzAwOjAwAP4qoAAAAABJRU5ErkJggg== X-Now-Playing: Soft Cell's _Tainted Love_: "Tainted Love" Date: Thu, 24 Jun 2021 20:26:23 +0200 In-Reply-To: <87sg17p2jd.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Fri, 25 Jun 2021 01:59:02 +0800") Message-ID: <87mtrff7ao.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > No. I'm just saying that a bonus newline should be added to what gets > copied (so later, upon C-y, it is present.) I think that sounds like really surprising behaviour, but I guess if it's hidden behind a new `kill-whole-line' value, I guess I don't have any objections to adding it. Any other opinions? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > No. I'm just saying that a bonus newline should be added to what gets > copied (so later, upon C-y, it is present.) I think that sounds like really surprising behaviour, but I guess if it's hidden behind a new `kill-whole-line' value, I guess I don't have any objections to adding it. Any other opinions? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality In-Reply-To: <87tuloegsa.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.16245601542657 (code B ref 49194); Thu, 24 Jun 2021 18:43:01 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 18:42:34 +0000 Received: from localhost ([127.0.0.1]:44131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUJ8-0000gl-2g for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:42:34 -0400 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:42188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUJ5-0000gb-IW for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 14:42:33 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4411E40296E; Thu, 24 Jun 2021 18:42:29 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-133-115.trex.outbound.svc.cluster.local [100.96.133.115]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C1CC5402B2F; Thu, 24 Jun 2021 18:42:28 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a60.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.115 (trex/6.3.3); Thu, 24 Jun 2021 18:42:29 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Duck-Lyrical: 5434dcc35fe97906_1624560149065_1676976938 X-MC-Loop-Signature: 1624560149065:2822489330 X-MC-Ingress-Time: 1624560149065 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 136BDA2179; Thu, 24 Jun 2021 18:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=IM5DQBgFWqerE9Mk6hE1C0k9Fac=; b=ZnuTK0r0YBonH HrBlvRG+Vzflv7p7+PBLchCK5foOlmdI4q+SZdgMFl/fM2WlCeJtwLiSfABlCBCk n2FYXPUM06rUM+leVuWbbDq16v35nPk8PhF/HN3qhJ1jgBP7psZzKMwALwR6pjGP +AkOeAh2Ng1rtWtyKG6WKpaMvZmTWk= Received: from jidanni.org (114-41-3-170.dynamic-ip.hinet.net [114.41.3.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 92044A2165; Thu, 24 Jun 2021 18:42:24 +0000 (UTC) X-DH-BACKEND: pdx1-sub0-mail-a60 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> Date: Fri, 25 Jun 2021 02:42:20 +0800 Message-ID: <87czsbp0j7.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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.0 (-) >>>>> "LI" == Lars Ingebrigtsen writes: LI> I think that sounds like really surprising behaviour, but I guess if ^(more surprising is the lack of newlines on certain C-y's later.) From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 49194@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.16245601952746 (code B ref 49194); Thu, 24 Jun 2021 18:44:01 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 18:43:15 +0000 Received: from localhost ([127.0.0.1]:44135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUJn-0000iE-D7 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:43:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUJl-0000hz-I6 for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 14:43:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53156) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwUJg-0007C2-5l; Thu, 24 Jun 2021 14:43:08 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1203 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwUJf-0003NO-Ut; Thu, 24 Jun 2021 14:43:08 -0400 Date: Thu, 24 Jun 2021 21:42:56 +0300 Message-Id: <83v963rtn3.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87mtrff7ao.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 24 Jun 2021 20:26:23 +0200) References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lars Ingebrigtsen > Date: Thu, 24 Jun 2021 20:26:23 +0200 > Cc: 49194@debbugs.gnu.org > > 積丹尼 Dan Jacobson writes: > > > No. I'm just saying that a bonus newline should be added to what gets > > copied (so later, upon C-y, it is present.) > > I think that sounds like really surprising behaviour, but I guess if > it's hidden behind a new `kill-whole-line' value, I guess I don't have > any objections to adding it. Any other opinions? AFAIU, what the OP wants already happens: the newline is saved in kill-ring together with the line, and is yanked back with C-y. So I don't think I understand the request. From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii Cc: 49194@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.16245604093179 (code B ref 49194); Thu, 24 Jun 2021 18:47:02 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 18:46:49 +0000 Received: from localhost ([127.0.0.1]:44139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUNE-0000pD-Uc for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:46:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUND-0000ox-3l for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 14:46:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aIF1COOLG1ZKKKfqTHPZLFySuy7tEuS5H/jF6lLj7VE=; b=g6lENNAOSAXaPWcmo2io9gaMI/ Mb2HU3sBLUaw3lQAwx48S9VGMf8natz2sXFSHEQYKEJzqt7uE+zFuEo96ja4t/LFXQGZz/cvs0zsz 7ZyHDbSZ8JN24VrqfkKztkU/6pIqMi823DlhX/Pfs4tR+5Ia1c5UHtwYpksBvPhPG6no=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwUN4-0003ta-CR; Thu, 24 Jun 2021 20:46:40 +0200 From: Lars Ingebrigtsen References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXRwqT69d6ogltd RjAgFA7///+u9mQ5AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UGGBItLern28UAAAG1SURBVDjLdZOB keMwCEWRsgUoqsBGLsArVEAmov+a7gN2Npn4yIyd4Rk+IETpfmmJrkEhWq8j7ogA9X/xis9ha83M mcpaeaGAeagqJfg7cwVwQygHQOCCR8pEeNK9NPPrt0Zxv16Um+Ge/A2KAOzpo0TTo2IB/R2UF5gL JL8kqmpPB7Cv7UemWHViTJlilIYoecV1dqvsItVMVjHATQQZShZmq72s5hGATXUt99xQZjSVW28B Zsf34wTNpjoiQoitXwd1iui8oUAAXe+F/wCLcETobxyPA3ilDVRv4PEGkHkOJdkNzGIi4uUKtyeq kv3HZamJ94NUjXUMAzhjgXo7gI5pJ6j7tqPpBZ0EOE/BNNDcE/2K2gKcC8eLiQOQp7L9CQANtApf lJsPQEe5aDFrgKqxPvoI8Kgy5B20NcCsQ6enojD2kaAupLIzfYkP73xtulsAQBE3H4nI8qOPocux Pq4h+631jib6kOlNx3WwiDYlbb0j/v2qDe8jbU8Z5zIEiD7S9nuTzh8gIgbOptM3WFTHsXCfqXx5 5ofGOUQ99+oEsSVXgDK/7A+UY5QpvS5c3KD/2z8/UYVxzpVNRQAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMS0wNi0yNFQxODo0NTo0NSswMDowMMHrfuEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDYt MjRUMTg6NDU6NDUrMDA6MDCwtsZdAAAAAElFTkSuQmCC X-Now-Playing: Simple Minds's _Sons and Fascination_: "In Trance as Mission" Date: Thu, 24 Jun 2021 20:46:37 +0200 In-Reply-To: <83v963rtn3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Jun 2021 21:42:56 +0300") Message-ID: <87im23f6cy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > AFAIU, what the OP wants already happens: the newline is saved in > kill-ring together with the line, and is yanked back with C-y. So I > don't think I understand the request. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Eli Zaretskii writes: > AFAIU, what the OP wants already happens: the newline is saved in > kill-ring together with the line, and is yanked back with C-y. So I > don't think I understand the request. He wants to kill the final line in a buffer (that might not have a newline character at the end), but end up with a string in the kill ring that does have a newline at the end. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 49194@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.16245607253816 (code B ref 49194); Thu, 24 Jun 2021 18:53:01 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 18:52:05 +0000 Received: from localhost ([127.0.0.1]:44149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUSK-0000zT-RY for submit@debbugs.gnu.org; Thu, 24 Jun 2021 14:52:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwUSI-0000yJ-9f for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 14:52:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53346) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwUSB-00040g-BC; Thu, 24 Jun 2021 14:51:56 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1740 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwUSA-0004Aj-UW; Thu, 24 Jun 2021 14:51:55 -0400 Date: Thu, 24 Jun 2021 21:51:42 +0300 Message-Id: <83tulnrt8h.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87im23f6cy.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 24 Jun 2021 20:46:37 +0200) References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: jidanni@jidanni.org, 49194@debbugs.gnu.org > Date: Thu, 24 Jun 2021 20:46:37 +0200 > > Eli Zaretskii writes: > > > AFAIU, what the OP wants already happens: the newline is saved in > > kill-ring together with the line, and is yanked back with C-y. So I > > don't think I understand the request. > > He wants to kill the final line in a buffer (that might not have a > newline character at the end), but end up with a string in the kill ring > that does have a newline at the end. That makes no sense to me: the command kills a line of buffer text, it doesn't (and shouldn't) invent characters out of thin air. When there _is_ a newline at EOL, setting kill-whole-line will cause C-k to kill that newline as well; but if there's no newline there, why should this particular command with that option invent such a newline and save it in kill-ring? From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality In-Reply-To: <87tuloegsa.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii Cc: Lars Ingebrigtsen , 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162456607013227 (code B ref 49194); Thu, 24 Jun 2021 20:22:02 +0000 Received: (at 49194) by debbugs.gnu.org; 24 Jun 2021 20:21:10 +0000 Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwVqX-0003RG-9f for submit@debbugs.gnu.org; Thu, 24 Jun 2021 16:21:10 -0400 Received: from antelope.elm.relay.mailchannels.net ([23.83.212.4]:46000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwVqT-0003R5-0r for 49194@debbugs.gnu.org; Thu, 24 Jun 2021 16:21:08 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 80E11781A4D; Thu, 24 Jun 2021 20:21:03 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-16-83.trex-nlb.outbound.svc.cluster.local [100.96.16.83]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A168C781A25; Thu, 24 Jun 2021 20:21:02 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a60.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.83 (trex/6.3.3); Thu, 24 Jun 2021 20:21:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Interest-Abaft: 7f8a21112a3eb72f_1624566063343_2684779151 X-MC-Loop-Signature: 1624566063343:1038480603 X-MC-Ingress-Time: 1624566063342 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 90808A2177; Thu, 24 Jun 2021 20:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=uM5QbXO2hGl2Rszye5uaMHwPN4k=; b=M7MQMBw3B0oVz X6RXApQ0iZuJvbIzLyTW/OIAzRfBKJRjiFEbPzn6Iv6/eezW/osmVTQKCtgN/sTD tHPAuMb7Kiik4AK9b4zVD3HXzXlu2xUxTyh9fqcM+rWIZ0/j28lV1agAkRQVD6Wc YrShCZVNcfTCUmlTsDiu45NQzeNkuM= Received: from jidanni.org (114-41-3-170.dynamic-ip.hinet.net [114.41.3.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 3D0C5A2141; Thu, 24 Jun 2021 20:20:56 +0000 (UTC) X-DH-BACKEND: pdx1-sub0-mail-a60 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> <83tulnrt8h.fsf@gnu.org> Date: Fri, 25 Jun 2021 04:20:50 +0800 Message-ID: <874kdnnhel.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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.0 (-) >>>>> "EZ" == Eli Zaretskii writes: EZ> That makes no sense to me: the command kills a line of buffer text, it EZ> doesn't (and shouldn't) invent characters out of thin air. When there EZ> _is_ a newline at EOL, setting kill-whole-line will cause C-k to kill EZ> that newline as well; but if there's no newline there, why should this EZ> particular command with that option invent such a newline and save it EZ> in kill-ring? 1. There may not be a newline yet, but there will be upon sending the message, or saving the file, depending on other settings. 2. That allows consistent yanking later. C-k ... C-y now will always have a newline. Else even though C-k appears to behave the same at the end of file, C-y depends different later. Anyway, just try making a bunch of lines like this: ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ at the end of your reply, without extra fuss when copying the first! From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2021 06:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: larsi@gnus.org, 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162460093427292 (code B ref 49194); Fri, 25 Jun 2021 06:03:01 +0000 Received: (at 49194) by debbugs.gnu.org; 25 Jun 2021 06:02:14 +0000 Received: from localhost ([127.0.0.1]:44631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lweus-000762-5G for submit@debbugs.gnu.org; Fri, 25 Jun 2021 02:02:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lweun-00075k-OT for 49194@debbugs.gnu.org; Fri, 25 Jun 2021 02:02:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41008) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lweui-0003Ac-4l; Fri, 25 Jun 2021 02:02:04 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3106 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lweuf-0007Ca-5A; Fri, 25 Jun 2021 02:02:04 -0400 Date: Fri, 25 Jun 2021 09:01:53 +0300 Message-Id: <83mtrescry.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <874kdnnhel.5.fsf@jidanni.org> (message from =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson on Fri, 25 Jun 2021 04:20:50 +0800) References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> <83tulnrt8h.fsf@gnu.org> <874kdnnhel.5.fsf@jidanni.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: 積丹尼 Dan Jacobson > Cc: Lars Ingebrigtsen , 49194@debbugs.gnu.org > Date: Fri, 25 Jun 2021 04:20:50 +0800 > > >>>>> "EZ" == Eli Zaretskii writes: > > EZ> That makes no sense to me: the command kills a line of buffer text, it > EZ> doesn't (and shouldn't) invent characters out of thin air. When there > EZ> _is_ a newline at EOL, setting kill-whole-line will cause C-k to kill > EZ> that newline as well; but if there's no newline there, why should this > EZ> particular command with that option invent such a newline and save it > EZ> in kill-ring? > > 1. There may not be a newline yet, but there will be upon sending the > message, or saving the file, depending on other settings. > > 2. That allows consistent yanking later. C-k ... C-y now will always > have a newline. Else even though C-k appears to behave the same at the > end of file, C-y depends different later. > > Anyway, just try making a bunch of lines like this: > ^^^^^^^^^^^^^^^ > ^^^^^^^^^^^^^^^ > ^^^^^^^^^^^^^^^ > at the end of your reply, without extra fuss when copying the first! If this is about your personal needs, why not make a keyboard macro to achieve what you want, and use it thereafter? IMO, we shouldn't add to Emacs stuff that is needed by a single user (or a small number of users) because of their peculiar workflows, and which makes little sense with other workflows. Inventing characters at kill time sounds very strange an unintuitive behavior, so adding it to Emacs, even as an option, would be a mistake, IMO. From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2021 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii Cc: 49194@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162462976828708 (code B ref 49194); Fri, 25 Jun 2021 14:03:01 +0000 Received: (at 49194) by debbugs.gnu.org; 25 Jun 2021 14:02:48 +0000 Received: from localhost ([127.0.0.1]:46508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmPv-0007Ss-Ps for submit@debbugs.gnu.org; Fri, 25 Jun 2021 10:02:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmPt-0007OE-SW for 49194@debbugs.gnu.org; Fri, 25 Jun 2021 10:02:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UEwEVUF4yFAORdize7L3eQ3G33/BknAh8FaqbDziIUs=; b=PzjOUyvIOuV3omMazJxtODuPRN EtmAHMDglm9g1sNVHUL4RYZPXOS49CYXRH091oNWNEkuXDX7gJNt/VLPHp4V078zt0oWN5cyCTV+o K0ciw+wyBaDcDNwtkNrSNZl/i2sjH6X/m83YTMyBjN+V/OWHxSXtxVZLBzbwA0VAZJ8A=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwmPk-0006gi-Px; Fri, 25 Jun 2021 16:02:39 +0200 From: Lars Ingebrigtsen References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> <83tulnrt8h.fsf@gnu.org> <874kdnnhel.5.fsf@jidanni.org> <83mtrescry.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVtRSkXEhBUIBZs MBqWVCSKPCG+jkr///+ufO93AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UGGQ0xBOHkndwAAAGdSURB VDjLdZJRctwgDIa3k7TPMdscAJHtcxaFC9RinzNr6wYe3/8I+TGwBafWDGOPPiT9Qjr9GHojyt/T HlTrgT0AdBRh6SiVOQLkD2q4aP8LzGUdH8C24OMm928RMgwuiMjd9sCEK0BUiWo7cJa7UdUZYCMP 8Aqf6Kzw6zWBWuLVIf8smsy24BwWiWRNUA2d3JcYZSQ7GInTTi4Eecxpvu4aVDThDYXR7sAYRCci d83jegAz8k9VJmdNHxFGZhzvPHXgdwR4jzjsW/CyxomZRXniVtXbKiM75sjPYwWp6XVdAIh4ojDx 3xphbiueaUognUsB8C/wC7MnuIk+8gxPbk33l7iBxLSAPyvIbYFY3IY5LcV/LZJqJLHpPoWq6jkV EGRKIZ6guTziWwaBcy7egS1VsbJXF80hnqcenBUrgJ15ohpha4TOMzYDFRyK90A/55jbcK4FenrC JLYuUkTpw6l+vmN4BbgWZDkA1jTgzFr9NJimc1NEfge+AuwNtSD9Q38BaKUCaxJwlBybsH/A5RFZ iEo21FRDAUQt+AInTp/ICyDq5gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNi0yNVQxMzo0OTow MyswMDowMHXsi50AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDYtMjVUMTM6NDk6MDMrMDA6MDAE sTMhAAAAAElFTkSuQmCC X-Now-Playing: Deutsch Amerikanische Freundschaft's _Alles Ist Gut_: "Alles ist Gut" Date: Fri, 25 Jun 2021 16:02:36 +0200 In-Reply-To: <83mtrescry.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 25 Jun 2021 09:01:53 +0300") Message-ID: <87zgvedoub.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > If this is about your personal needs, why not make a keyboard macro to > achieve what you want, and use it thereafter? IMO, we shouldn't add > to Emacs stuff that is needed by a single user (or a sm [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Eli Zaretskii writes: > If this is about your personal needs, why not make a keyboard macro to > achieve what you want, and use it thereafter? IMO, we shouldn't add > to Emacs stuff that is needed by a single user (or a small number of > users) because of their peculiar workflows, and which makes little > sense with other workflows. Inventing characters at kill time sounds > very strange an unintuitive behavior, so adding it to Emacs, even as > an option, would be a mistake, IMO. It's not something I'd use myself, but it makes some kind of vague sense that I could see being generally useful. That is -- "it'd be nice if `C-k' always put an entire, full line into the kill ring". But I agree that it's somewhat obscure functionality, so unless there's a greater clamouring for this, we probably shouldn't add it, and I'm closing this bug report. (If several other people pipe up saying "that's what I've wanted all my life!" then we could reconsider.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 25 10:02:59 2021 Received: (at control) by debbugs.gnu.org; 25 Jun 2021 14:02:59 +0000 Received: from localhost ([127.0.0.1]:46511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmQ7-0007WD-4c for submit@debbugs.gnu.org; Fri, 25 Jun 2021 10:02:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmQ5-0007W1-Hk for control@debbugs.gnu.org; Fri, 25 Jun 2021 10:02:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zsC1eMedk1hQ/6V1/hobf6BD04c3cXaVdqInPKIc3aY=; b=bIwbG2S3DvRDS22TLoHaCCpIAE LzRoXtp/fllAlS1f4+XBa/QbjlXYVpsgQl9q7xvJJ0gyWorAOJWptC/vclkzF3avZbs5zgygr+eT2 bcN4A/gHeaBo8lLEvgIvWht6EEWDDVptPIc+Ks1892zfoTNjOtHaj12VLal6xx4Rg2dE=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwmPy-0006gw-4A for control@debbugs.gnu.org; Fri, 25 Jun 2021 16:02:52 +0200 Date: Fri, 25 Jun 2021 16:02:49 +0200 Message-Id: <87y2aydoty.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49194 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 49194 wontfix close 49194 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 49194 wontfix close 49194 quit From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2021 14:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo wontfix To: Lars Ingebrigtsen Cc: 49194@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162462984829070 (code B ref 49194); Fri, 25 Jun 2021 14:05:01 +0000 Received: (at 49194) by debbugs.gnu.org; 25 Jun 2021 14:04:08 +0000 Received: from localhost ([127.0.0.1]:46518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmRE-0007Yo-CA for submit@debbugs.gnu.org; Fri, 25 Jun 2021 10:04:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwmRC-0007YB-53 for 49194@debbugs.gnu.org; Fri, 25 Jun 2021 10:04:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47080) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwmR6-0004aI-Sw; Fri, 25 Jun 2021 10:04:00 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1398 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwmR6-0000kf-F2; Fri, 25 Jun 2021 10:04:00 -0400 Date: Fri, 25 Jun 2021 17:03:51 +0300 Message-Id: <831r8qrqgo.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zgvedoub.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 25 Jun 2021 16:02:36 +0200) References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> <83tulnrt8h.fsf@gnu.org> <874kdnnhel.5.fsf@jidanni.org> <83mtrescry.fsf@gnu.org> <87zgvedoub.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 積丹尼 Dan Jacobson , > 49194@debbugs.gnu.org > Date: Fri, 25 Jun 2021 16:02:36 +0200 > > (If several other people pipe up saying "that's what I've wanted all my > life!" then we could reconsider.) Right. From unknown Sun Jun 22 00:39:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49194: kill-whole-line 'plus-newline-even-if-none-in-reality In-Reply-To: <87tuloegsa.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Jun 2021 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo wontfix To: Lars Ingebrigtsen Cc: Eli Zaretskii , 49194@debbugs.gnu.org Received: via spool by 49194-submit@debbugs.gnu.org id=B49194.162472758626540 (code B ref 49194); Sat, 26 Jun 2021 17:14:02 +0000 Received: (at 49194) by debbugs.gnu.org; 26 Jun 2021 17:13:06 +0000 Received: from localhost ([127.0.0.1]:48583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxBre-0006u0-Cu for submit@debbugs.gnu.org; Sat, 26 Jun 2021 13:13:06 -0400 Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:53142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxBra-0006tb-Gp for 49194@debbugs.gnu.org; Sat, 26 Jun 2021 13:13:05 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5EEC1342B65; Sat, 26 Jun 2021 17:13:01 +0000 (UTC) Received: from pdx1-sub0-mail-a72.g.dreamhost.com (100-96-133-119.trex.outbound.svc.cluster.local [100.96.133.119]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E520B342BB9; Sat, 26 Jun 2021 17:13:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a72.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.119 (trex/6.3.3); Sat, 26 Jun 2021 17:13:01 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Daffy-Towering: 32fe37781f5f33aa_1624727581167_1560222346 X-MC-Loop-Signature: 1624727581167:3658435819 X-MC-Ingress-Time: 1624727581167 Received: from pdx1-sub0-mail-a72.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a72.g.dreamhost.com (Postfix) with ESMTP id 9802486681; Sat, 26 Jun 2021 10:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=VrNGHhBrdaJVpo3ItbVMPqUpHvo=; b=XWH0yxdhaqD9e Au7THFWDBS3mxwVHm11ohDuWH/0bwSSAnsxD6UuhR7FpaHTShZcLx7EmiV6K+ByQ tHnU2iUiIY6mlj72hYKntYNkH0X9Wja5oCf5mDSsgPJMHvbqOl3uOKpdFKhl3k56 3JLLxXoTtBWbPPbAuF5vDT20rFlfg0= Received: from jidanni.org (111-246-96-72.dynamic-ip.hinet.net [111.246.96.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a72.g.dreamhost.com (Postfix) with ESMTPSA id B658C7F1BC; Sat, 26 Jun 2021 10:12:59 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a72 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson References: <87tuloegsa.5.fsf@jidanni.org> <87lf6zi6nq.fsf@gnus.org> <87sg17p2jd.5.fsf@jidanni.org> <87mtrff7ao.fsf@gnus.org> <83v963rtn3.fsf@gnu.org> <87im23f6cy.fsf@gnus.org> <83tulnrt8h.fsf@gnu.org> <874kdnnhel.5.fsf@jidanni.org> <83mtrescry.fsf@gnu.org> <87zgvedoub.fsf@gnus.org> Date: Sun, 27 Jun 2021 01:12:55 +0800 Message-ID: <87tulka6so.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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.0 (-) Just like some people see the need to always append a "\n" to the end of a file, some people also see the need to always append a "\n" to the end of what C-k kills.