From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point) Date: Mon, 05 Feb 2024 22:56:05 +0000 Message-ID: <87mssebjwa.fsf@localhost> References: <87leba3ame.fsf@localhost> <88435424-afa3-d7a3-56ff-df9f0a2ca6ba@gmail.com> <875xz39cgp.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, emacs-orgmode@gnu.org To: Jim Porter , stefankangas@gmail.com, Eli Zaretskii Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Mon Feb 05 23:53:20 2024 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rX7q3-0008gv-PX for geo-emacs-orgmode@m.gmane-mx.org; Mon, 05 Feb 2024 23:53:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX7pZ-0007cj-BD; Mon, 05 Feb 2024 17:52:49 -0500 Original-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 1rX7pX-0007cS-Uo for emacs-orgmode@gnu.org; Mon, 05 Feb 2024 17:52:48 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX7pS-0005NE-9n for emacs-orgmode@gnu.org; Mon, 05 Feb 2024 17:52:47 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 63B73240027 for ; Mon, 5 Feb 2024 23:52:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707173559; bh=oHq7tJQ+LyJYxfwDgyD/gBB4RasQUB2BAqj3UvAAK3M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Sez2eKJqC0NTNiO6wc0OAwlwHXrvn0ta2NqXe+Mp/0EHgdg1Z5zViaetmJbJNXIa5 O0mo+Ri2qF30ydNMFe2yvDXAdHDAvpvqYmsaVphN3H3OochUyfi9iusJWb+IlSU+bX X04s4ajxQjxlT5rWPwZv0Ian7ocoZ3IyUifOyxqap4coXDpH/99Jnyw2K42xphhnyT dNUUoGpQNFdmyv0X6xG4ox+0Y/12dyv4FL7JMTbn3j6+xMnVFvjcd4fOy2IZvKdGNS 9eIsrv+9ecId8dIoQlwal/isxf359aSmkz7Ejmp1nXYR0PP11iWkT8VisV5gs5hiPN Bs8AMNvSyo2Dg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TTM8k46Dpz6txx; Mon, 5 Feb 2024 23:52:38 +0100 (CET) In-Reply-To: Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.orgmode:159628 gmane.emacs.devel:315908 Archived-At: Jim Porter writes: > On 2/5/2024 7:07 AM, Ihor Radchenko wrote: >> It would make sense to add a number of alists: >> - bounds-of-thing-at-point-provider-alist >> - same for 'forward-op, 'beginning-op, 'end-op. >> >> After Emacs have those, we can add Org mode support. > > That sounds reasonable enough to me; does anyone else have opinions on > this? Otherwise, I'll get to work on a patch (though probably not for a > couple weeks). CCing Stefan and Eli. Please, let us know if the above is something not wanted upstream. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at