From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58863: 29.0.50; Newly opened Dired buffers are usually modified Date: Sat, 29 Oct 2022 16:03:33 +0300 Message-ID: <83zgdehjdn.fsf@gnu.org> References: <4de80811-505d-0fd1-392e-ba0b24701540@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23195"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58863-done@debbugs.gnu.org To: daanturo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 15:04:22 2022 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 1oolVd-0005pN-CU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 15:04:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oolVS-0000IL-Ov; Sat, 29 Oct 2022 09:04:10 -0400 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 1oolVL-0000Gz-8k for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 09:04:04 -0400 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 1oolVK-0007yK-M9 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 09:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oolVK-0000Ev-Da for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 09:04:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58863 X-GNU-PR-Package: emacs Mail-Followup-To: 58863@debbugs.gnu.org, eliz@gnu.org, daanturo@gmail.com Original-Received: via spool by 58863-done@debbugs.gnu.org id=D58863.1667048625895 (code D ref 58863); Sat, 29 Oct 2022 13:04:02 +0000 Original-Received: (at 58863-done) by debbugs.gnu.org; 29 Oct 2022 13:03:45 +0000 Original-Received: from localhost ([127.0.0.1]:35135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oolV2-0000EL-Vy for submit@debbugs.gnu.org; Sat, 29 Oct 2022 09:03:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oolUy-0000E3-Lx for 58863-done@debbugs.gnu.org; Sat, 29 Oct 2022 09:03:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oolUt-0007xP-7m; Sat, 29 Oct 2022 09:03:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=4BDbRtaC5iicdnh9N/k/ZMIuRnFCNMnl1wSJ7WlWZYI=; b=NEYmbfjkZ+mE waZzn6bhk0mgodSoyNwubjBLpz8p+a+ycRDO7d63fXuicYUHaHdsPDa34WWPMBw7K1jvYDY04sXAP 3xF0VqLUWzlQopZytslHb/1iz+INu2b5W0ODVZ4sPKW2vGBt7UEayeJyP/pglFFg1WR+cWI0YecTN AQeCofmpJhBAXp0nTXfuAFyrgsYG4yiht73oU1e09lXUYp+TqFKAeOHlORy++bkPtC0tJpCTcB+YG As2QoU2/Cc9hrxv0g7jBTS4DG/tqARvrQqwZKj/0LDzHKusPBwQuoDdD7LZihlZD1a80+YbizjHM4 2Tk9v+OmT2DXiqUcIxtaBg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oolUs-0006jA-MM; Sat, 29 Oct 2022 09:03:35 -0400 In-Reply-To: <4de80811-505d-0fd1-392e-ba0b24701540@gmail.com> (message from daanturo on Sat, 29 Oct 2022 18:01:06 +0700) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246527 Archived-At: > Date: Sat, 29 Oct 2022 18:01:06 +0700 > From: daanturo > > When I open a new Dired buffer without doing anything, > `buffer-modified-p` usually returns `t`, especially for directories > under $HOME. > > ```bash > > emacs -Q --eval "(progn > (find-file \"$(mktemp -d)\") > (print (buffer-modified-p (current-buffer))))" > > ``` > Observed: Emacs prints `t` > Expected: Emacs prints `nil` > > Instead of "$(mktemp -d)", "~" is also reproducible, but not "/". > > This looks like a regression of current master that doesn't present on > Emacs 28.1. Thanks, fixed.