From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MMRUFnFPYGelcAAAe85BDQ:P1 (envelope-from ) for ; Mon, 16 Dec 2024 16:04:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MMRUFnFPYGelcAAAe85BDQ (envelope-from ) for ; Mon, 16 Dec 2024 17:04:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734365040; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=wlSiCmET/yzm0/3f9dPQjfix91dFC9eaRhtchWym7FE=; b=ZbBSVEcltShG2t+E2pulNAWSoE2F4L+4km/jZYRSD8cgBjiZ7Rt0jVcfxm7I8o0KhtH/gA 6EJHM63JfRYN1ES5YKmclKwKO31GNPRNAWyD0E6g2xDvO5Lbybg56ocKBUiWTym3kuBDri 9fQ9BJm2MJiJCba1P8nwqDgbZ6VJBUAetX82v1zoRiYhndzBaDLmq3KrTVbKoo7lhNKuT+ 2Hp42JYY7wIN9gs3khV/npdJgfqoW/YSFc4488Qia3wwsyW8/b9X28MabY1/ZSUx8L+qPh GwQ3qps7ibBQVqSdAtMDIxMi/37pSjZMtfLxh12CZGiuoD6bBrRsGwUq6Ho7qA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734365040; a=rsa-sha256; cv=none; b=K3jRXH3ArlMdPNNIxaN52mdMXjKpKWM9zrQf6XiQsU7a3dPO5ik+ogJ8IvBUMdyJ2ZYAeC /IS/eCxqImRFAhPSjFh7eKIRqw8dll8NEvOSHTx1sPi4elwdeF83bmzUZbfe/FUJNBpnd5 GmLDSd3MS653upC6zH/eXeaAADH3Ezs9KkrUSdEEmoF9VvV7MROufqwLWIzTpshvdqqPjM RDl9Mb7k4hBgvHCYlAYoTfCZA4Vx6o8LfVJw92RGqjG8WejaMDgU3PEHk1B/LvyAktkKMa j6ZJfxmSLbIXQK73/cSkUDbfoBOPsoba67llSlRmsAQ8+4U/iHDvvVeUjL9yNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) 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 1D3DB40204 for ; Mon, 16 Dec 2024 17:04:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNDYz-0001n3-6p; Mon, 16 Dec 2024 11:03:17 -0500 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 1tNDY1-0001cW-Vx for emacs-orgmode@gnu.org; Mon, 16 Dec 2024 11:02:22 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNDXs-0005an-6i for emacs-orgmode@gnu.org; Mon, 16 Dec 2024 11:02:11 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tNDXq-0009NO-Gh for emacs-orgmode@gnu.org; Mon, 16 Dec 2024 17:02:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: [PATCH] org-protocol: Add void() to bookmarklets Date: Mon, 16 Dec 2024 23:01:56 +0700 Message-ID: References: <87pllx7219.fsf@gmail.com> <9aea6ebe-66a2-47d6-a7cc-a7ad9e8af284@gmail.com> <366e2a83-3703-40fd-b8eb-f5746a17864d@gmail.com> <878qsk68ma.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------BUS20sOudrhfTsqMr7BwV0XP" User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <878qsk68ma.fsf@gmail.com> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.40 X-Spam-Score: 0.40 X-Migadu-Queue-Id: 1D3DB40204 X-Migadu-Scanner: mx11.migadu.com X-TUID: umwoCp5oNV3N This is a multi-part message in MIME format. --------------BUS20sOudrhfTsqMr7BwV0XP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13/12/2024 01:47, Rehan Deen wrote: >> javascript:void(location.href='org-protocol:...) >> >> The idea is to discard a string returned by the assignment operator. [...] > Thanks, that works and is consistent with what I thought was happening A patch updating org-protocol.el comments, docstrings, and the manual is attached. --------------BUS20sOudrhfTsqMr7BwV0XP Content-Type: text/x-patch; charset=UTF-8; name="0001-org-protocol-Add-void-to-bookmarklets.patch" Content-Disposition: attachment; filename="0001-org-protocol-Add-void-to-bookmarklets.patch" Content-Transfer-Encoding: base64 RnJvbSA4NGRlMWFlYzQ1MzJkMzZkMjQwMDJhZDJkY2JjNjc5OTNmZjVjM2M0IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBNYXggTmlrdWxpbiA8bWFuaWt1bGluQGdtYWlsLmNv bT4KRGF0ZTogTW9uLCAxNiBEZWMgMjAyNCAyMTo0Njo0OSArMDcwMApTdWJqZWN0OiBbUEFU Q0hdIG9yZy1wcm90b2NvbDogQWRkIHZvaWQoKSB0byBib29rbWFya2xldHMKCiogZG9jL29y Zy1tYW51YWwub3JnIChUaGUgc3RvcmUtbGluayBwcm90b2NvbCk6CihUaGUgY2FwdHVyZSBw cm90b2NvbCwgVGhlIG9wZW4tc291cmNlIHByb3RvY29sKToKKiBsaXNwL29yZy1wcm90b2Nv bC5lbCAob3JnLXByb3RvY29sLXN0b3JlLWxpbmspOgoob3JnLXByb3RvY29s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