From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74408: 30.0.92; FR: Add a function completion-list-candidate-at-point Date: Mon, 18 Nov 2024 21:59:15 -0500 Message-ID: References: <87y11hefdb.fsf@daniel-mendler.de> <87v7wle77p.fsf@daniel-mendler.de> <87bjyc15da.fsf@daniel-mendler.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74408@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 19 04:00:33 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tDETg-0002ko-Vk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Nov 2024 04:00:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDETR-0006bb-5e; Mon, 18 Nov 2024 22:00:19 -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 1tDETF-0006ZI-CI for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 22:00:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDETD-0006BK-2d for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 22:00:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=hhhPUsn/BAT2JL16FI6yCttVNr4wSKsENJ+OaGtSP+0=; b=jNndcg5jJzOWY30JFz9CZD0LubwEtAoYw8Em89RGCNpHSJNAqzmNkZ7LfLzsBzHMW1AdV55xgtnyvQXcT5gxcsqpr1dZNlP/4b/1yNtwAorxioDt1AwFKFH3hAla5HyBj30SKm6A5IpXkBnjVCMOXp3F55NE55LQVWhsWzPqmEO/WLr9MwKb8JiEmFGb9LoRfSC96Csbzb0gxwa9twcMPcM70l26wbrEFqfFhO7GVqtJLDX22MDdfOsp3X/cVv1hTUIT66mWUNtb+m/Ohp0/tVd3Pic8qP994Ahzrut9hAL1ew2/x96cjzDXs661Sorpqyoqu1MB4k+bJHs2mlU7JQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDETC-0002BK-Ko for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 22:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2024 03:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74408 X-GNU-PR-Package: emacs Original-Received: via spool by 74408-submit@debbugs.gnu.org id=B74408.17319851768313 (code B ref 74408); Tue, 19 Nov 2024 03:00:02 +0000 Original-Received: (at 74408) by debbugs.gnu.org; 19 Nov 2024 02:59:36 +0000 Original-Received: from localhost ([127.0.0.1]:39984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDESm-0002A1-CT for submit@debbugs.gnu.org; Mon, 18 Nov 2024 21:59:36 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:39016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDESj-00029l-9T for 74408@debbugs.gnu.org; Mon, 18 Nov 2024 21:59:34 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 906C3444F48; Mon, 18 Nov 2024 21:59:26 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1731985165; bh=sRMG0oYl82VPvTZMClUwURcq6QndsY00wIofgicOUyQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JtIwM/hVscspireAYIPZ0N7BxQcoS5X2M4/RZqJovrlJVeaVnYRaAone4DPCXOMas OP9ulegKc7SUJ9L+5BA08sJXZRR6EYa2lS3++pxbNPFvnbXuyh9tlzsjNMEcaqmILh c7snPFwjeCd78uxHypRL3Dwy0aUNORiLJXyhcJKkqmfCs3Mgq5IrDFhnC9w2M0ebq/ N2VvTfqOMyWlgQdlePQZhc5/wCZIZan9WQ1lRZNQm1WGPoRgPhmFqtHpajHNiLBpIX 218u8fM1rAsNizl9bJ1DPC5f00mTnsnqaKO2E8BZ2z4gb4FME1x+v092LLkwyojrlu fRj2Jlbp0JB6w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 70E6F444EF4; Mon, 18 Nov 2024 21:59:25 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 26EBC120313; Mon, 18 Nov 2024 21:59:25 -0500 (EST) In-Reply-To: <87bjyc15da.fsf@daniel-mendler.de> (Daniel Mendler's message of "Tue, 19 Nov 2024 00:36:49 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295622 Archived-At: >> AFAICT, it's easy to make `completion-list-candidate-at-point` accept an >> optional position argument (which would default to point), which would >> be helpful in the two places where we use that function. >> WDYT? > Indeed. Updated patch attached. LGTM, if there are no objections, I'll install it into `master` in a few days. Stefan