From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: RE: Re: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point) Date: Wed, 8 May 2024 18:09:04 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000a71a90617f387d8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22250"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 08 18:10:24 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s4js7-0005jx-VZ for ged-emacs-devel@m.gmane-mx.org; Wed, 08 May 2024 18:10:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4jrN-0006iB-0T; Wed, 08 May 2024 12:09:37 -0400 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 1s4jrL-0006hy-8g for emacs-devel@gnu.org; Wed, 08 May 2024 12:09:35 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4jrJ-0002nb-JO for emacs-devel@gnu.org; Wed, 08 May 2024 12:09:35 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a4702457ccbso1215986366b.3 for ; Wed, 08 May 2024 09:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715184570; x=1715789370; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6hEL4t5KrHth2fESpDVbDsfLbg/+PCtRh2VoESPNuVo=; b=Ge+XJuYvGGEsLQq/1rh8t/+BQ3uUWTa527ujGzIHzjH1qmWQC6mQH6F8EXuaqBqojo KjmGxyQ/zKJpqtOZ0FO0hDGsOqhQ852aBxJleRcye+pjV8XhhdTA9d5snjxG45m34IN5 6Y15GMABvUrC/C/NBPCEn79coCepFinbGvWsXLi2AqQVYl3paMJD67SiD8hYWsnH1ROY D5gPnjL+ZA89kfeS/nsbqtxVocnS6o9L81PNiZdL9IIWd1edlW4/oT+6J5XbZZZ2UGQj FBEKBq39DRwt9cNJuY1mbiIrUo1trpDXgBvP1Qo+HfRvaF8dFf/NLB5a1acpDmrGHsk4 SHSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715184570; x=1715789370; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6hEL4t5KrHth2fESpDVbDsfLbg/+PCtRh2VoESPNuVo=; b=QBHezlLcyowEJV8pgMZPQWpw75X+RCLekt/GOEud5XtV5y07ZUfpnA45fh+5sgWpTH NmaKQAw5meUFZ5hRtej+yXMzvVRDtAvCe1lpjC0DejhF6+2spLEhbsPkgyQuGRXas0vW bfgZAm8PFcucB7U4YjehPYY+03ARBa+Jr9xZNOFYq13hNfJNql3tkXCRYH9o8SK6wGSJ SwQxQHkm/eTcNh/r2LZj5QO+w2975vUuhPO+i5a1kRtfS5aGB8zZCmjDF78WtcFavhiT Lpy7hN0Pa9ZxxSIEa5VJ+NQnw/FWTiBHkiAFXkh99ZdBgIpCmh+x/bJvJ43QIfBvCDdF IyLA== X-Gm-Message-State: AOJu0Ywc1241ILilVavO9YUSqdHB+/T8sNO6n+wgqF6VcCZ90VuuvEBq JYws2RPAO1UX/ztcqW3kY6LJvMP2ciEng4X7pjiu1Sr4m/Kd1fAMrzCYkQJI8kHeu2ReJlMa6KD haMnXdHD7pn5X99zetI5LqAarMWJRMz3P X-Google-Smtp-Source: AGHT+IH7btu9teWz/iGidk12uQrZ4e4rbOs3Zld/VtluQnP2qyuVH1mlrwR7HPMg595TZo6u1U+4ssUgvm4PWhOTVAA= X-Received: by 2002:a50:9f44:0:b0:56e:7751:ae4e with SMTP id 4fb4d7f45d1cf-5731da64035mr2184071a12.33.1715184570360; Wed, 08 May 2024 09:09:30 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=paaguti@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319013 Archived-At: --0000000000000a71a90617f387d8 Content-Type: text/plain; charset="UTF-8" Jim wrote: > At the risk of veering off-topic (I mainly care about adding > 'bounds-of-thing-at-point-provider-alist' and > 'forward-thing-provider-alist'), would adding a new optional STRICT > argument to 'thing-at-point' and friends be an ok resolution for > everyone? This argument would enable Drew's proposed behavior. That way, > users get all the nice behavior by default just like today, and > programmers who require strict correctness in their code also have an > option. 1+ if STRICT means thing starting at point and without it we may need to look for the beginning of the thing (lazy point setting).... /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --0000000000000a71a90617f387d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Jim wrote:

> At the risk of = veering off-topic (I mainly care about adding
> 'bounds-of-thing-= at-point-provider-alist' and
> 'forward-thing-provider-alist&= #39;), would adding a new optional STRICT
> argument to 'thing-at= -point' and friends be an ok resolution for
> everyone? This argu= ment would enable Drew's proposed behavior. That way,
> users get= all the nice behavior by default just like today, and
> programmers = who require strict correctness in their code also have an
> option.

1+ if STRICT means thing starting at point and = without it we may need to look for the beginning of the thing (lazy point s= etting)....

/PA
--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um= gestellt zu werden
Georg Kreisler

Headac= hes with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.= uniter.operation we should run a leader-deposed hook here, but we can't= yet

--0000000000000a71a90617f387d8--