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 ms0.migadu.com with LMTPS id OCk4At3r82GGtQAAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 14:13:01 +0100 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 wNFzNtzr82HrCwAAG6o9tA (envelope-from ) for ; Fri, 28 Jan 2022 14:13:00 +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 572552EE82 for ; Fri, 28 Jan 2022 14:13:00 +0100 (CET) Received: from localhost ([::1]:43576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDR3i-0000lp-Lu for larch@yhetil.org; Fri, 28 Jan 2022 08:12:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDQGL-000382-4x for emacs-orgmode@gnu.org; Fri, 28 Jan 2022 07:21:57 -0500 Received: from [2a00:1450:4864:20::134] (port=40569 helo=mail-lf1-x134.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDQGJ-0000G1-M9 for emacs-orgmode@gnu.org; Fri, 28 Jan 2022 07:21:56 -0500 Received: by mail-lf1-x134.google.com with SMTP id a28so11392911lfl.7 for ; Fri, 28 Jan 2022 04:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=HveyKkzu1V+MzK2c+FDH/Bf4OdEqkXgMgFHFAh/MrjQ=; b=M/7S9xiNA4XJPSZ843NzXtP4fRrRejZT1IK2Rs7bQqc3/ktdpZGi1GSm5bp2olI9sr rtU7MyqL/FeVSAc0TpuYiqcN++xwc3zKEK16iPYG2mf7tZh4bu6row7WrE/fD8mSmELA twqSO4HwHD/lfS6Bn0ekuCu5+Ai9/MWS5MZigg5Q4KVPLmgo7YYFFAKhaYlKf4vn4Ail gVSl+jxMwa28Mt5tfnON/hxO6a0CW5dlvhE+Hdagje37nddVpOQNdfvgZdTiwDUFhtE3 nstAT8p9I52WuQ5F0Z87ZLKgAU7KptQJybLZEEOk+iPDYOQdai6xrJQgHoqnYb/Fa2ay zspA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=HveyKkzu1V+MzK2c+FDH/Bf4OdEqkXgMgFHFAh/MrjQ=; b=m1rQWvWbNz63GAGFcsEy4d3Gsdwd/gqHP1sDSW0UCG1E8V8CJPKRJblLMOqNYzN78x vX52+B6TW5aQ4I1x4yx0u7+niSiWD9U6QIQam8Vxnq4C3UJCzE3XK+XVQTJRaVpTCw6p jscn4AA/2ofJuKfHK0vR2A010053k0i2dU2F5KFvcvaWSlKTYY+QTYchxiWxLRYE4Bfs O2jCli2XLsZD9ImGCDEpXZxGcae+/jhg6E7g+JMWMbaF14PNHvZBnnT63EVGYtf/SXMn 91ZdkF0LaIkNh7xVWx/3fwJoopmUCjgQnK9AWZPbiUsAzGodLRc08b7PRRQ2brr1TYpY yCSA== X-Gm-Message-State: AOAM531jkhvWzz0CqwtubxQKPIXVxX2rSxPW+2CmH5w/axfZnkRXqclJ otJeGU+E4/1bVOjoRMyzrsM= X-Google-Smtp-Source: ABdhPJz3Snp207CVYEp/KuS3UbK6CmAH5EUei8CgdEgP4kPPo1R+tI4HDux98Wu6lImEBCNdR2pMXw== X-Received: by 2002:a05:6512:1114:: with SMTP id l20mr5782612lfg.237.1643372511114; Fri, 28 Jan 2022 04:21:51 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id g19sm2181457ljk.49.2022.01.28.04.21.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jan 2022 04:21:50 -0800 (PST) Message-ID: <0755acb3-ba82-e29d-3814-c5f6f2880cf8@gmail.com> Date: Fri, 28 Jan 2022 19:21:49 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [BUG] org-protocol-store-link does not account for argument type Content-Language: en-US To: Thuna , emacs-orgmode@gnu.org References: <871r0u2j8d.fsf@gmail.com> <4cbdefbe-4f92-1b6e-fe2f-a8213b742dde@gmail.com> <87v8y51aa5.fsf@gmail.com> <87r18t11w7.fsf@gmail.com> From: Max Nikulin In-Reply-To: <87r18t11w7.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::134 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=manikulin@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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.001, PDS_HP_HELO_NORDNS=0.001, 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-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=1643375580; 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: 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=HveyKkzu1V+MzK2c+FDH/Bf4OdEqkXgMgFHFAh/MrjQ=; b=SnBeu3D+dkzY+FFaG48E6lWlyjO2XBdlSm0nTJ/D4i2KiZPiTXC6pN+dsuIH2zYtmij/M7 pV1RKPm68aTVjeBQWdZP1aE46clnQdNiJtdVNPJ6fC+t7OXIwacirSVMgeBTJPeLGLaFKz 4T1DsVXTocQqheS0t109JNjp7Y03DcuJcB8xFIubpZdGrd46Tc/eESgyHnMxsYsf+54Puw JTGujYmlv/9m3vaXlQDn1JLcP/v6AQjEfwEP2fGAn681LqUbaGyrxv0iX9PPy8hKUW2Ukz cn1I68Lq6Rk6qxy70u6L7XwXYN1b9IVNM2EVbogG0eQe6+gol1on+UQ7KbBgFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643375580; a=rsa-sha256; cv=none; b=PFB0QY9Ttu4LhKz3Fj9udr7NoLynImTjQ0YJIHob9Upzi/tUcM1vwZfXd8xRESp/mP21bH O/n1BmYpS6OZzBf5i+kB9J/cwSF24H1klD1egtR53y2DVl/MSD+30XsVo1rZitSljTeYqt Nob+XP/pc+qbtW75Xdi4HuXM6MIzOpw3t9d6f/3c3GXNHRnmjpeN2GnD0QW6zPnn/rnP9K +FrK0jaxE9dPnhD2K3lI0xins/bKZ8HUgr+UWmTzz0V61R2xx8MsdOIeXeID7x5M5yyekg oB+Gq3jdqhzv/B/cTz8xZq3naqrgWPXvjnqXnH+8bOQaJaR8lZblAdors0Aajg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="M/7S9xiN"; 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" X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="M/7S9xiN"; 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" X-Migadu-Queue-Id: 572552EE82 X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: +dnrdM6I/Vfb On 28/01/2022 01:15, Thuna wrote: > >> See the last paragraph of the docstring: >> >>> FNAME should be a property list. If not, an old-style link of the >> ^^^^^^^^^^^^^^ >>> form URL/TITLE can also be used." >> >> You pass a string for *new* URI style. > > I see, it seems I have misunderstood the documentation then. My > apologies for the inconvenience. I think, you have missed an opportunity to get a suggestion concerning you actual problem. You original report and the response were so brief that it is impossible to guess the context of the question and your goal. Code org-protocol has enough hacks and the functions unlikely should be called from outside. Defining new subprotocol is likely the only case when it is necessary to understand arguments of functions. I suspect a function appropriate for your purpose is defined somewhere else.