GNU bug report logs - #58863
29.0.50; Newly opened Dired buffers are usually modified

Previous Next

Package: emacs;

Reported by: daanturo <daanturo <at> gmail.com>

Date: Sat, 29 Oct 2022 11:02:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 58863-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: daanturo <daanturo <at> gmail.com>
Cc: 58863-done <at> debbugs.gnu.org
Subject: Re: bug#58863: 29.0.50;
 Newly opened Dired buffers are usually modified
Date: Sat, 29 Oct 2022 16:03:33 +0300
> Date: Sat, 29 Oct 2022 18:01:06 +0700
> From: daanturo <daanturo <at> gmail.com>
> 
> 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.




This bug report was last modified 2 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.