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 iOptFaTkomT+DAAASxT56A (envelope-from ) for ; Mon, 03 Jul 2023 17:09:24 +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 6J9oFKTkomQDdQEAG6o9tA (envelope-from ) for ; Mon, 03 Jul 2023 17:09:24 +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 217DB1E95E for ; Mon, 3 Jul 2023 17:09:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=nqlWJSBy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688396964; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1S4qjyqT3A0k8FuqPviEHhWqN1txbKVDDVi/quH4rfo=; b=lwwxprtUGZiX2+llcyAz9BLLrMVWy0nXCdWmCZ6w/lTOerQrKWPZVjjk5LmdoSPTsWFEyR ONMDK9ZGFUllFfUJQApqoStrAGh/q5lPnz72xA55K7HVM9hUFa+MG4PdP/5vdyHgPXWUGQ wk2jgNHYGdUcYnkXgFFguYoBCY1VMd0UI39Ei7pFA2bG3TgF5n0+/zWWsoR5Pm+iYp2XWW xuUmC8NmuMc0FULw0/jWCz6f6ptytA1c/RhaO1d+qScZK1Q8ifP6hLxUvTsLY5WPE1lQ5L 0XHseuB4QDdonyBYtpX6aYK6/g8gi3TyLzpLQIw46XFLHsD+M6ED5iSec4BImA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=nqlWJSBy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688396964; a=rsa-sha256; cv=none; b=fvdO7A9fWMHhXSLP9LcGlJRzb4i2qGOTYjsnzKr1Qhkzhld5jnf9jPV39hkrpPmnkCo9MN jDAjDAfkqIPjAHoC1ZGwLVCJxWcJyR5PvdqkpWBh9Ymd8vSmzCJvC/EwDKcJZtKGue9A7T u0G9BsH29llvylUqy5KeyBEQtflRl/MFwuQ2usSTCXnu+9fvBvDG+9byjysv7i5TYxU4KX FJGL1jOe8Fq2hkf8eXSrS47xVsJZThaqzEQ/awBCx7teecillitmM+gw997lStdG0SjhmI 88cS4sYrXxT3MzqOlpSvwaqMPd1kPuubSbLYdKSmW1neXCzGcBw8ewctIT5K9Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGLAI-0004xu-8G; Mon, 03 Jul 2023 11:08:34 -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 1qGLAG-0004vk-Uj for emacs-orgmode@gnu.org; Mon, 03 Jul 2023 11:08:33 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGLAF-0005Et-Bw for emacs-orgmode@gnu.org; Mon, 03 Jul 2023 11:08:32 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4fb7373dd35so5643401e87.1 for ; Mon, 03 Jul 2023 08:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688396909; x=1690988909; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=1S4qjyqT3A0k8FuqPviEHhWqN1txbKVDDVi/quH4rfo=; b=nqlWJSByzQGahitbl4pgvjWsECE7yfhhljfhZUZVScjirFNLIFZYkM65yhtarkyWmB Wnq462m6Nre/DidRvXJGWkX2Uoy9bQDIIzRC57J453BkzyfrygDiOY5bvYQ2r7XlPHrK laXwp37RK+9sCHlvBXDTU9mbw98hMFTIJaKVwObLSTSQCvNkmlCePEtwBNBZI1qTNRiG MlqZ7FtDH/sc92EF0ixcTDir+oXnKzTysvU7qTnawcBHBCysIL4ztTsSqsnOwkD4T84n 2Vz1P+wyRmITnZ7ExYO5vdahAUzyGvRcoak3c4MeoIrwkJQMuWKx41PlOMKeULCstggp BrZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688396909; x=1690988909; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1S4qjyqT3A0k8FuqPviEHhWqN1txbKVDDVi/quH4rfo=; b=EsZaBY3pFeEYzIpx8tfwWHA8DYEqpcyqya1zSp4CTCnxHk8oAAhcMlkhSqfZiHNLGR bjQrGBEtJVE8syTwM4WyTvDwM/lSPp9KeunyFBJO9fhoqzEDqg83Edum+9GaFzQR/Ekw 4tW2FaZRHhWLlNpVeuwS8hsIVOvkoqC0zl6ML41eGF87Smzl1wLME/zygvLFUugCD5f7 Y7nDsyLSflXEz1lRK+Ogq3q72ZwdlqJEbNo9ksr8yRf/ZF6zo0jHIcM22K8UzbkLd1k4 g2xgvKwFW5lekaLCgiA7qR7X0XbGt+yfXM7I5iVsTQS6Nev/3rI2ECaRLvO+ojW8rrON o7dg== X-Gm-Message-State: ABy/qLaX07aF7EoZGOqUf4RbWSup62rT1QV/ZtHEdyfvirIqobQilqNm +ipq0KzBnIEl2e29naijfPD5dkR9iQl4Iw== X-Google-Smtp-Source: APBJJlF/7onaS9kGjhdKjYJ/QJEjtkr/7EzVGUqwLambigEh3A1t7hfEqaOVtg7Fcg2xhtb1mI9XQw== X-Received: by 2002:a05:6512:3a8e:b0:4f9:dac6:2f3d with SMTP id q14-20020a0565123a8e00b004f9dac62f3dmr4155841lfu.13.1688396909165; Mon, 03 Jul 2023 08:08:29 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id g7-20020a19ac07000000b004fb259a5589sm4215136lfc.104.2023.07.03.08.08.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jul 2023 08:08:28 -0700 (PDT) Message-ID: Date: Mon, 3 Jul 2023 22:08:27 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] Keep the link if the command was cancelled Content-Language: en-US To: Ihor Radchenko , Evgenii Klimov Cc: emacs-orgmode@gnu.org References: <20230630221120.21657-1-eugene.dev@lipklim.org> <87fs65gnzk.fsf@localhost> From: Max Nikulin Mail-Followup-To: Ihor Radchenko , Evgenii Klimov , emacs-orgmode@gnu.org In-Reply-To: <87fs65gnzk.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=manikulin@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.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, NICE_REPLY_A=-0.09, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.26 X-Spam-Score: -3.26 X-Migadu-Queue-Id: 217DB1E95E X-TUID: 34JWkDubDQxF On 03/07/2023 19:48, Ihor Radchenko wrote: > Evgenii Klimov writes: > >> * lisp/ol.el (org-insert-link): Keep the link in `org-stored-links' if >> the command was interrupted by the user during the reading of a >> description from the minibuffer. >> --- >> Currently the link is lost if the user chooses the link but cancells >> the comand while writing the description. > > This makes sense Sometimes I am using it as a feature to remove a link stored by mistake or due to Max Nikulin. [Bug] org-insert-link removes on one link from 2 added by org-store-link. Sun, 2 Jul 2023 13:08:18 +0700. https://list.orgmode.org/u7r48j$9oo$1@ciao.gmane.io On the other hand it is still possible to call undo after a link is inserted.