emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dboyd2@mmm.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: automatically follow symlink to other folder when loading agenda
Date: Mon, 16 Mar 2015 13:05:51 -0400	[thread overview]
Message-ID: <gjubmw3c27ps.fsf@W0144758.usac.mmm.com> (raw)
In-Reply-To: 878uewg9za.fsf@yale.edu

jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes:

> J. David Boyd writes:
>
>> I have 4 files I use for work in my main org folder.  And I have 
>> a personal.org in another folder, that is inside of Dropbox. 
>> 
>> I created a symlink to personal.org in my main org folder. When 
>> I start emacs and load the agenda, it asks me 
>> 
>> Symbolic link to Git-controlled source file; follow link? (y or 
>> n) 
>> 
>> Is there some setting (that I can't seem to find) that will 
>> always just allow this, rather than querying me?
>  
> #+BEGIN_SRC emacs-lisp
>   (setq vc-follow-symlinks t)
> #+END_SRC
>
> BTW, I think that using dropbox in a git controlled directory 
> might not be a good idea: if there are conflicts of files inside 
> of the .git directory between two machines, you will never notice 
> them because dropbox doesn't report them, so the actual git repos 
> might be different between the two machines. I you are using git, 
> why don't you clone the main org directory in the other machine 
> and pull changes when you use the other machine?
>
> Best,


Thanks for the warning.  Git is actually going to go away on a few of those
folders.  I was using that to keep synced between a few linux machines, but am
going to use dropbox instead.  I don't need the level of versioning that git
provides for the few config files and org files that I have there.

Dave

  reply	other threads:[~2015-03-16 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16 16:05 automatically follow symlink to other folder when loading agenda J. David Boyd
2015-03-16 16:38 ` Ken Mankoff
2015-03-16 17:06   ` J. David Boyd
2015-03-16 16:53 ` Jorge A. Alfaro-Murillo
2015-03-16 17:05   ` J. David Boyd [this message]
2015-03-16 17:34     ` Jorge A. Alfaro-Murillo
2015-03-16 19:48       ` J. David Boyd

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=gjubmw3c27ps.fsf@W0144758.usac.mmm.com \
    --to=dboyd2@mmm.com \
    --cc=emacs-orgmode@gnu.org \
    /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).