From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id gODkFNMcOmZjJQAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 May 2024 14:21:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gODkFNMcOmZjJQAA62LTzQ (envelope-from ) for ; Tue, 07 May 2024 14:21:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=PBXVhv0L; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715084499; a=rsa-sha256; cv=none; b=FmiDR4uwczXK7xgTrh1r4ctU58l8p/97+j0VnVmv61Vkx8Dw4K1efi4YetYY2r321hd7ky KLWgHATn+cg7UoLgIOcFqxeNezjhM30iCQBK5H+Ki15benQxNgabaYm8oV3S9Os1RtWhb5 01wKw5lqXcKbJHbi5ywqVrWDP2ryVNcZdsaXhs/eJfhifcc9NG75nWqfne0sWeahbka9N0 zeENXAnyPLBazD7ycU76uhkvroH7Dj821OVTCRl3z+clDzb3byEnYoK9alURLFveGDhO8G eOYP42F0OQuRtfOHC4vBLmwtoTkx82J+kNoe6MHyRZSkwEaTwm0OSxgMGfCt6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=PBXVhv0L; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715084499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DBbNnDYOOXGccdRqi8o68iX9VN8sSl59wZVWVgBhya0=; b=UInMMS6Xya40owYPEM54/9ULUcClxV9IY4fvD4ANkRlaG9MVVgeAY8T/1Ah97HBmi3P4Nt Qog8oGEy67P315nCcjKRVU19Xq5Pw3BF6ebW8siRlldMVO6gy5H0DtwjOAUXMdzEZfAsl/ NjavKGcQMJBdBdeJFZhsGzWoxl7LSgRe9vGHyC0GunCz7KnUvHozLZjPMwlkxHXTjgVcvA uTIMBD2h969CyYZQnUsc+rsIGokQNR6PI6AAqBz/1sqRah+JoHEtRpTlkr1Ic0LULMj/CE LKuZnrnhaJSbKEW557XLiiMbUQvWdfwYoRU+oYjspHe/4MkzAwjjto13M4gD8w== 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 F29F31D37F for ; Tue, 7 May 2024 14:21:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4JoN-0007Qi-P4; Tue, 07 May 2024 08:20:48 -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 1s4JoB-0007GM-Ez; Tue, 07 May 2024 08:20:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4JoA-0002lI-IJ; Tue, 07 May 2024 08:20:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DBbNnDYOOXGccdRqi8o68iX9VN8sSl59wZVWVgBhya0=; b=PBXVhv0LO3/w A/5yHECXmRVasF+oL3T7UusbUdGSUbZOIO5dzPDYnTo8Xg4Jvo1jpTiC2S+ibmwYJVceuRtuKysEs ZdmTAtxLagbctQnHETF8TMyqaX71mGxrxIBtZzLDzLR+bDfzf5kAOobWElE85vN98B5UYGptNEe0f flHmzkchlB6uudcTrr/GbGyddcGqQpeYOJ47mU63vF3ov0vHdC0OwuuNCJUkyS4voN1/IK7TcbH49 RPFfht3a2wghra4CRu2iibVatHFZceyRjDyJahA7AjkobWujD75QV8cH6y7I0DZl3Xah7KsBKsOBG DdghoSe6e/IP2hwJLrKAQw==; Date: Tue, 07 May 2024 15:20:17 +0300 Message-Id: <8634qtbypq.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams Cc: jporterbugs@gmail.com, yantar92@posteo.net, emacs-devel@gnu.org, emacs-orgmode@gnu.org In-Reply-To: (message from Drew Adams on Tue, 7 May 2024 01:52:13 +0000) Subject: Re: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point) 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> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: F29F31D37F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.47 X-Spam-Score: -8.47 X-TUID: ZOyMfHw8sBiP > From: Drew Adams > CC: "eliz@gnu.org" , > "emacs-devel@gnu.org" > , > "emacs-orgmode@gnu.org" > Date: Tue, 7 May 2024 01:52:13 +0000 > > I hear you. The behavior should be changed so > that, in general, bounds-of-thing-at-point etc. > return nil when there is _no thing at point_, > including when point is after, including just > after, a thing but not on such a thing. > > There can be commands (and noncommand fns) that > return things _near_ point, not only at point. > And "near" can be configurable with an argument. > > In particular, they can do what the vanilla fns > currently do: return a thing at OR just before > point. But the "-at-point" functions shouldn't > do that. They should do what their names say. I disagree. These functions are nowadays the basis of many interactive features, and users are usually mightily confused by the fine print of what "at point" means technically in Emacs. The current operation is much easier for users to grasp mentally by observing the position of the cursor, whether it's on or just after the "thing". > It's not hard for Emacs to still DTRT. It just > takes a decision and admission that the behavior > was misguided and unnecessarily limiting (BIG > time). We made the decision. It just is not what you think it should be, because our considerations are different from yours.