From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 SNGKEISx8mET6gAAgWs5BA (envelope-from ) for ; Thu, 27 Jan 2022 15:51:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uOrvDYSx8mG0BgAA9RJhRA (envelope-from ) for ; Thu, 27 Jan 2022 15:51:48 +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 EE2AF3C2AB for ; Thu, 27 Jan 2022 15:51:47 +0100 (CET) Received: from localhost ([::1]:38648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD67m-0007Oo-Qr for larch@yhetil.org; Thu, 27 Jan 2022 09:51:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD65u-0007L0-Hw for emacs-orgmode@gnu.org; Thu, 27 Jan 2022 09:49:50 -0500 Received: from [2a00:1450:4864:20::133] (port=36424 helo=mail-lf1-x133.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nD65r-0007Cy-QK for emacs-orgmode@gnu.org; Thu, 27 Jan 2022 09:49:49 -0500 Received: by mail-lf1-x133.google.com with SMTP id z4so5851737lft.3 for ; Thu, 27 Jan 2022 06:49:35 -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=fJ+4a+L+HteASK0fuJEkiB+EQhUn6Um42Ofan7a7hwc=; b=kAMu6othsU/X3y13SNOCmAFvbEtz5oqjjEuhDIpSwvB+GEUg3l79tk9b/trLqNma1P BtRF+wht2gpy2cWeTI4FaGZhBj7xa+dRKc66LTLPcfNUTQ8k8slVcBXTX7klwhZwnGay znOmE3AHKiwVPeN8jqsZB6i5syNUgMyfoG+Y7/JkrnQFxNgVaRc36REi7oaINuiKW+7i NAdffb230/AYEMPCqB945Kg0n05yexFiwvafh5tXI069KzPUYECJrcPxzViS2uqG5kkh 0P/qANk2j6JOQecYsUgEqJ0Z6/U8o0wUEJYIec29Du9JcAKXQNzELhLDuu2EC2lhUBIu /zDQ== 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=fJ+4a+L+HteASK0fuJEkiB+EQhUn6Um42Ofan7a7hwc=; b=DxYQb3UVWcojhJ1V3gXSEpRrYExWbvMzF4pquK4kqjUtMSGbdd1111+a8Ii+CmcVMI fE/LPXWixUxObFWllvbTm8/cY2vGLpSaZNMSbVaFHzsTxhCob7fPWG6R1f/zZX1PgA6X SQXf02cRwgWBRNYa7/VfjBHcYaS4X5gkt5BnuURIW3gzGjto1/dowheOQMSesp/8Y8y8 WOh+DQk0OBEvEt9hkuBRiXRfibo/ncM07YbQXLA3dSQ6YTwJPpZcS3+M61eQBu0tbQjg jBd8ug5VQIWOS+LzoympqMAI5/m1Diph/Cez8w0EkhApst4O0D9lMDdQCTaBfBUKOC+f CAbQ== X-Gm-Message-State: AOAM531I9nSSBVfgzzk7B10X+ucVIDpTjNpu5YP1fxLmpiVUFCYKW2l2 ffueSxSONCR9dxRmbuhb1So= X-Google-Smtp-Source: ABdhPJxNxryqPJAJ2R2YxFQ+IqY6PTfH3WSTfb8IHsyx5r8s22yl68xOyYk0KiFVhPZTrl5KMUwryA== X-Received: by 2002:a05:6512:39ce:: with SMTP id k14mr3005842lfu.185.1643294973882; Thu, 27 Jan 2022 06:49:33 -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 y11sm421517ljj.69.2022.01.27.06.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 06:49:33 -0800 (PST) Message-ID: <4cbdefbe-4f92-1b6e-fe2f-a8213b742dde@gmail.com> Date: Thu, 27 Jan 2022 21:49:25 +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> From: Max Nikulin In-Reply-To: <871r0u2j8d.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::133 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=manikulin@gmail.com; helo=mail-lf1-x133.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 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=1643295108; 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=fJ+4a+L+HteASK0fuJEkiB+EQhUn6Um42Ofan7a7hwc=; b=rqPYCPKM/65yOc0KFBjauod2vsogEvlRyySxJeYh92HCTh2/Khrl7qULePAl5fMUKQNUjg jAaQzgqSYqXIfSq0ngNXAom75uVYRnCl7pQ2VMFWYLoRl133aO0VTYJT/ZDVGHCGR1qa7S fRHyWzS9ZmuKpI0yLH1zdWcvQPbE7Ool5P4uP0aCxubkK+SMknNQ7FGHMdh9gGj7m6g8rM qlbsl/DNp+JxC6e8AJLhqp8xv6HLt5ir8BkKC4mWLcjPEUV1IdaYZcXu7YWmT06kcZvm15 tksHT5WCSsTsl9PQdH6Qw2ZHCgysgmtvRqnKffxLPguQKFcpNDyBh3T7ndZVNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643295108; a=rsa-sha256; cv=none; b=rETCG2WzpkJb6WTgDECdHbTKpSCFD/6kpiHL/OEXbh9i04pUox7UNhxWufKUhtM0skMBln xEsmN4qq6TNrJyBscavv8M6kFNX7kYaVOtc7ud2PIbISGfDHyaOFRrr0BjVqT9j06yHGNF NEAKkr+jaWfoehfas/aiJKa4koDrum9P2Ir9P+Vo9dJ4X33kFIVpSlNC0KPTSEthu0unDJ ce66hB6n8qwhJmERTrIsWA59nwbdbYPpDZHaWybtSEW+V8PIQb+ihmy19UGlflNbKLe78F WpNxgnTAONWhmhzYtbTpzqSk/fPFQ2UluTcmRVBOZ+wKQh7Xdyad3D3TuV8CSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kAMu6oth; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kAMu6oth; 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: EE2AF3C2AB X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: AHRHokLOl3pw On 27/01/2022 06:02, Thuna wrote: > Currently org-protocol-store-link assumes FNAME to be in the old-style. > Changing the nil in line 467 of org-protocol.el to (listp fname) fixes > the issue. Could you, please, describe your actual problem? I have tried emacsclient 'org-protocol://store-link?url=http://o.rg/&title=Tt1' emacsclient 'org-protocol://store-link:/https:%2F%2Fo2.rg/Tt2' and both links have been stored successfully. There are even some tests for handling of new and old style URIs by store-link subprotocol though they are not run by default.