From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 20 13:54:52 2021 Received: (at submit) by debbugs.gnu.org; 20 Jun 2021 17:54:52 +0000 Received: from localhost ([127.0.0.1]:34879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv1em-0002aX-JI for submit@debbugs.gnu.org; Sun, 20 Jun 2021 13:54:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:37346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv1el-0002aL-8e for submit@debbugs.gnu.org; Sun, 20 Jun 2021 13:54:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv1ek-0004EZ-VE for bug-gnu-emacs@gnu.org; Sun, 20 Jun 2021 13:54:50 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv1eh-00035J-VC for bug-gnu-emacs@gnu.org; Sun, 20 Jun 2021 13:54:49 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7F9DE10028B for ; Sun, 20 Jun 2021 13:54:45 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 46E9D1000C9 for ; Sun, 20 Jun 2021 13:54:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1624211684; bh=JEcENNkaHiq/oxaQF7aYdzQsm/XyDYdpLlQZgw/gZX4=; h=From:To:Subject:Date:From; b=ciZ0Levt06wtcbIJaV7e+APl1/O13jvsAmV1mPAqJ3zMP8orQiI3+C1HzS6gOj+RK 0oV9xyOCom4sfi2Ilnb0P7v8rJbwYkQus5qdem6pEEyXR4pvzxfA4Xe9X141IKYeaE xmv//b44s2V/bvejlk/DyfcC2TKBgXBU6LBnVwmfiml7A+Ll/93MDcUuuF1nUz9REK M2W8jIqL65iotB18a1WVONpIuWhszlh/bj7PqfBHb8qgZLy2hRMDiYIEb0blIF2zfP X6mgC3VHSVEtStHKg82dB0M/CLyMPLfJ6NG2zrxLXVzMJmurIet4mYyDQy1NqYHnpN 2fZEEdJ/zYsPA== Received: from alfajor (69-196-163-239.dsl.teksavvy.com [69.196.163.239]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2EE0C120177 for ; Sun, 20 Jun 2021 13:54:44 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: 28.0.50; find-file-literally doesn't ignore `mode:` Date: Sun, 20 Jun 2021 13:54:32 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.014 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Package: Emacs Version: 28.0.50 Contrary to its documentation, it seems that `find-file-literally` doesn't ignore file-local `mode:` settings any more, as evidenced by the following backtrace: dismal-mode() hack-one-local-variable(mode dismal) hack-local-variables-apply() hack-local-variables(no-mode) run-mode-hooks() fundamental-mode() set-buffer-major-mode(#) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/tmp/normalization.dis" nil nil "~/tmp/normalization.dis" (1347023 65026)) find-file-noselect("~/tmp/normalization.dis") I suspect the culprit is commit 5bedbe6b1d5f4b801abf91b4d023d5c4e66418f0 Author: Lars Ingebrigtsen Date: Mon May 10 12:40:11 2021 +0200 Always heed the `lexical-binding' local variable * doc/lispref/variables.texi (File Local Variables): Document `permanently-enabled-local-variables'. * lisp/files.el (enable-local-variables): Mention the new variable. (set-auto-mode): Always call `hack-local-variables'. (hack-local-variables): Factor out the variable gathering into its own function, and respect the new variable (bug#47843). (hack-local-variables--find-variables): Factored out from `hack-local-variables'. (permanently-enabled-local-variables): New variable. -- Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 08:54:38 2021 Received: (at 49143) by debbugs.gnu.org; 21 Jun 2021 12:54:39 +0000 Received: from localhost ([127.0.0.1]:35776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJRm-00079q-NZ for submit@debbugs.gnu.org; Mon, 21 Jun 2021 08:54:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJRk-00079Y-V8 for 49143@debbugs.gnu.org; Mon, 21 Jun 2021 08:54:38 -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=OOj0SlfoQqqPJ81GkrzhpBq3ct1f9ZiRp3twmCmRBu4=; b=OvaEr0dPjO+urMsGer8W5VdC2+ 3obTNjdHFcaY/qA9UI4A3wL7kQt/U0C4VMP5gbrQv0MpkZan1AkNmnqUj64flWA+p30uokQEME33L FwIQuYRXe3tk8mYNUGxyOUP5eKa0H78X0Q8/mSam1v+gZVkQGQlCx6A3Nfeva5gzp5Ww=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvJRb-00049Z-P6; Mon, 21 Jun 2021 14:54:29 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#49143: 28.0.50; find-file-literally doesn't ignore `mode:` References: X-Now-Playing: The Police's _Outlandos d'Amour_: "Next to You" Date: Mon, 21 Jun 2021 14:54:27 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 20 Jun 2021 13:54:32 -0400") Message-ID: <8735tbtm2k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > Contrary to its documentation, it seems that `find-file-literally` > doesn't ignore file-local `mode:` settings any more, as evidenced by the > following backtrace: > > dismal-mode() > hack-one-loca [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49143 Cc: 49143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: > Contrary to its documentation, it seems that `find-file-literally` > doesn't ignore file-local `mode:` settings any more, as evidenced by the > following backtrace: > > dismal-mode() > hack-one-local-variable(mode dismal) Oops. > I suspect the culprit is > > commit 5bedbe6b1d5f4b801abf91b4d023d5c4e66418f0 > Author: Lars Ingebrigtsen > Date: Mon May 10 12:40:11 2021 +0200 Yes, indeed. I think I've now found the right fix -- I'm not totally confident that it's the correct level to fix this on, though... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 22 09:27:41 2021 Received: (at control) by debbugs.gnu.org; 22 Jun 2021 13:27:41 +0000 Received: from localhost ([127.0.0.1]:38138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgRJ-0004Ra-5i for submit@debbugs.gnu.org; Tue, 22 Jun 2021 09:27:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvgRH-0004RN-P7 for control@debbugs.gnu.org; Tue, 22 Jun 2021 09:27:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+wl9W9fRepiD6/Yg8V+NPSNd/CYYoHZQKsxKEyM+1pQ=; b=kI+M6ipBKzQAwGJKgV7zDvenMZ vrfkofw31wYDz0HH7Aufahtkf4i/uFAykZJuHaAmD74ZTynBIjJSdIK13jubY+QpVNYq9s0yN0DPz qHna7G+KrMPUkFq7rfufjB4ESYD0dzThBgJtNQQTp/lDm/OH97rtQDqMaEk+iGJXGqyA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvgRA-0006oo-3Q for control@debbugs.gnu.org; Tue, 22 Jun 2021 15:27:34 +0200 Date: Tue, 22 Jun 2021 15:27:31 +0200 Message-Id: <874kdqqbb0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49143 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 49143 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 49143 28.1 quit From unknown Thu Aug 21 12:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Jul 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator