From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Re: Need help with org and SSH Date: Wed, 22 Dec 2010 17:07:41 -0500 Message-ID: References: <87vd2lwvjv.fsf@norang.ca> <10277.1293049978@gamaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=56813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVWqs-0003Qq-9t for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 17:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVWqq-00035E-Ck for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 17:08:06 -0500 Received: from mail-fx0-f48.google.com ([209.85.161.48]:33684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVWqq-000353-5O for emacs-orgmode@gnu.org; Wed, 22 Dec 2010 17:08:04 -0500 Received: by fxm2 with SMTP id 2so5575668fxm.35 for ; Wed, 22 Dec 2010 14:08:03 -0800 (PST) In-Reply-To: <10277.1293049978@gamaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Bernt Hansen , Org-mode ml On Wed, Dec 22, 2010 at 3:32 PM, Nick Dokos wrote: > Jeff Horn 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 > > NIck, thanks for your thorough reply. I thought having "~" in my org path might have been triggering it, but it isn't. I've reduced my org-agenda files down to just one, tasks.org, which live in "org" in my dropbox folder. This folder is symlinked to "~/org" for ease-of-use. I enabled debug-on-quit and tried looking at the backtrace while the agenda was hanging. Somewhere along the way, many lines before the error occurs, "~/org" is *correctly* translated as "/Users/jeffreyhorn/Dropbox/org". The error is occurring immediately after org "prepares buffers" (the org files). The last few lines of the backtrace are: org-agenda(nil) call-interactively(org-agenda nil nil) I'll try moving the agenda file to my home directory and see what happens. (interlude) OK. I created a very simple two line org file with a single todo and placed it in my home directory. Starting a new emacs session and visiting the file is enough to trigger the error. Visiting a buffer of another type (text for instance) *also* produces this error. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com http://www.failuretorefrain.com/jeff/