From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Kan Sasaki Newsgroups: gmane.emacs.bugs Subject: bug#39672: 28.0.50; can't visit directory in Dired Date: Wed, 19 Feb 2020 11:52:55 +0900 (JST) Message-ID: <20200219.115255.268068588098001120.sasaki@fcc.ad.jp> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Feb_19_11_52_55_2020_699)--" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63548"; mail-complaints-to="usenet@ciao.gmane.io" To: 39672@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 19 04:43:16 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 1j4GGZ-000GOX-7M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Feb 2020 04:43:15 +0100 Original-Received: from localhost ([::1]:45152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4GGY-0005nU-AO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Feb 2020 22:43:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44065) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4GGP-0005jy-01 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:43:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4GGN-00082Z-6A for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:43:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4GGM-00081d-HU for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4GGM-0005sH-F9 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 22:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kan Sasaki Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Feb 2020 03:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39672 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158208373622527 (code B ref -1); Wed, 19 Feb 2020 03:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2020 03:42:16 +0000 Original-Received: from localhost ([127.0.0.1]:41541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4GFb-0005rF-0M for submit@debbugs.gnu.org; Tue, 18 Feb 2020 22:42:16 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4FU5-0004e3-0C for submit@debbugs.gnu.org; Tue, 18 Feb 2020 21:53:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52926) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4FU2-0002MG-KW for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 21:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4FU0-0006Vs-0Y for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 21:53:05 -0500 Original-Received: from smtp1.fcc.ad.jp ([2400:5100::1:25]:30170) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4FTz-0006Pm-0r for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2020 21:53:03 -0500 Original-Received: from mail.noc.fcc.ad.jp (mail.noc.fcc.ad.jp [192.168.2.29]) by smtp1.fcc.ad.jp (8.15.2/8.15.2) with ESMTP id 01J2qt4F087425 for ; Wed, 19 Feb 2020 11:52:55 +0900 (JST) (envelope-from sasaki@fcc.ad.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fcc.ad.jp; s=smtp1; t=1582080775; bh=VnkacmXYzkYYpKACnrvg4iGiKOXnaqgczoOtIw8xHBg=; h=Date:To:Subject:From; b=PNj1C9Z5L0TNcrq7IOQCQI/kfW5VMCtiWD7KSl7TsTc8xQLaMTVcCneuWTFkBPnDl Mp+d3G7BZBhMy5QZSWevTdTGdT/lQPfs4mQyM27D5RnUk/YexzmtNMDI8M//5ixwdN wZmyJjtbFuRx4wJ3u2LDWLHib0kqRxnPHvZQkQEI= Original-Received: from ayoki.noc.fcc.ad.jp (ayoki.noc.fcc.ad.jp [192.168.1.125]) by mail.noc.fcc.ad.jp (Postfix) with ESMTP id 9F76F1A7CB; Wed, 19 Feb 2020 11:52:55 +0900 (JST) Original-Received: from localhost (localhost [IPv6:0:0:0:0:0:0:0:1]) by ayoki.noc.fcc.ad.jp (8.15.2/8.15.2) with ESMTP id 01J2qtfF019891; Wed, 19 Feb 2020 11:52:55 +0900 (JST) (envelope-from sasaki@fcc.ad.jp) X-Mailer: Mew version 6.8 on Emacs 26.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (smtp1.fcc.ad.jp [192.168.2.154]); Wed, 19 Feb 2020 11:52:55 +0900 (JST) X-Virus-Scanned: clamav-milter 0.102.2 at smtp1.fcc.ad.jp X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Tue, 18 Feb 2020 22:42:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176236 Archived-At: ----Next_Part(Wed_Feb_19_11_52_55_2020_699)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit In Dired, I can't visit directory which encoding is euc-jp. When I type 'i' on the directory, emacs says 'Attempt to insert a non-directory: DIRECTORY.' When I type 'RET' on the directory, emacs says 'File exists, but cannot be read' and shows empty buffer. This issue has occured since the following change: 9dc306b1db Improve reporting of I/O, access errors I compared the files with the previous ones. I guess the attached patch may fix this issue. In GNU Emacs 28.0.50 (build 1, x86_64--freebsd, GTK+ Version 3.24.10, cairo version 1.16.0) of 2020-02-19 built on ayoki.noc.fcc.ad.jp Repository revision: 2b04ca05ad9f3679a047ffc06b35d2d61d74b12e Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: 12.1-STABLE Recent messages: Connecting to the POP server... Opening a TCP connection ... Connecting to the POP server...done Communicating with the POP server... Sending your POP password to the POP server... No new messages [2] is nil. C)reate D)up P)reserve F)indfile B)uff X)M-x k)KeyFunc&exit N)o: Switch to window[2] Memorize current window configuration into 2 Opening a TCP connection ... Configured using: 'configure amd64--freebsd --prefix=/home/sasaki/local/emacs --with-x-toolkit=gtk3 --without-xim --disable-acl 'CFLAGS=-O2 -pipe' 'CPPFLAGS=-O2 -pipe' LDFLAGS=' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY KQUEUE GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: C value of $LC_TIME: C value of $LANG: ja_JP.eucJP value of $XMODIFIERS: @im=uim locale-coding-system: japanese-iso-8bit-unix Major mode: Lisp Interaction Minor modes in effect: recentf-mode: t override-global-mode: t avy-migemo-mode: t global-ace-isearch-mode: t ace-isearch-mode: t helm-migemo-mode: t delete-selection-mode: t cua-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/sasaki/.emacs.d/elpa/28/magit-20200208.551/magit-section hides /home/sasaki/.emacs.d/elpa/28/magit-section-20200123.2235/magit-section /home/sasaki/local/emacs/share/emacs/28.0.50/lisp/tempo hides /home/sasaki/.emacs.d/elisp/html-helper/OLD/tempo /home/sasaki/.emacs.d/elisp/html-helper/html-helper-mode hides /home/sasaki/.emacs.d/elisp/html-helper/OLD/html-helper-mode Features: (shadow autoinsert emacsbug message rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail pp network-stream nsm rmc mew-varsx mew-unix mail-utils c-sig mew-ical cal-menu calendar cal-loaddefs rfc2047 rfc2045 mm-util mail-prsvr ietf-drums ht clearcite-mew clearcite mew-w3m w3m mailcap doc-view jka-compr recentf-ext dired dired-loaddefs image-mode exif timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-favicon w3m-image tab-line w3m-proc w3m-util mew-auth mew-config mew-imap2 mew-imap mew-nntp2 mew-nntp mew-pop mew-smtp gnutls puny mew-ssl mew-ssh mew-net mew-highlight mew-sort mew-fib mew-ext mew-refile mew-demo mew-attach mew-draft mew-message mew-thread mew-virtual mew-summary4 mew-summary3 mew-summary2 mew-summary mew-search mew-pick mew-passwd mew-scan mew-syntax mew-bq mew-smime mew-pgp mew-header mew-exec mew-mark mew-mime mew-edit mew-decode mew-encode mew-cache mew-minibuf mew-complete mew-addrbook mew-local mew-vars3 mew-vars2 mew-vars mew-env mew-lang-jp mew-mule3 mew-mule mew-gemacs mew-key mew-func mew-blvs mew-const mew ccc s dash helm-ag compile comint ansi-color windows revive web-mode disp-table sgml-mode dom sync-recentf recentf tree-widget wid-edit diff-mode dabbrev-highlight dabbrev use-package-bind-key bind-key avy-migemo migemo avy ring ace-isearch helm-swoop helm-grep helm-regexp format-spec helm-utils helm-help helm easy-mmode edmacro kmacro helm-source eieio-compat helm-multi-match helm-lib async ace-jump-mode cl cl-extra help-mode use-package-core atomic-chrome websocket url-cookie url-domsuf url-util bindat let-alist server delsel cua-base windmove utf-7 paren term/bobcat session finder-inf tex-site advice w3m-load info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 375112 16620) (symbols 48 29028 1) (strings 32 130163 2393) (string-bytes 1 3826791) (vectors 16 38708) (vector-slots 8 605645 18128) (floats 8 130 23) (intervals 56 827 0) (buffers 1000 11)) ----Next_Part(Wed_Feb_19_11_52_55_2020_699)-- Content-Type: Text/X-Patch; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="fileio.c.diff" ZGlmZiAtLWdpdCBhL3NyYy9maWxlaW8uYyBiL3NyYy9maWxlaW8uYw0KaW5kZXggODdhMTdlYWI0 Mi4uNmIyMjNlNzA3OCAxMDA2NDQNCi0tLSBhL3NyYy9maWxlaW8uYw0KKysrIGIvc3JjL2ZpbGVp by5jDQpAQCAtMjkyNCwxNiArMjkyNCwxOCBAQCBERUZVTiAoImZpbGUtZGlyZWN0b3J5LXAiLCBG ZmlsZV9kaXJlY3RvcnlfcCwgU2ZpbGVfZGlyZWN0b3J5X3AsIDEsIDEsIDAsDQogYm9vbA0KIGZp bGVfZGlyZWN0b3J5X3AgKExpc3BfT2JqZWN0IGZpbGUpDQogew0KKyAgTGlzcF9PYmplY3QgZW5j b2RlZCA9IEVOQ09ERV9GSUxFIChmaWxlKTsNCisNCiAjaWZkZWYgRE9TX05UDQogICAvKiBUaGlz IGlzIGNoZWFwZXIgdGhhbiAnc3RhdCcuICAqLw0KLSAgYm9vbCByZXR2YWwgPSBmYWNjZXNzYXQg KEFUX0ZEQ1dELCBTU0RBVEEgKGZpbGUpLCBEX09LLCBBVF9FQUNDRVNTKSA9PSAwOw0KKyAgYm9v bCByZXR2YWwgPSBmYWNjZXNzYXQgKEFUX0ZEQ1dELCBTU0RBVEEgKGVuY29kZWQpLCBEX09LLCBB VF9FQUNDRVNTKSA9PSAwOw0KICAgaWYgKCFyZXR2YWwgJiYgZXJybm8gPT0gRUFDQ0VTKQ0KICAg ICBlc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