From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kazuhiro Ito Newsgroups: gmane.emacs.bugs Subject: bug#61321: 30.0.50; Fail to load file with file variables and CRLF EOL without EOL conversion Date: Tue, 07 Feb 2023 01:01:53 +0900 Message-ID: <868rhan5ou.wl--xmue@d1.dion.ne.jp> References: <86a61qnb8m.wl--xmue@d1.dion.ne.jp> <83zg9qq0v9.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO) Cc: 61321@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 06 17:02:24 2023 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 1pP3wl-0008KV-2K for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Feb 2023 17:02:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP3we-0008Si-R0; Mon, 06 Feb 2023 11:02:17 -0500 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 1pP3wT-0008QR-0B for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 11:02:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pP3wQ-0003t8-TV for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 11:02:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pP3wQ-0004Lt-PA for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2023 11:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kazuhiro Ito Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2023 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61321 X-GNU-PR-Package: emacs Original-Received: via spool by 61321-submit@debbugs.gnu.org id=B61321.167569932216717 (code B ref 61321); Mon, 06 Feb 2023 16:02:02 +0000 Original-Received: (at 61321) by debbugs.gnu.org; 6 Feb 2023 16:02:02 +0000 Original-Received: from localhost ([127.0.0.1]:49661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP3wP-0004LX-Ut for submit@debbugs.gnu.org; Mon, 06 Feb 2023 11:02:02 -0500 Original-Received: from snd00014.auone-net.jp ([111.86.247.14]:61633 helo=dmta0008.auone-net.jp) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP3wM-0004L8-HM for 61321@debbugs.gnu.org; Mon, 06 Feb 2023 11:02:01 -0500 Original-Received: from kzhr.d1.dion.ne.jp by dmta0008.auone-net.jp with ESMTP id <20230206160154506.FSEG.23294.kzhr.d1.dion.ne.jp@dmta0008.auone-net.jp>; Tue, 7 Feb 2023 01:01:54 +0900 In-Reply-To: <83zg9qq0v9.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254971 Archived-At: > > (let ((filename (expand-file-name "test.txt" > > temporary-file-directory))) > > (with-temp-buffer > > (setq buffer-file-coding-system 'dos) > > (insert "This is a test.\n" > > "\n" > > "Local Variables:\n" > > "comment-column: 0\n" > > "End:\n") > > (write-file filename)) > > (unwind-protect > > (let (;; (coding-system-for-read 'unix) > > (inhibit-eol-conversion t) > > ) > > (find-file filename)) > > (delete-file filename))) > > > > -> Local variables entry is missing the suffix > > Thanks. Does the patch below give good results? I confirmed the problem was fixed. Thank you for the quick fix! -- Kazuhiro Ito