From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bug or feature? Date: Sat, 01 Jun 2024 17:06:05 +0300 Message-ID: <86v82soj02.fsf@gnu.org> References: <87zfsn7evr.fsf.ref@yahoo.com> <87zfsn7evr.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19480"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 01 16:06:57 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 1sDPNo-0004pS-NS for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Jun 2024 16:06:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDPN4-0000eO-AA; Sat, 01 Jun 2024 10:06:10 -0400 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 1sDPN2-0000ds-W5 for emacs-devel@gnu.org; Sat, 01 Jun 2024 10:06:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDPN2-0000TV-NO; Sat, 01 Jun 2024 10:06:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/nK9Y6pY8L2Kl1lAwNMMmqzjOMxNi8q9DuUTDJuM/xE=; b=CqndgvBSdAtn c4xfUPc9BzwB5aooehJhDp6bD3baoAFoHdnTI+Rvb/QaFfRV/gQ4yKi09EMDvkawNtwg/+vbdEOYX FU5fnFRKZe5Q6fmHzNMiXuxXsy4W3Z+OF629sKeI25TESIf9ebDGps9NQtLPhr8hBB3tZwaTIsx4w Mb72rMA5S5SHOefHqmCoWCzYAn+wxuhq2YmPXfEWB392OEfz8WZhMVGhr7OF51NsOq1iPSVlgbMJS tfeJvl3Qiihj37/yg4FpHkJWUTToIZmHI5h48PQyZC32UWBaylXsgts2lpqda/MQXAL7qMBb59EMx l93sU4MvnrXMzgrhiBOWEQ==; In-Reply-To: <87zfsn7evr.fsf@yahoo.com> (message from Po Lu on Sat, 18 May 2024 15:34:00 +0800) 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:319778 Archived-At: > From: Po Lu > Date: Sat, 18 May 2024 15:34:00 +0800 > > There is an elaborate segment of code in reset_buffer_local_variables > for, among other actions, eliminating outdated value cells from > buffer-local symbols that is not run when the shortcut is taken of > clearing local_var_alist_ in the case where PERMANENT_TOO is set, which > I suspect results in variable watchers being ignored and outdated symbol > values persisting. Is there a specific reason for this discrepancy, or > is it just an oversight? Stefan, any comments?