From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#55491: All completion fragments get added to obarray Date: Fri, 20 May 2022 02:03:23 +0200 Message-ID: <87ee0p83zo.fsf@gnus.org> References: <8AB5676F-ABCB-4849-AD65-B302AC5BDE6F@gmail.com> <87sfp7hpgg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55491@debbugs.gnu.org, jdtsmith@gmail.com To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 02:06:24 2022 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 1nrq9w-0005n3-Ah for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 02:06:24 +0200 Original-Received: from localhost ([::1]:48794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrq9v-00049b-42 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 May 2022 20:06:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrq7e-00048x-GL for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 20:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrq7e-0003pU-6D for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 20:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrq7e-0001Wg-2T for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 20:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 00:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55491 X-GNU-PR-Package: emacs Original-Received: via spool by 55491-submit@debbugs.gnu.org id=B55491.16530050155799 (code B ref 55491); Fri, 20 May 2022 00:04:02 +0000 Original-Received: (at 55491) by debbugs.gnu.org; 20 May 2022 00:03:35 +0000 Original-Received: from localhost ([127.0.0.1]:36923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrq7D-0001VT-0D for submit@debbugs.gnu.org; Thu, 19 May 2022 20:03:35 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrq7B-0001VF-DY for 55491@debbugs.gnu.org; Thu, 19 May 2022 20:03:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FjY3wW/+yxGzgedkgAfsxBgB0zB5jhAFk1eSfgvCEXU=; b=O+zSS2wHNNekHtTDqQg58pK2en guDrdzGFtz6msG60f4vZSXXdwHuTu5CTYxZDN+VvHi3OdD+mN0dE6rJstLM4n7OvdTQYNQM5vYByy SU8+qXYat6HClDLYOXLtN8E7rynMZxjXi3Vno9i/PLWoxvIRIoVzatuthC6zeid5GuaE=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrq72-0008Nl-Gb; Fri, 20 May 2022 02:03:26 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWxr6rZ1MiGgns1 MzH///9Axw47AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFExcnDEyfboUAAAGESURBVDjLdZOJjcQg DEVtaMDONMDRQIL7720/BnJpgzQj4sf3CUTEyool2Ahh9X/fzO9/1if4XPwF9L3urmcaTyBv5WU4 i+ky5gH0HqOWcKQ0/d5BSEQhvBRbSd0ZD4+QyDxsZjCW/AICux0PxRBE2IkDBRF6KKpZClpbaqE8 ABQJR4W5Jzpb2FHleLZkABGBQbLyVc6og3tTxJN5KjyKB/IaNO66BjWBeOnFbAWX6T50ICnVvOYx nEsKmXQjsnx6QmiBABb5LdDn4vlsezWSQElmDJUBYqvNrCnFvIBXAH8FCWX0ZgCeAIkFQqZqtj9B 0Jgp6GazjlFCUvRQdhzq8+ILsHBMujH9TjAah8wi/JPZDbDfPf0B9ADWFujFFbi0MXg7ziYCNGbM cIDtbHtXAMcm1QXHBYSyIEjrgriAOsBV80ythZovsMkJrM/gUshKyUyEr6wAjgkarqncgWUHpZ0v k/2plZLwK6niBj8e7Fh7L8T+efEj/MuI10fRPhTB8/LtHw6CQir5aoJ0AAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIyLTA1LTE5VDIzOjM5OjEyKzAwOjAwJP0TSgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy Mi0wNS0xOVQyMzozOToxMiswMDowMFWgq/YAAAAASUVORK5CYII= X-Now-Playing: Hector Zazou's _Reivax au Congo_: "L'Apparition" In-Reply-To: (Richard Stallman's message of "Wed, 18 May 2022 18:19:48 -0400") 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" Xref: news.gmane.io gmane.emacs.bugs:232679 Archived-At: Poking at this some more, this behaviour comes from: (defun elisp-completion-at-point () [...] (fun-sym (condition-case nil (save-excursion (up-list -1) (forward-char 1) (and (memq (char-syntax (char-after)) '(?w ?_)) (read (current-buffer)))) (error nil)))) That `read' there is interning `ohno' when hitting `C-M-i' after: (ohno And that's unnecessary -- we don't actually need the fun-sym; we're just checking whether we're looking at `ignore-error'. So I've now fixed this in Emacs 29. Note that completion in emacs-lisp-mode may still intern stuff, but not as gratuitously as before. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no