From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qGt6HCWBIGNZ+QAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 15:09:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qGZmHCWBIGM6fwEA9RJhRA (envelope-from ) for ; Tue, 13 Sep 2022 15:09:57 +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 2FF3D328D4 for ; Tue, 13 Sep 2022 15:09:57 +0200 (CEST) Received: from localhost ([::1]:52148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY5fo-0002nx-3H for larch@yhetil.org; Tue, 13 Sep 2022 09:09:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5eA-0002nb-R2 for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 09:08:14 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:43734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY5e3-0001JS-A2 for emacs-orgmode@gnu.org; Tue, 13 Sep 2022 09:08:14 -0400 Received: by mail-pg1-x52a.google.com with SMTP id v4so11241007pgi.10 for ; Tue, 13 Sep 2022 06:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=ndeN+4GEvLqhYEJyNnLvst95y36U/8tzmBalW98facI=; b=p2iX0cUuWGi3LAGu2kDssqXgxm14qZkNB8lB6t/53OZ8d7xeh9n2j0duhrgcXeTYJm BLBAKdPo+d/wPLt2U9RbXMQkqEKPda5mabPO7Fwntrwj9FK5usgl5Ok3I5ZwjMUmPr7m gEjRZSZ13uduN4EwJjBbhjqc/FJfhNzxLJpiaGYxvaXk11h9WyHIsrLcCKpUEn8fA2Y2 ugIhE+bdEEkBT0ag+UTI6PUuls7xcqJIaBXOxOdrofMd/o8skVEr7R2EYSXtfsKynMvq iz8W08HBhbTIWnsHVGCbgf6fhNvfGqv0wemMOAR1RbN//B8HY6zek8BRMUT5AItvbk8r 3eJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=ndeN+4GEvLqhYEJyNnLvst95y36U/8tzmBalW98facI=; b=oun9bXH6aGijDKSE9sQFLpLNZX+RTt7GJ3wK+c3PYGSnM1Rgu9X1V8NZM8DF3Z6+FC 8uXgcFo5nmnYn3ZQIjuOaD4rTDYZC1ht1FY0iGaihxVORmDH5Bkq6Y49yJMM7jEgfCiS hoArRii5tgKiOofsL2hPG9hySvHNM29RDG6R3jKLx4el5Z54Zr0BcsTp8d9/unM8aFrR Vgc88NEt8Np0FODGHlhkSCSPH9wce+RIKNB+H0Vo/ZCRQUJCA65Vyz+tN88G+bO1EL9i glWgifRDhuC7MIGOS/G3D+sZMuWMlOiRcTjGcYX/wby+BGKC/Poqlahn9Z3j/DmBV0nv eIpg== X-Gm-Message-State: ACgBeo2SMX4mYHyQSvNptxym0lZf7PkaTLvAOPY2GndbRgYrR8rgG+6r 2WnWEirifTWVuaklsrlhZPo= X-Google-Smtp-Source: AA6agR5DJsSOSkg5NjzfkzqsibJhlwt8OV7qRGsvSxFkoGBpgecQl5wXnmcV5gR6AmSkXcyD6VgQOw== X-Received: by 2002:a05:6a00:1a91:b0:544:e82b:b6cc with SMTP id e17-20020a056a001a9100b00544e82bb6ccmr7079700pfv.13.1663074483297; Tue, 13 Sep 2022 06:08:03 -0700 (PDT) Received: from localhost ([2409:8a70:2bc:c850:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id c199-20020a624ed0000000b0053ea0e5556esm7778049pfb.186.2022.09.13.06.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 06:08:02 -0700 (PDT) From: Ihor Radchenko To: Carlos Pita Cc: Max Nikulin , emacs-orgmode Subject: Re: [PATCH v2] Re: Adding target and custom id links doesn't ask for description In-Reply-To: <8735e091pn.fsf@localhost> References: <87a68c4pyc.fsf@localhost> <8735e091pn.fsf@localhost> Date: Tue, 13 Sep 2022 21:08:56 +0800 Message-ID: <87bkrjctg7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663074597; 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=ndeN+4GEvLqhYEJyNnLvst95y36U/8tzmBalW98facI=; b=UXoveH8q6ep56/gVHuCmcy042GIfUa5wHQ/cUq1VIkDtA3kd/tktJ7SpWr1O9mcNuMTCoh UgPl73mKjCAl3PR74vCfV3rPk8txrIkcxSPTG0ZdHOw4F2rqCUyuu+fRFGLgRd3kLfy7Qs RhiNOkHXKWT4YzsRD0vHWkqiUsB9Sgn9QUVSYs9gc/jRXGmLHojX8Ux+pDkdGpz5s4R9Hp O74G0LHweOJ3l+1tRBAH/kgE8cacM8NOtRlxCZW+nJcLFig203PgfuI0mMINLKkiFvAKkZ ykHmCS1HwD7cs+mk9enoIq6Q4kGLPbrZWdE7uTewXk1pshFW4qSBiqbiDIBNcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663074597; a=rsa-sha256; cv=none; b=hi1g3YBjp/JCJ/w0crC/dUR783EeZ8xeZxQJiMI7pYCwo7J6QiWF+MKMbuFcAUVEiCUCFN r9v9ar1yMGlXoWBTqPi3wXaa1/lLxmmT0XMedkNSDxpFmnPocWYgwFHmSr/ZgY7IjhHGg3 2OhHqBNDq6MXvbAA6C4uvZIYxU1bEHwdXdkw31eqGodBIh8DulASvL8Yz7i+EHPREjlkUq gGeZCAOroMOw+jKeUDxwrnKLcXQ3/cRFGS+5TBGsWOhtrThlQnHUGcaTWvNVuqH/8TXsXy /iEBuBYd7axSQnSbQQJl69hbe0ZbzYQqavznEph9RmHWZrPolXop5obBsQ+Hig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2iX0cUu; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -6.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p2iX0cUu; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2FF3D328D4 X-Spam-Score: -6.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: w1X3elK3QPg0 Ihor Radchenko writes: >> Yes, I've tested it with target and custom_id links and, as you said, there >> is no change in behavior. The entire URL is still pasted and no chance to >> edit it is given to the user. > > Oops. Somehow some way things worked for me at some point when I was > making the patch. > > See the updated version of the patch attached. It works on my side. According to the further discussion, this patch does not resolve the original problem. However, it improves similar cases with link descriptions being set equal to the link values. Applied. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4fc2c8dd89bfbe9f6ad7620c1b4d6def4114489b The original problem is resolved in another applied patch from an earlier discussion. https://list.orgmode.org/e2c807a7-1924-6f08-9e63-4f70aee9d3b5@gmail.com -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92