bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

H in dired doesn't update display


From: Dan Jacobson
Subject: H in dired doesn't update display
Date: 23 Feb 2001 21:58:02 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

M in dired changes file permissions, then redisplays with the new
permissions.  That's the way it ought to be.

H in dired makes hard links, but doesn't redisplay with the changes.
Actually it does something more insidious... it half updates the
changes, lulling the user into a false sense of confidence and
control:
Before:
  -rw-r--r--    1 jidanni  jidanni      2019 Feb  7 06:33 gggggg

pressing H g g 2 RET gives
  -rw-r--r--    1 jidanni  jidanni      2019 Feb  7 06:33 gggggg
H -rw-r--r--    2 jidanni  jidanni      2019 Feb  7 06:33 gg2

when it should be
  -rw-r--r--    2 jidanni  jidanni      2019 Feb  7 06:33 gggggg
H -rw-r--r--    2 jidanni  jidanni      2019 Feb  7 06:33 gg2

or better yet:
H -rw-r--r--    2 jidanni  jidanni      2019 Feb  7 06:33 gggggg
H -rw-r--r--    2 jidanni  jidanni      2019 Feb  7 06:33 gg2

An ls on both affected files seems appropriate.  No, wait, there might
be other files affected too... better do an ls on the whole
directory... optionally turn-offable.  Whatever.  I report the
problem, you find the solution, or at least make a note of it in the
help/info if not intending to fix it.

Might as well check the other dired keys for similar follies too.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]