emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: andrea <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda-files variable
Date: Mon, 18 Jan 2010 08:37:17 +0100	[thread overview]
Message-ID: <447E3ED5-4D17-449C-A3C9-1F17E50DF4CF@gmail.com> (raw)
In-Reply-To: <m1hbqlvvwd.fsf@gmail.com>

Hi Andrea,

On Jan 17, 2010, at 12:00 PM, andrea wrote:

>
> I've set up in before-hook a function to append to org-agenda-files
> every org file.
> Now the problem is that sometimes it adds the file in form
> ~/path and sometimes in form /Users/user/path
> It's annoying because on different machines I have different homes.
>
> What could be the reason?
> I always visit those files in the "relative" way, so using the ~...

This post is really incomplete, and it is impossible for anyone to give
a good answer - which means that everyone has to read my answer and then
your second attempt.  Things that could help are:

- What does your hook look like?
- There is no hook called `before-hook'
- Are you using a recent version of Org-mode?
- Are the "different machines" different operating systems?

Please, before you send an email to more than 700 people, stop
for a second and check if you have supplied all the information
that could possibly be useful.

Thanks.

- Carsten


>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

  reply	other threads:[~2010-01-18  7:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 11:00 org-agenda-files variable andrea
2010-01-18  7:37 ` Carsten Dominik [this message]
2010-01-18 10:46   ` andrea
2010-01-18 11:45     ` Stephan Schmitt
2010-01-22  9:58     ` 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=447E3ED5-4D17-449C-A3C9-1F17E50DF4CF@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=andrea.crotti.0@gmail.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).