emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: nicholas.dokos@hp.com
Cc: Bernt Hansen <bernt@norang.ca>, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Re: Need help with org and SSH
Date: Wed, 22 Dec 2010 17:07:41 -0500	[thread overview]
Message-ID: <AANLkTim-dx=CfoGEgJaZC91r-yM8zSZ3f+UkOYaA61Tv@mail.gmail.com> (raw)
In-Reply-To: <10277.1293049978@gamaville.americas.hpqcorp.net>

On Wed, Dec 22, 2010 at 3:32 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> 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
>
>

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/

  reply	other threads:[~2010-12-22 22:08 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
2010-12-22 22:07           ` Jeff Horn [this message]
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='AANLkTim-dx=CfoGEgJaZC91r-yM8zSZ3f+UkOYaA61Tv@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).