From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#41423: Installing the fix for bug#41423 on emacs-27 Date: Fri, 23 Apr 2021 18:14:19 -0400 Message-ID: References: <86k116inmr.fsf@sacsa.i-did-not-set--mail-host-address--so-tickle-me> <86tunzaah7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31471"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41423@debbugs.gnu.org To: =?UTF-8?Q?Andr=C3=A9s_?= =?UTF-8?Q?Ram=C3=ADrez?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 00:15:11 2021 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 1la44s-00084x-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 00:15:11 +0200 Original-Received: from localhost ([::1]:49318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la44r-00044L-Sh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 18:15:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la44k-00043G-77 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 18:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55809) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1la44j-0006pe-Vm for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 18:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1la44j-0001ii-Qe for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 18:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41423 X-GNU-PR-Package: emacs Original-Received: via spool by 41423-submit@debbugs.gnu.org id=B41423.16192160696561 (code B ref 41423); Fri, 23 Apr 2021 22:15:01 +0000 Original-Received: (at 41423) by debbugs.gnu.org; 23 Apr 2021 22:14:29 +0000 Original-Received: from localhost ([127.0.0.1]:39122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la44D-0001hk-CJ for submit@debbugs.gnu.org; Fri, 23 Apr 2021 18:14:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1la44C-0001hX-5u for 41423@debbugs.gnu.org; Fri, 23 Apr 2021 18:14:28 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9B27080A9C; Fri, 23 Apr 2021 18:14:22 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 28BF980533; Fri, 23 Apr 2021 18:14:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1619216061; bh=oCQKbrMHkxDy1kkerldc72PbvkOgLGx9CeTFyzUjiPk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=N10B9UVuz161oNHG4P7SK5pZ1MuS0Heqz9Qb6wP1pU/cSCs0kgBPq8bmtOJ0Wsxdn 6l4uI/ga/u9i1EGK+HGByRdvJR6/b2SHnDx/Vz2zXqXd83fPKY/DW/wKKe/+JCFbI3 gzKzGt5Rg+N/xiDodvnAB2GZ9guwauisRCURqB4q8McaT36eRAI8cv2iJSHdpXNAb1 4NcuG4w0j8zkT0195pAYpgKKTagzhovmyfjuYiJlnm8cFU6QcwHaEm3yYeduoh1ZNd VafMdC/4bOdrXp2rQPDtEOJmt0kKLZ96b+SM3du/mp1GoK+UH7tmlkeKEQ9NpgfFXH DFTJD4Z9QDnoA== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C910E1200C3; Fri, 23 Apr 2021 18:14:20 -0400 (EDT) In-Reply-To: <86tunzaah7.fsf@gmail.com> ("=?UTF-8?Q?Andr=C3=A9s_?= =?UTF-8?Q?Ram=C3=ADrez?="'s message of "Wed, 21 Apr 2021 16:06:12 +0000") 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:204765 Archived-At: > I have been testing the 'minimalist version of the patch'. > > And I have found this issue: > --8<---------------cut here---------------start------------->8--- > http://debbugs.gnu.org/47389 > --8<---------------cut here---------------end--------------->8--- > > For fixing that issue. I have added a tiny modification. to the > 'minimalist version of the patch' > which is: > --8<---------------cut here---------------start------------->8--- > - (if glob-name > + (if (and (boundp 'glob-name) glob-name) > --8<---------------cut here---------------end--------------->8--- > > That change let me workaround bug#47389. > The change is OK? No, the missing part is the `-*- lexical-binding:t -*-` on the first line of the file in which you place that code. The above workaround you found might mostly work OK, tho; I suspect it will just mis-complete when you use a command name like `*foo`. Stefan