all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* Re: auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-26 15:47 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> 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/

See the variable directory-abbrev-alist.  Does this help?
-- 
Do not be ashamed of ambibibentism.

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

* Re: auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-26 15:47 UTC (permalink / raw)


dkcombs@panix.com (David Combs) writes:

> 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/

Also see find-file-visit-truename and find-file-existing-other-name.
-- 
Do not be ashamed of ambibibentism.

^ 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.