From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2PHlIubdN2SVfQAASxT56A (envelope-from ) for ; Thu, 13 Apr 2023 12:48:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aNMBIubdN2SQDAAAG6o9tA (envelope-from ) for ; Thu, 13 Apr 2023 12:48:06 +0200 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 9E4DD26E66 for ; Thu, 13 Apr 2023 12:48:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmuTp-0005a2-UA; Thu, 13 Apr 2023 06:47:05 -0400 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 1pmuTo-0005Zs-Qb for emacs-orgmode@gnu.org; Thu, 13 Apr 2023 06:47:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmuTm-0001Rn-QW for emacs-orgmode@gnu.org; Thu, 13 Apr 2023 06:47:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1C1572402B5 for ; Thu, 13 Apr 2023 12:47:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681382820; bh=FJAEeTIX3UPB30qVUE961qbgy/Kud1EEJMonnNC4MaQ=; h=From:To:Cc:Subject:Date:From; b=mFIS88ixjIpV/8XutLaqpKxGcpeWSAy7398j14QrALM5qqn4PsuuM09GYG2ho9Mcg fNGE/J8LJWAkB0doVG5krJ0wwZnD7qk+thiq8CfqPrcZXRhduxKoaYx+reZZ6V6FVH p9EfkgRUrv2Ux5oDVPgPTJdtunhGP2V4qvKkaG0KqKWGwCYPqecPWi1K95pGAjW4ZF r4SuKph64r/vwL/qoVo5FYvDwBwdj4wJSaL5nyroWG7NV5xPUh504PuhoG4/q8dnqM vG37UbYnW6zeEwUyHgB2SdOX5YHgFRrZGPsi5sLe4fMAcAPzAKlwtrmHIQK9Lz5kjo Fv3Z3THYx3/nQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pxx8z4Cgqz6txK; Thu, 13 Apr 2023 12:46:59 +0200 (CEST) From: Ihor Radchenko To: Miguel Garza Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Killing link located at beginning of line does not kill full link if region is selected to beginning or end of line by either mouse or arrow keys [9.5.2 (release_9.5.2-13-gdd6486 @ c:/Program Files/Emacs/emacs-29.0.50-snapshot/share/emacs/29.0.50/lisp/org/)] In-Reply-To: References: <4277d947-36de-45fd-b161-c8e4af5d17eb@app.fastmail.com> <87bkjt8osf.fsf@localhost> Date: Thu, 13 Apr 2023 10:49:29 +0000 Message-ID: <875ya0f45i.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681382886; a=rsa-sha256; cv=none; b=nJ9PiuWKxUa414IBkCzwSq23ZMijLCFg4ooY9WuK5/kESoDpNqALxoIFwh/uvljeR1kGpV V6X97axPIbiMntciGZOWj0oet8Vo2a7ptGSfkClKWTDfG/wmmOhMCkU5MiJgbAqyrpjs7o X1X6e1MEH5HfpsDr0srK/jx7BlsNWzVBt0kIFSM2XCvy2OrH0qdNlCc4w4vlAn9CLTRvhB QC0K650FcIGLFihLPAphm8cs1vBMPecHCkSGIVfmUsYWfs/OanByN+6/TlI4/3YCILSVte jxdk10q8ooFwlA/gLBi8BWU/s/i9fZIEoy1pnbcxYmpVS0Sf4maxGFu7E56GAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mFIS88ix; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681382886; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oXDBuM+Dy4DGYu1aIMuyyENpUoA/I6kf94ZM8iTqlGc=; b=kvy/ELwyPKRsA7GAjYLNe3l77F9xTo+QEfJqgeeZpzyX0tvYZM4g2VWWrpu+i2io04d6qF LAyNdxDOZyugK7BzvSkXt+QN8EO3dEV91uK4d58fGWIfOJwvDsmW8v6Tk8wE1nl2IP6A8g Y8Clp1YNlzPfJsqNsAofmIfUVIMtX0q9jfsyz9uBuuKUS/ECrebiETrHDBQwiyDkS1L6Jp Ig3/NF5qSlJIuc9b4xz1WJXkH9SMm35XKHl6/GUdsmTQw3Az6Pwj3g6O0yjkamjdWnsMI3 RQXgN9Cjc9yBvRivVkgSpspsiMevsP/xnYmvz6UYnVZxtpJR6kULtPAswbBhEQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.24 X-Spam-Score: -4.24 X-Migadu-Queue-Id: 9E4DD26E66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mFIS88ix; 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=posteo.net X-TUID: LKNu/lhBYRL+ "Miguel Garza" writes: > Yes, I think there could be arguments for different behaviors, but I suspect the expected behavior should be the same as when you select the link by other methods, such as starting a region at one end and then jumping to the beginning or end of the line with move-beginning-of-line or move-end-of-line. When killing the line or region after that movement, the entire text (URL, description, all brackets) is killed. I am not sure. Consider a user who wants to select on the description part of [[https://orgmode.org][link]] Currently, it is possible to place region start at "l" by moving cursor leftwards. Rightwards will place region start before the first "[". What you suggest will make the described use case impossible. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at