From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point) Date: Mon, 5 Feb 2024 14:44:12 -0800 Message-ID: References: <87leba3ame.fsf@localhost> <88435424-afa3-d7a3-56ff-df9f0a2ca6ba@gmail.com> <875xz39cgp.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29877"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, emacs-orgmode@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 05 23:44:58 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 1rX7hw-0007ct-I2 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Feb 2024 23:44:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX7hN-00057m-SR; Mon, 05 Feb 2024 17:44:22 -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 1rX7hM-00057V-0k; Mon, 05 Feb 2024 17:44:20 -0500 Original-Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rX7hH-0003tE-DH; Mon, 05 Feb 2024 17:44:19 -0500 Original-Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-290b37bb7deso4066811a91.0; Mon, 05 Feb 2024 14:44:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707173053; x=1707777853; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=9IvEHtW7dmyw7WzQpuEZ+QSt9pCY99y6VfoJbXO6Y94=; b=GBrgWYsnARw357fz4BtqZGUZalM79bRRV8g8rNz7E22oHJ3fsJhNc+ZM9T22MUSA3/ iWkbq7X4NtxNxtxc4PNrXY74TxT8sh48gUw5dIP9SixPa8WEUBg+Qyzwne7APXd4p071 k3konMYw1bz58CuJN6PtXbeE2+ReoJwLy9uWNxrFzrQIiFvtatI1OM2dbUwOuvWgliUs Yp0PK5hOGghd7Lx7GPxhUL/Ut9cSVTi8liosuQO4LB+SCv39IHrOGPUW6vmyduj0DfN5 t9yspTCtcC6fnCoDE1LSR5VRBESFodpFN8fVJJun48B6ykNZ7Yh9SmvdR8NemiS5HdE/ kOLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707173053; x=1707777853; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9IvEHtW7dmyw7WzQpuEZ+QSt9pCY99y6VfoJbXO6Y94=; b=F69BIA2/cX4JlVKlAAOdb7IQoQefejN5PUUkcg29b6SZ3ULP1oxthloV1mVATPE2ag BMCsxiy6CyhqK4/oLS4Z5+eSOegBuL7Oaw/WK86DHeqJpsGiaNQiy6G90NW9MfWk3I3A iOawHV75CGh46hvPrS/H1mFWa1Nro5id9DiPYWBDygnioL+8P1byX7oqdtVFoV+mY1/Z lIaFjZU7Hu7K3uIzoK8TOXhDEauLwl8ToALA/IY9D5mWAUeamdPeSD4YiQEG5l6DFnuZ yB+LCO9ymkqShrOjpydFpk8bnirVDtU1mSRdwuvODGAc4vyX/OxS3MZaEBaqTIhahaak oBAg== X-Gm-Message-State: AOJu0YxzNkUUeuLCgyG1T9uo1ziJKy7HTgfV1pMHwbCVJWBwwUd6GOs6 RdFrdwV7lxo7JARmteF0V0598aNXlT9DfaqDg7ZvZLRftheZkWgTuuYAPZIn X-Google-Smtp-Source: AGHT+IHLJwQh5EYoKuGGyK0F+8EEtwcUfr9yw9qXt6twDDKSnxF36eoYD3EON+AhJLI51n3XHs7z2A== X-Received: by 2002:a17:90a:e2c2:b0:295:f717:881a with SMTP id fr2-20020a17090ae2c200b00295f717881amr775459pjb.35.1707173053551; Mon, 05 Feb 2024 14:44:13 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWq8MRax+Z4fUoiAr7nr8JXLWt3o7hDRWroUv3Lv6r+zQ7AJmYH7FhbCPH88xIJldKIZvHEtHYHhWKDtavhVGofEaBB8m4= Original-Received: from [192.168.1.2] (076-168-148-233.res.spectrum.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id iy15-20020a170903130f00b001d8f3c7fb96sm396053plb.166.2024.02.05.14.44.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Feb 2024 14:44:13 -0800 (PST) Content-Language: en-US In-Reply-To: <875xz39cgp.fsf@localhost> Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=jporterbugs@gmail.com; helo=mail-pj1-x1033.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:315907 gmane.emacs.orgmode:159627 Archived-At: 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).