From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GNG7D8ooS2ZqnwAAqHPOHw:P1 (envelope-from ) for ; Mon, 20 May 2024 12:41:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GNG7D8ooS2ZqnwAAqHPOHw (envelope-from ) for ; Mon, 20 May 2024 12:41:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GRRyxUOa; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716201674; 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=JmeTWvlChG1WCvG7x0NFv40al1USLa44G7oJkrgMH88=; b=YtrO2lqyOAPu41xhkDTW6iKW94Ixzjx4wYKZCwPLiBJIgdu0FcZJmumCrcPzjbRvbBqXLQ bK+pUosdIVs4fd9CSL5Nln3js7ZiKmPNjJCFru0n1fiPef5386XlVgzgExvz0vFCmotEmS 3BWfsnY9HYuDUaDlZ9VPSp+AExcgUZ+XRKE61Epx9Aa0ztL566/mTNxYMU53ZllzsMX/Uj 7Dqu5xH8lKYMBeTfhqJ02dB7VBcE53i9RGIszAWEFRr8JIjlh60BXq42z6siWgkNdvlkXD KffnZjZvvHCg0JBataKK1X7x09eQqlBOVRpsneBb+otmJGVTR7l0oszmaEi2Zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GRRyxUOa; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716201674; a=rsa-sha256; cv=none; b=W9JtVU7UBngX07wQU3MGKsv97M3z5R80dtlS1O9mPy87HCLwor+cxevVNF8JkMB5heF0FI hJMjsdZ91sA3vXZEQmDWMXpql/UUXE1ib1kL0dOs6n/Ohc+6nQ757BvjgTp7icxprlJudy hbaSFGp+JGICElvCTNxKoo1GS4Eiyr0V1OtvvpfVnrwSa9LAwlKUtqkIhNmUOCq5zQeeVX z60u++ChvqyA9xjIuLk9WM1LJ6J/PAJvgkBlKJHPL+VuI+TF7I63v4rvG5s5mHUlfRtX0V KJz93xI14IcWm/ZU2FmDB/R2SAJoWpIj4MRdJdw4DWMq7QSt/boU20yCHTLVIg== 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 DE7C03E30E for ; Mon, 20 May 2024 12:41:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s90RJ-0006Ge-KZ; Mon, 20 May 2024 06:40:21 -0400 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 1s90RF-0006G4-J6 for emacs-orgmode@gnu.org; Mon, 20 May 2024 06:40:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s90RC-0000xL-Ma for emacs-orgmode@gnu.org; Mon, 20 May 2024 06:40:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ACC08240101 for ; Mon, 20 May 2024 12:40:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716201609; bh=7IUSUf24ghb0MsN9ALMARO8FKL6fPr+beKv4xz+pUYM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GRRyxUOay0AoeBX/xtO/QvN52Dk9y5H+CmEU5YjLU03JSTwtCkuRPjPqGCkhd/ooo Yhs0SijOf7utHkFTjIM/0hL5T1U40eY5rs+KPzi3m7swsQyHk6XoCqXNaCLQrd5TRC Um6xeBT/mNJ6QiZR2B/efzu2BsVv3DrYcFLjeuSt3FwEIb2RzTXrvWg2wGV30l+omz Z6rsfPsgImcllgoGEfACiiwFJB/pS7gBDKFbQMZY/mxekj6J3/UQRb33gQf8jomcuU sXE0TRXWze8gVNAjV9YySZnyRUx7UdKAfgPzAMYnhDIpI8K7qEgt2HC9Xv9sqoFZ+V biw46tDx+6neA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VjYx45Sl3z6tvn; Mon, 20 May 2024 12:40:08 +0200 (CEST) From: Ihor Radchenko To: Jim Porter Cc: emacs-orgmode@gnu.org Subject: Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point) In-Reply-To: References: <87leba3ame.fsf@localhost> <88435424-afa3-d7a3-56ff-df9f0a2ca6ba@gmail.com> <875xz39cgp.fsf@localhost> <87ttk6da89.fsf@localhost> <673a0f71-c91f-8461-7388-9efbed6ba24f@gmail.com> <0c66ae28-7088-3ac7-be39-7714b8f80455@gmail.com> <87mspcave3.fsf@localhost> <253c058a-d349-41a7-7733-c73075bffcb6@gmail.com> <87sez36pvl.fsf@localhost> <2f344439-d0d6-a3e5-963c-773bb5c833d6@gmail.com> <868r07fruy.fsf@gnu.org> <2a1c5aa9-9ede-3024-fd93-56251a01f68f@gmail.com> Date: Mon, 20 May 2024 10:41:51 +0000 Message-ID: <87seycrci8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.59 X-Spam-Score: -6.59 X-Migadu-Queue-Id: DE7C03E30E X-Migadu-Scanner: mx13.migadu.com X-TUID: ZPggDrYGav3K Jim Porter writes: >> Ihor, I'll update the Org-mode part of this next and post the new patch >> for that to the Org list once it's ready. > > ... and here's the Org-mode patch for this. Thanks! > + (when (boundp 'forward-thing-provider-alist) > + (setq-local forward-thing-provider-alist > + (cons '(url . org-next-link) > + forward-thing-provider-alist))) According to the docstring, functions in `forward-thing-provider-alist' should accept a single argument - the number of "things" to skip forward/backward. But it is not what `org-next-link' expects. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at