From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Devlin Newsgroups: gmane.emacs.bugs Subject: bug#49760: 28.0.50; Dired inserted subdir ignores dired-hide-details-mode after hiding and unhiding Date: Wed, 28 Jul 2021 15:25:02 -0400 Message-ID: <213FB983-7E0B-4F32-BE79-37C4A20AB44B@toadstyle.org> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3689.0.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39288"; mail-complaints-to="usenet@ciao.gmane.io" To: 49760@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 28 21:26:11 2021 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 1m8pBz-000A3L-Js for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 21:26:11 +0200 Original-Received: from localhost ([::1]:57640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8pBx-0003Ux-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 15:26:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8pBq-0003TR-R9 for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8pBq-0000hA-IJ for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m8pBq-0008Or-Gt for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Devlin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Jul 2021 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49760 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.162750031332217 (code B ref -1); Wed, 28 Jul 2021 19:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jul 2021 19:25:13 +0000 Original-Received: from localhost ([127.0.0.1]:55858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8pB2-0008NZ-MP for submit@debbugs.gnu.org; Wed, 28 Jul 2021 15:25:13 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8pB1-0008NS-5M for submit@debbugs.gnu.org; Wed, 28 Jul 2021 15:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8pB0-0003MI-VO for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:25:10 -0400 Original-Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:35422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8pAy-0008PP-Pq for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 15:25:10 -0400 Original-Received: by mail-qk1-x72e.google.com with SMTP id c18so3388625qke.2 for ; Wed, 28 Jul 2021 12:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=/S29UZs5SKMARL81xlSmxBP4yGZGk7FSSDs4iYQGCTg=; b=1L1yp0dNaj92C0poSTisEPKO5lhRZSSAdiAZNByar+pos6UfPWjTX/HKpSK8/+zzbX sr9VvvPrhWfG8qyPGiU5Nv3liCIoK7FpipnuCwKgVy6L25zYlMybfEvGk1mRASI78a3x t3Bdp4L3iIyL3Dj6M0t7utW41aOPQBy/aN9TAVPPUDSdmIe2G7eMOoRai7DeMZU2LJtA HNKu6jYhznp+TnMAKTFmNTPb3SIBguxyx+kArHyp1guHEAeR73eph5oBdNFGfnmT1leZ bUema2nU7NXQnNJ6F83GLGC1WXcqKJuMxJY38qfK2Fcwf5fBCypABihrC5E1nclL3H/H iuhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=/S29UZs5SKMARL81xlSmxBP4yGZGk7FSSDs4iYQGCTg=; b=ZKOMbCPY5zN3wUZk9WN6P/a877dd020OmhD4Pcg4gywg25fUyFvT0TdOuoDD8GKdy7 FV9ghZpuOnT/ruKBiX+ona3oHYpooojZ0OXVADbdXb1+VfGWV75SJTQH+W6kMIWDOSPG w9UVtmKzxD6PnH9cgG+io+17c1VKu6+B5S+CS7Hi4gxe7CzGwn5E6lhM2RIddcoi5U9z PY/z52C9HGoC18O+zD9EcWnIHvWa85qxpij9dWpHzVfVqNBPrWpW58XCASx7478SJRzY H2KA3FVHDzb+HHpJaq/7983fy6TKHcTSZ3hZRvC3hKDGTtSfKotrAO1OYM+QiFO2sTJ0 G/PA== X-Gm-Message-State: AOAM531YgcevgfEFsiwNj7MFoUyxgVH01sjJkQZyI7F4zyX0GB+csqaP MPeOa21qpbN4pE1SG2TxNMxSl0kHr/O8QQ== X-Google-Smtp-Source: ABdhPJznDEov2ZchxEd5V1UGGggNEk0DUxUbNgMUcN0RowPEHkwVUBaUYY8Di42t+LkcIZsxfFfV8g== X-Received: by 2002:a37:a7c9:: with SMTP id q192mr1277382qke.477.1627500306676; Wed, 28 Jul 2021 12:25:06 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-24-193-0-186.nyc.res.rr.com. [24.193.0.186]) by smtp.gmail.com with ESMTPSA id f10sm329945qto.31.2021.07.28.12.25.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jul 2021 12:25:06 -0700 (PDT) X-Mailer: Apple Mail (2.3689.0.4) Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=spd@toadstyle.org; helo=mail-qk1-x72e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:210840 Archived-At: Hi folks, In dired buffers, inserted subdirectories do not respect dired-hide-details-mode after they have been hidden and unhidden. Reproduction steps for 'emacs -Q': 1. Open a directory using dired. (To make the bug more obvious, it's best to choose a subdirectory that is not empty.) 2. Move the point to a subdirectory's name and press 'i' to insert a listing of that subdirectory at the bottom of the buffer. 3. Press '(' to enable dired-hide-details-mode. Observe that the details from both the main directory and the subdirectory listing are hidden. (You can toggle the mode a few more times here to verify it works correctly to hide and show the details of both listings.) 4. Move the point down to the subdirectory listing and press '$' to hide the listing. 5. Press '$' again to unhide the subdirectory listing. Observe that the listing now shows the full details for the directory. 6. Toggle dired-hide-details-mode a few times and verify that it no longer affects the listing for the subdirectory. Workaround: press 'g' to revert the buffer and verify that the subdirectory respects dired-hide-details-mode again. Thanks! In GNU Emacs 28.0.50 Repository revision: 794ec934a76d0647a72b7be32e20dc5b95e5ec11 Repository branch: master Windowing system distributor 'Apple' System Description: macOS Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' PKG_CONFIG_PATH=/opt/brew/lib/pkgconfig' Configured features: ACL DBUS GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: dired-hide-details-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired-aux cl-loaddefs cl-lib dired dired-loaddefs iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 57990 9212) (symbols 48 6662 1) (strings 32 19018 1628) (string-bytes 1 629285) (vectors 16 13872) (vector-slots 8 187413 8579) (floats 8 21 44) (intervals 56 765 0) (buffers 992 12))