From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gDfIDJ36GGIQTQEAgWs5BA (envelope-from ) for ; Fri, 25 Feb 2022 16:49:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EA11CZ36GGK1fwEAauVa8A (envelope-from ) for ; Fri, 25 Feb 2022 16:49:49 +0100 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 AE65732F74 for ; Fri, 25 Feb 2022 16:49:48 +0100 (CET) Received: from localhost ([::1]:58368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNcqp-00043O-E1 for larch@yhetil.org; Fri, 25 Feb 2022 10:49:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNbRf-00049K-8l for emacs-orgmode@gnu.org; Fri, 25 Feb 2022 09:19:46 -0500 Received: from [2607:f8b0:4864:20::443] (port=34466 helo=mail-pf1-x443.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNbRc-0003nk-OE for emacs-orgmode@gnu.org; Fri, 25 Feb 2022 09:19:42 -0500 Received: by mail-pf1-x443.google.com with SMTP id g1so4815666pfv.1 for ; Fri, 25 Feb 2022 06:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=MZRGJj21c4l9TA+IMRJuyqDJaH0jgTKXWbpG3swTa9s=; b=YQdTSD+EtC1qy3R/DRjz1r+gUcJMGKGPKydmDBX/gxUKjt6OCEHlz1zq5jQXkZn9Bm TMGZzrCPx9/oYp98H6dER2+5+XZ58HMEy05pw6BTH+DQtVQfWUqFZ6vDtXR/pHHsZ+U9 PbEIirELizRkjm/axYKC23611MN+EH3+lpDBvzTZRe4XditQ1fBG3WaBFkEqNk+XNsLi rZA/ViHvMdj5X0ZCnt9MiIJgi2SmQKG1LYYvB4miwmvbjATaiW5nF83pvt77EgewBW0P qqYAMh8BKl01RUenzwCWrbUSqKOPe+LxBf/7FJqdc41gBgt5Bwqj1TuU9Zb/JZ20FOlB eCTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=MZRGJj21c4l9TA+IMRJuyqDJaH0jgTKXWbpG3swTa9s=; b=XXPEbJzYt6uZogkQtqXMKIu0nofLbOWh83Pb/ev0dU+Jsb8d1qmMrQdNTyhVC3v0oG Bcc2GvZiLSE6zudEhBo5S5IEnu9ouLU1RQbI86u4Wv6baWEh3ehqqCETj2bkM0SF0B2d GO6ekk9fIgAPjDbHGJHUWuNYBK0sGH8a4ZgDTcuizCFl7cPXLUnsNcw7F4GQKMsArPP4 GI2Is3VLC5NgTR88qQ2k0cwjQSHGC6qPK6PvvlqJhViIdY2vRVW7nbIsI0ZZx0EIFW54 SIKdgy9G3RZy3G8W9si2tATlncOpE3mQufHbNlo77JB7JYuivedim+gCEpbdfARzMHPk 6LnA== X-Gm-Message-State: AOAM533Jzerq0vIWAOo/nmK4sntEsPiy5qXnUmw765S3FqYR3Ns4eCyC HLBQzJRfoMZVkkFlnHLKlnKd2FyEP5U= X-Google-Smtp-Source: ABdhPJzjIHIkDcD7ieEpUuYXCqF9tvF6lQaFIS66/du7Q9RbNMfP+TNqLUUn5r0Lnydxqa1DGUqF/g== X-Received: by 2002:a62:754d:0:b0:4c7:f5db:5bd7 with SMTP id q74-20020a62754d000000b004c7f5db5bd7mr7983213pfc.46.1645798772841; Fri, 25 Feb 2022 06:19:32 -0800 (PST) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 12-20020a17090a01cc00b001bc1e04842fsm9701211pjd.26.2022.02.25.06.19.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 06:19:32 -0800 (PST) From: Visuwesh To: emacs-orgmode@gnu.org Subject: [BUG] org-insert-link should use DEFAULT in read-string when asking for description Date: Fri, 25 Feb 2022 19:49:23 +0530 Message-ID: <87sfs7jafo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::443 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::443; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x443.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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-Mailman-Approved-At: Fri, 25 Feb 2022 10:37:43 -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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645804188; 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=MZRGJj21c4l9TA+IMRJuyqDJaH0jgTKXWbpG3swTa9s=; b=hGYOeIE/qOxOQww+zZy/93kePIEXTaU0rXUPr14P6gsusdpsirXr0Yt+kuQBdaqu5nKDBm JDpMOSSkI4oFxw7gt8qK//IGUf249GBaGCh7LnGr2JlbSwFTf2Bw19UsrBMwdcVFMAovVc jhctYGwZOJMQBS7TWaqDoPdZ8rf9ewvEm1u6zGOjnI75Z3AtNKpx+TKMPk1IflPBjN/oJu Ok+18udmYD1qnTR/JhXjaH4gXlkMD0sbXMlnZ5t8Zf4itT9Vs0aMQiQ6m6qJPjLOcXlKJu HmMyGs90gdL6IKsI+zJUtUsKdCpC4oVyvKRspXOBwloSo0/WzQFayg3bok75hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645804188; a=rsa-sha256; cv=none; b=SUMMdKowm/l/oyFbcxN+7yHEOu55ogIVHko4Xbr0GCl3G2fNbxvlv0Rf+g6w+ycjntQK2j xVHs8LHo3Ik2fygXwBzRVX3HoAIotIBY2sa3DXPtTZ61HFlrS8p7tvEgkmO2SqGlVaX7ss ywDfwSNEZ+9oG974EnjXq5nYgnyWGnIUHxG1HCbSXRsC2ZVb0gIG/S/GVqiAisFo1nGmYn YqFBDxrVen6d4pH5HSf9FzztF1rM3hVQOeYsyMZe97xbZcVBNsV3LvZ5Ml4+rwjy/69kzJ kSJJP1mUMp4rRWVDRjNX1MkFcYhSmVw1+3U3M6tQvZBM2pwuvT7R579coxFdKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YQdTSD+E; 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: -9.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YQdTSD+E; 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: AE65732F74 X-Spam-Score: -9.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: LrsoW5eD9zVN Currently, when asking the user for the description of link, `org-insert-link' calls `read-string' with a non-nil INITIAL-INPUT but this argument is discouraged and deprecated; moreover, it is unfriendly. `org-insert-link' should, ideally, use the DEFAULT argument. If the user decides that the suggested description is okay, they can type M-n. Regards Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) Package: Org mode version 9.5.2 (release_9.5.2-9-g7ba24c @ /nix/store/0m0yw7b3zly74ljs3qmkblb780xg03id-emacs-git-20220130.0/share/emacs/29.0.50/lisp/org/)