From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qG5IBWgtO2eyXgEA62LTzQ:P1 (envelope-from ) for ; Mon, 18 Nov 2024 12:04:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qG5IBWgtO2eyXgEA62LTzQ (envelope-from ) for ; Mon, 18 Nov 2024 13:04:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=c3Ar7BNp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731931495; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PJN8FQKMQZKdxpbMO5gi+6P6dgL/UvAd5sI+Unr5sis=; b=WcXF6mVdpBvPYvxNIw77c4davoOkHFVfHDQoZ/Dc7XsfLWaMXYoAfi827sTwkUbUJ61E2y 4TD9zOJXkkTQG01qSZyBWkQyI+tcq6OXbZQQgycF05wPcb/8boGeP0NjQj7qGnEFTsV2jp llIST6L/9VJ71y5OahcvUMlhaqxys1pbE70VkI+0q3g0b6uP6skfcNSLJP8zvjbRRZg6e0 v3S/DiyxN1D7zcFa4q/JBcO9KxH18Eu7qqoP/yInXkQ8PthCgM+cEFLUdNWfTmhcbaPaZ7 VFh7fCMshFQjSkMcBcljoZUiL1ATFCwZ55OarcctQ/d1g2hOEQfjZysBEvobVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=c3Ar7BNp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731931495; a=rsa-sha256; cv=none; b=Bt18Vm82P1+elhxWGZYWxd+J+qKYcyhRmjUKJ7cR+MJaI9bvKUzM/2YSvaTNQOcCchm/iG 9386NC9qYz03Eqn84z9TB03QcPbeDVje3euI6L8I1xGE5SDZEdJVhXsi8VtgHnXImp9bhu cLvXHxLj8+rJKwABkXYTVMRiPy1UWWN87vFEOQGz+SfkyT8MP8vJ+3k8r+vkO9/J5Cye7r eBPerR51ePVY3hy5CEtP7sxtJ/yX5SoRYzbtJs6t2hyySMi0s9ZZTt5q6NN8JLuL6qnLp9 0n53FHt5erll5urY4lqhfjK1yAX7/ej58En0MQ1SCkIDi5Gpty8+YkSkKIXC/Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E188F8881D for ; Mon, 18 Nov 2024 13:04:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD0U6-0000rG-0w; Mon, 18 Nov 2024 07:04:02 -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 1tD0Kx-0007tK-7V for emacs-orgmode@gnu.org; Mon, 18 Nov 2024 06:54:35 -0500 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD0Kv-00040P-N6 for emacs-orgmode@gnu.org; Mon, 18 Nov 2024 06:54:34 -0500 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2f7657f9f62so36840121fa.3 for ; Mon, 18 Nov 2024 03:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731930871; x=1732535671; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PJN8FQKMQZKdxpbMO5gi+6P6dgL/UvAd5sI+Unr5sis=; b=c3Ar7BNp9vCa5GRhJqpK9g28vREKH/7sQT/HAD+8XbuclBhb8rAjyjguBdI/f15ApW Rpmr2CuxEUs0SC8bp8iaH3t5Eirilm/kDrYLtYPFRShrnd+8QV9PiNKGP4bJyWKxKqZG SXojyljbhAX7wDRGqLdXX2igM88mn0BjBHf4d7fhUsLsVi3E9S/oN7iOoQ7eAAFSyg8t osKcdrGcU5p6wrqpkFpkmq3f202qDGmDNcLJ4nAWWAtp2A01UGP+32+22qk79VewUnf2 oKvBWcIXDUEi9KrZcnLjvERgKlwEhuAO1ChCsMX9EIo/DAYkepRhnE0XLAdy1SLmVX49 /NfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731930871; x=1732535671; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PJN8FQKMQZKdxpbMO5gi+6P6dgL/UvAd5sI+Unr5sis=; b=thb55v5XgqptVHyV+J5flDrLxzsSk8SNHw144J2+djTohL9FVdu9Drt5BL0D2t9obk e2X/9Kt3arsisE1CZ5cXtbjjstx4vwh2eNsj3tKt49z2VcnJM73PhclCLLboPLbbtKRv RUrrTjnSqOxfupVoAppApaW6n9Y8IXqW2MVcuACFPaAOA6VvNk/W2TofHHLNWzyjP3UG Dk3RahfJ4ub9J5MfxRqNHMcNd+pwEHj6QrK625ctSnhe1mZyc/1YqNj0/90YU1fV7Zu8 AtiKMym8R5T5U/WfogqEOuvgwc3lTIefMOKM1f91+niOoJOjg2VgE8Mv4M9NLU7PU7Ek nAqw== X-Gm-Message-State: AOJu0YzngaJWW5oep6AV8p9qLirrjzyeGae2nteHGmVQAsd7TtydZXqs xX98/UaeP9QmsbU/RCpLxjEvEjiV6cToTIRbvSNAYbnxg2tQAD17+yl7PXHv7uwxW6pWyU+PEoP s6yzU48c8b7VDT4qo62nCqhtk3O21uRoZ X-Google-Smtp-Source: AGHT+IFNYQ/UvxzdxZKUkPvFZe6ZKjRgud4rLnNB+5D1JLG6XHBlswr8IAkLwzC/Owz1ird5gqYTEV63Rdwkx8wgaY4= X-Received: by 2002:a05:651c:1616:b0:2fb:5014:c963 with SMTP id 38308e7fff4ca-2ff60925a63mr45958331fa.20.1731930870633; Mon, 18 Nov 2024 03:54:30 -0800 (PST) MIME-Version: 1.0 From: Nathan Collins Date: Mon, 18 Nov 2024 19:53:54 +0800 Message-ID: Subject: Bug: org-kill-line shouldn't assume visual-line-mode means kill-visual-line To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=nathan.collins@gmail.com; helo=mail-lj1-x22a.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-Mailman-Approved-At: Mon, 18 Nov 2024 07:03:55 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.34 X-Spam-Score: -5.34 X-Migadu-Queue-Id: E188F8881D X-TUID: 0SNgqB4M0q9c Hello, In the latest version of org.el, at line 21367 [1], inside `defun org-kill-line`, we have (if (bound-and-true-p visual-line-mode) 'kill-visual-line 'kill-line))) but I think instead this should just call whatever `kill-line` is bound to in `visual-line-mode-map`. By default, `visual-line-mode-map` remaps `kill-line` to `kill-visual-line`, but I remove this remap because I prefer the default `C-k` behavior. But in org-mode, I can't figure out a way to disable this behavior of `org-kill-line`, except by removing org-mode's remap of `kill-line` to `org-kill-line`, which loses the other fancy logic of `org-kill-line`. Cheers, -nathan [1]: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org.el#n213667