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#48990: 28.0.50; buffer-local and threads malarkey Date: Sat, 12 Feb 2022 15:28:56 -0500 Message-ID: References: <87r1h68z90.fsf@dick> <871r578ur1.fsf@dick> 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="19344"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 48990-done@debbugs.gnu.org To: dick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 12 21:30:18 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 1nIz2A-0004rm-F9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 21:30:18 +0100 Original-Received: from localhost ([::1]:55540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIz29-0003Fc-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 15:30:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIz1w-0003F4-1L for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 15:30:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIz1v-0003kt-OB for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 15:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIz1v-0003Kq-F6 for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 15:30:03 -0500 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 20:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 48990 X-GNU-PR-Package: emacs Mail-Followup-To: 48990@debbugs.gnu.org, monnier@iro.umontreal.ca, dick.r.chiang@gmail.com Original-Received: via spool by 48990-done@debbugs.gnu.org id=D48990.164469775312732 (code D ref 48990); Sat, 12 Feb 2022 20:30:03 +0000 Original-Received: (at 48990-done) by debbugs.gnu.org; 12 Feb 2022 20:29:13 +0000 Original-Received: from localhost ([127.0.0.1]:35735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIz17-0003JH-3W for submit@debbugs.gnu.org; Sat, 12 Feb 2022 15:29:13 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:39258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIz15-0003J5-RS for 48990-done@debbugs.gnu.org; Sat, 12 Feb 2022 15:29:12 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B9C26441466; Sat, 12 Feb 2022 15:29:05 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C8D9C44027B; Sat, 12 Feb 2022 15:28:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1644697739; bh=KCZ6rshEWLqW6w53Au2tbcAYBG0dzVXNBlyoWA5yuVk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZYkoXkhlOTP9MIJsFoU7o3gt1s2iU6BNTbGmI0S1+1Lu4HodsPlitPZ/ApVJdPqJx gmgC5ARkCZaJlSvP7arEEYzVgZ7lAV8zihUz1a8W/xPH0qqe8lIIlWzo4Mcsm4bt3q rl3t6T/VOilaQXnXFF6Njoa0eqFif2vkFCpcdD9z9clpflB9jX11E5MsvGgeb/rIZd 7R4IJAeUUjyCrGIpggh6Zy09HS7WEeHP+GDkJij7hDAcaI9Hnoq/b4FHXohigZ9+5K SvG3DEP96JI0z9fybQAoi8h+L/G25anbbrvbq4zmIWeF0ZG8ldeoiLadtpa3BJZXvY MiMV6SktR4JSQ== Original-Received: from pastel (unknown [45.72.237.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 889EC120434; Sat, 12 Feb 2022 15:28:59 -0500 (EST) In-Reply-To: <871r578ur1.fsf@dick> (dick's message of "Wed, 29 Sep 2021 07:51:46 -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:226746 Archived-At: Thanks for the report. I just pushed a patch to `master` which fixes this bug by replacing the context switch code with that originally written for `backtrace-eval`, which already handles those cases (more) correctly. Stefan