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#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline Date: Tue, 06 Oct 2020 09:08:40 -0400 Message-ID: References: <87v9ky9p6o.fsf@mail.linkov.net> <654acc31-015d-4552-bd9b-3b8c69661fcd@default> <0957af50-7f85-455a-9d2c-e96451727872@default> <6073a2d5-4024-465d-8293-88ad7f6127ed@default> <87mu172qxb.fsf@gnus.org> <87sgazi550.fsf@mail.linkov.net> <87tuvfxdsf.fsf@gnus.org> <875z7vdol3.fsf@mail.linkov.net> <87pn63xcgp.fsf@gnus.org> <874knd7mow.fsf@mail.linkov.net> <877ds91zvy.fsf@gnus.org> <87lfgpm82u.fsf@mail.linkov.net> <87sgawww8o.fsf@gnus.org> <87y2klixr5.fsf@mail.linkov.net> <87blhgv3ct.fsf@mail.linkov.net> <87mu10s6kn.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18865"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41250@debbugs.gnu.org, Lars Ingebrigtsen , Juri Linkov , Arthur Miller , Glenn Morris To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 06 15:14:42 2020 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 1kPmnh-0004nx-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 15:14:41 +0200 Original-Received: from localhost ([::1]:48778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPmng-0006Fw-IL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 09:14:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPmiG-0000TY-45 for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 09:09:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPmiE-0003O2-4p for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPmiD-0008RQ-Rz for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 09:09: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: Tue, 06 Oct 2020 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41250 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 41250-submit@debbugs.gnu.org id=B41250.160198973132427 (code B ref 41250); Tue, 06 Oct 2020 13:09:01 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 6 Oct 2020 13:08:51 +0000 Original-Received: from localhost ([127.0.0.1]:51962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPmi3-0008Qx-K3 for submit@debbugs.gnu.org; Tue, 06 Oct 2020 09:08:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPmhz-0008Qh-St for 41250@debbugs.gnu.org; Tue, 06 Oct 2020 09:08:50 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6F20780C95; Tue, 6 Oct 2020 09:08:42 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D5AEE8073F; Tue, 6 Oct 2020 09:08:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1601989720; bh=pQy/iscE7HNhM8k6eV8FlUUjue6gzf6omLkabpTfaGw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SrTKkHt2kGZIdcwTxYyBRU9YZJzg5Yut0DTOfkvaMgEAsLzDDD1+vW3DgHYQni/OJ vELZQ6Cunv6AUO0EOPKaLa3mFHtFDv1fWhPguP/v1ztpzozZzIls/XCCOWT3HH7Pak DdblMO9UmChD7j9H/oi9ORh5z5QwMMVmjCkYjL0T1y2yZ1ClMPnm7Rag0f74HeozjN +Il+1QA12YlktimjdOcovS+GjSx6cgdLhwY/oNMxg6H3/ahSLcQ8GeVBrTS0xhvYn7 pS8I2fNE2xQ7GJ1cbivEl7Ubp8chCpcn72ar/u9aySgRbpLTfc16kHJJkoyVvzcGmi 3Kobgczrg/0rQ== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9FBE312005B; Tue, 6 Oct 2020 09:08:40 -0400 (EDT) In-Reply-To: <87mu10s6kn.fsf@igel.home> (Andreas Schwab's message of "Mon, 05 Oct 2020 23:31:36 +0200") 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:189904 Archived-At: >> So the question is why loading mule-util.el produces this error? > Because skkdic-convert binds coding-system-for-read to euc-japan. > > $ ../src/bootstrap-emacs -batch --eval "(let ((coding-system-for-read > 'euc-japan)) (require 'mule-util))" > Invalid read syntax: "?" Does the patch below address the issue? Stefan diff --git a/lisp/international/ja-dic-cnv.el b/lisp/international/ja-dic-cnv.el index f5e70ce702..5f645b6e8e 100644 --- a/lisp/international/ja-dic-cnv.el +++ b/lisp/international/ja-dic-cnv.el @@ -329,12 +329,12 @@ skkdic-convert the generated Emacs Lisp is saved. The name of generated file is specified by the variable `ja-dic-filename'." (interactive "FSKK dictionary file: ") - (let* ((coding-system-for-read 'euc-japan) - (skkbuf (get-buffer-create " *skkdic-unannotated*")) + (let* ((skkbuf (get-buffer-create " *skkdic-unannotated*")) (buf (get-buffer-create "*skkdic-work*"))) ;; Set skkbuf to an unannotated copy of the dictionary. (with-current-buffer skkbuf - (insert-file-contents (expand-file-name filename)) + (let ((coding-system-for-read 'euc-japan)) + (insert-file-contents (expand-file-name filename))) (re-search-forward "^[^;]") (while (re-search-forward ";[^\n/]*/" nil t) (replace-match "/")))