From: Nick Dokos <nicholas.dokos@hp.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
nicholas.dokos@hp.com, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Re: Need help with org and SSH
Date: Wed, 22 Dec 2010 15:32:58 -0500 [thread overview]
Message-ID: <10277.1293049978@gamaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Jeff Horn <jrhorn424@gmail.com> of "Wed, 22 Dec 2010 14:59:08 EST." <AANLkTinHuhSZs25aoNEdOp0sx_vZmuzragFHWgrRurP4@mail.gmail.com>
Jeff Horn <jrhorn424@gmail.com> wrote:
> The recursion happens with the function 'file-truename' according to
> my message buffer. Maybe it's something in my config, afterall?
>
C-h f file-truename says
,----
| file-truename is a compiled Lisp function in `files.el'.
|
| (file-truename FILENAME)
|
| Return the truename of FILENAME, which should be absolute.
| The truename of a file name is found by chasing symbolic links
| both at the level of the file and at the level of the directories
| containing it, until no links are left at any level.
|
`----
file-truename is smart enough to detect symlink loops (it has a counter
that starts at 100 and decrements on every dereference: if it ever gets
negative, watch out) and recursion seems to occur when it steps to the
parent directory and tries to find *its* truename - but there seem to be
adequate safeguards to prevent bottomless recursion (e.g. the remaining
counter is passed to subsequent calls).
It might be a good exercise to start with whatever file it's failing on
and then look at both it and all its parent directories (with ls -l if
you are on Linus/OSX/BSD/other Unix variant), taking a jaundiced look at
any symlinks you find on the way.
Nick
next prev parent reply other threads:[~2010-12-22 20:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 17:10 Need help with org and SSH Jeff Horn
2010-12-22 17:45 ` Bernt Hansen
2010-12-22 18:28 ` Jeff Horn
2010-12-22 19:00 ` Jeff Horn
2010-12-22 19:59 ` Jeff Horn
2010-12-22 20:32 ` Nick Dokos [this message]
2010-12-22 22:07 ` Jeff Horn
2010-12-22 22:18 ` Nick Dokos
2010-12-23 6:41 ` Jeff Horn
2010-12-23 7:23 ` Jeff Horn
2010-12-22 17:49 ` Dan Davison
2010-12-22 18:18 ` Jeff Horn
2010-12-23 1:06 ` Dan Davison
2010-12-23 6:40 ` Jeff Horn
2010-12-23 7:36 ` [Accepted] " Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10277.1293049978@gamaville.americas.hpqcorp.net \
--to=nicholas.dokos@hp.com \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=jrhorn424@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).