From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: auto-detecting 2-bufs *same* file|dir (pbm via symlinks)? Date: 25 Dec 2002 00:07:35 -0500 Organization: PANIX -- Public Access Networks Corp. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040793070 12011 80.91.224.249 (25 Dec 2002 05:11:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Dec 2002 05:11:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18R3oy-00037S-00 for ; Wed, 25 Dec 2002 06:11:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18R3oQ-0006c9-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 25 Dec 2002 00:10:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!panix3.panix.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1040792855 28362 166.84.1.3 (25 Dec 2002 05:07:35 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 25 Dec 2002 05:07:35 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:108475 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5004 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5004 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