unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?
@ 2002-12-25  5:07 David Combs
  2002-12-26 15:47 ` Kai Großjohann
  2002-12-26 15:47 ` Kai Großjohann
  0 siblings, 2 replies; 3+ messages in thread
From: David Combs @ 2002-12-25  5:07 UTC (permalink / raw)


auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?

For instance, these lines from *Buffer List*:


. % dkc<2>	   425733  Dired by name /myexternals/home/dkc/
  % dkc<3>	   425738  Dired by date /opt6/myexternals/home/dkc/

Ditto for actual files, eg under the above .../dkc/.

(where these are some of the symlinks:

5 lines matching ">" in buffer /.
   17:  lrwxrwxrwx   1 root     other         17 Dec 13 17:37 myexternals -> /opt6/myexternals
   18:  lrwxrwxrwx   1 root     other         22 Dec 13 17:27 opt3 -> /opt6/myexternals/opt3
   25:  lrwxrwxrwx   1 root     other          8 Dec 11 17:34 dkcjunk-symlink -> /dkcjunk
   55:  lrwxrwxrwx   1 root     root           9 Aug  9 14:59 bin -> ./usr/bin
   56:  lrwxrwxrwx   1 root     root           9 Aug  9 14:59 lib -> ./usr/lib
)

Of course, there's now a horrendously dangerous situation -- suppose
you inadvertently make some changes to one, and others
to it's "alias" file or dir.

QUESTION: is there a package somewhere that will
warn (maybe even disallow) such a situation?

Thanks!

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-26 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-25  5:07 auto-detecting 2-bufs *same* file|dir (pbm via symlinks)? David Combs
2002-12-26 15:47 ` Kai Großjohann
2002-12-26 15:47 ` Kai Großjohann

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).