From: martin rudalics <rudalics@gmx.at>
To: michael_heerdegen@web.de, 457@emacsbugs.donarmstrong.com
Subject: bug#457: wdired and auto-revert-mode
Date: Thu, 21 Aug 2008 10:04:09 +0200 [thread overview]
Message-ID: <48AD2179.2070104@gmx.at> (raw)
In-Reply-To: <18595.2629.72205.97367@localhost.localdomain>
> > The buffer-modified flag is mostly good enough for buffers visiting
> > ordinary files, but is hard to keep correct for fancy buffers like
> > Dired buffers. Of course, this wasn't so important before
> > auto-revert-mode existed.
>
> Yes. And this is also the reason for another, much worse bug which
> makes auto-revert-mode in dired nearly useless:
>
> If you copy files etc. (what else should you do with dired?), your
> buffer gets buffer-modified-p, which means that auto-reverting doesn't
> take place any more until you revert manually with g.
The buffer-modified status of dired-buffers has no significance: Do
`dired-mark' for some file and undo that via `dired-unmark' or plain
`undo'. The buffer will remain to appear modified. Do `dired-unmark'
for some file in a fresh dired buffer. The buffer will appear modified.
We'd have to specify the semantics of modifiedness for dired buffers
first. Then we could decide what to do when a directory is modified by
external intervention and autorevert picks up those changes.
OTOH wdired DTRT WRT `undo' and we probably shouldn't let autorevert
interfere with this.
martin
next prev parent reply other threads:[~2008-08-21 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.15789.1217765249.18990.bug-gnu-emacs@gnu.org>
2008-08-04 11:18 ` bug#457: wdired and auto-revert-mode Joe Wells
2008-08-04 12:03 ` martin rudalics
2008-08-04 13:33 ` Joe Wells
2008-08-04 16:08 ` martin rudalics
2008-08-04 18:38 ` Joe Wells
2008-08-04 21:24 ` martin rudalics
[not found] ` <mailman.15844.1217875649.18990.bug-gnu-emacs@gnu.org>
2008-08-11 16:28 ` Michael Heerdegen
2008-08-11 17:30 ` Joe Wells
2008-08-13 16:22 ` Michael Heerdegen
2008-08-21 8:04 ` martin rudalics [this message]
2008-08-03 11:45 martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48AD2179.2070104@gmx.at \
--to=rudalics@gmx.at \
--cc=457@emacsbugs.donarmstrong.com \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).