Re: undo gone in dired buffers

2007-05-19 Thread Richard Stallman
This is a change with respect to Emacs 21, and I don't think anyone feels that it is necessary in practice, while some are against it. I think it should be reverted. I think it is just plain wrong to undo a revert. ___ emacs-pretest-bug

Re: undo gone in dired buffers

2007-05-19 Thread martin rudalics
This is a change with respect to Emacs 21, and I don't think anyone feels that it is necessary in practice, while some are against it. I think it should be reverted. I think it is just plain wrong to undo a revert. We could introduce an option `revert-discard-undo'.

Re: undo gone in dired buffers

2007-05-18 Thread Francesco Potorti`
In my local Emacs hacks, I've fixed the inconsistency the other way: revert doesn't throw away undo info any more. That seems bizarre, but I guess we should consider it. However, Emacs 22.0.990 still throws away undo when reverting dired buffers :-( This is a change with respect to

Re: undo gone in dired buffers

2007-04-28 Thread Stefan Monnier
C-x d /tmp RET M-! touch 00a RET g -- Now yu should see a file named 00a C-x C-q undo -- Now you don't see the file 00a any more The operation undone was the deletion of the old buffer contents and insertion of the new contents. No wonder I turned off undo for that.

Re: undo gone in dired buffers

2007-04-28 Thread Richard Stallman
In my local Emacs hacks, I've fixed the inconsistency the other way: revert doesn't throw away undo info any more. That seems bizarre, but I guess we should consider it. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: undo gone in dired buffers

2007-04-27 Thread Richard Stallman
It used to work in dired buffers. That seems incredible. Deleting the whole text of a directory listing and reading it again is an operation that cannot preserve undo data. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: undo gone in dired buffers

2007-04-27 Thread Francesco Potorti`
It used to work in dired buffers. That seems incredible. Deleting the whole text of a directory listing and reading it again is an operation that cannot preserve undo data. Yet, this is easy to reproduce. Invoke emacs 21 with -q, then C-x d /tmp RET M-! touch 00a RET g -- Now yu should

Re: undo gone in dired buffers

2007-04-27 Thread Kim F. Storm
Francesco Potorti` [EMAIL PROTECTED] writes: it was useful when I updated a dired buffer with 'g' without looking at it first, and wanted to look at its old status. Very handy in some situations. Handy if you know what you are doing, but potentially very confusing and dangerous for the

Re: undo gone in dired buffers

2007-04-27 Thread Francesco Potorti`
it was useful when I updated a dired buffer with 'g' without looking at it first, and wanted to look at its old status. Very handy in some situations. Handy if you know what you are doing, but potentially very confusing and dangerous for the average/naive user. The user had to toggle the

Re: undo gone in dired buffers

2007-04-27 Thread Richard Stallman
C-x d /tmp RET M-! touch 00a RET g -- Now yu should see a file named 00a C-x C-q undo -- Now you don't see the file 00a any more The operation undone was the deletion of the old buffer contents and insertion of the new contents. No wonder I turned off undo for that. The

Re: undo gone in dired buffers

2007-04-26 Thread Miles Bader
Glenn Morris [EMAIL PROTECTED] writes: Otherwise, it seems there is something of a trend to disable undo all over the place, for no real reason, then have to un-disable it when someone complains. This is true, but using undo in a dired buffer is a pretty dodgy thing to do; it seems almost

undo gone in dired buffers

2007-04-24 Thread Francesco Potorti`
Apparently, Emacs 22 does not allow to undo in dired buffers. This is a pity, because it sometimes occurred to me to revert a dired buffer (using 'g') and then wanting to see the differences using undo. If this change is the result of a meditated choice, maybe it has some reason. But if it has

Re: undo gone in dired buffers

2007-04-24 Thread Richard Stallman
It is normal that undo does not work across revert. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug