From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: org-mobile-push vs. symlinks Date: Sat, 8 Dec 2012 11:42:52 +0800 Message-ID: References: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04462dd27d171104d04f20e5 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThBJY-00051m-7l for Emacs-orgmode@gnu.org; Fri, 07 Dec 2012 22:42:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThBJW-0007zF-MA for Emacs-orgmode@gnu.org; Fri, 07 Dec 2012 22:42:56 -0500 Received: from mail-ie0-f175.google.com ([209.85.223.175]:32900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThBJW-0007yv-Di for Emacs-orgmode@gnu.org; Fri, 07 Dec 2012 22:42:54 -0500 Received: by mail-ie0-f175.google.com with SMTP id qd14so3102981ieb.34 for ; Fri, 07 Dec 2012 19:42:53 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Emacs-orgmode@gnu.org" --f46d04462dd27d171104d04f20e5 Content-Type: text/plain; charset=ISO-8859-1 I had a problem with mobile org sync, which I finally tracked down to the handling of symlinks in org-mobile-push. Setup: I want to have a different file name for my school org file depending on fall or spring semester, but I hoped to avoid changing org-agenda-files once a semester. So I symlinked semester-fall.org to ~/Documents/mobileorg/semester.org. It seems that org-mobile-push resolves the symlink to determine the filename to drop into the online share. So MobileOrg knows about semester-fall.org, but there is no file by that name in org-directory. So, org-mobile-pull opens an empty buffer for semester-fall.org and, as it's empty, of course the parent node can't be found. My question: Is there a technical reason why org-mobile-push must use the symlink target's filename, instead of the filename that actually lives under org-directory? Other parts of the code assume the filename under org-directory. I can think of two possibilities: - One should not put symlinks into org-directory, or at least make sure the symlink's name is the same as the target. If this is an intentional limitation, it should be documented. - Or, the symlink resolution is not actually necessary and it causes problems. In that case, it's a bug that should be fixed. Which is it? :-) hjh --f46d04462dd27d171104d04f20e5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I had a problem with mobile org sync, which I finally tracked down to th= e handling of symlinks in org-mobile-push.

Setup: I want to have a different file name for my school org file depen= ding on fall or spring semester, but I hoped to avoid changing org-agenda-f= iles once a semester. So I symlinked s= emester-fall.org to ~/Documents/mobileorg/semester.org.

It seems that org-mobile-push resolves the symlink to determine the file= name to drop into the online share. So MobileOrg knows about semester-fall.org, but there is no file by that = name in org-directory. So, org-mobile-pull opens an empty buffer for semester-fall.org and, as it's empty= , of course the parent node can't be found.

My question: Is there a technical reason why org-mobile-push must use th= e symlink target's filename, instead of the filename that actually live= s under org-directory? Other parts of the code assume the filename under or= g-directory. I can think of two possibilities:

- One should not put symlinks into org-directory, or at least make sure = the symlink's name is the same as the target. If this is an intentional= limitation, it should be documented.

- Or, the symlink resolution is not actually necessary and it causes pro= blems. In that case, it's a bug that should be fixed.

Which is it? :-)

hjh

--f46d04462dd27d171104d04f20e5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: org-mobile-push vs. symlinks Date: Sat, 15 Dec 2012 16:49:16 +0800 Message-ID: References: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjnQt-0004iH-Ci for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 03:49:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjnQr-0004xr-H6 for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 03:49:19 -0500 Received: from mail-ie0-f169.google.com ([209.85.223.169]:51934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjnQr-0004xj-C6 for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 03:49:17 -0500 Received: by mail-ie0-f169.google.com with SMTP id c14so7245833ieb.0 for ; Sat, 15 Dec 2012 00:49:16 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org Sorry for resending as a new thread. I had wanted to reply to my original message on gmane, but gmane's search fails to locate the thread (?). Anyway, I still don't understand the rationale for the current behavior. Does anyone know why org-mobile-push resolves the agenda files' names to symlink targets? Thanks, hjh ---------- Forwarded message ---------- Date: Sat, Dec 8, 2012 at 11:42 AM Subject: org-mobile-push vs. symlinks I had a problem with mobile org sync, which I finally tracked down to the handling of symlinks in org-mobile-push. Setup: I want to have a different file name for my school org file depending on fall or spring semester, but I hoped to avoid changing org-agenda-files once a semester. So I symlinked semester-fall.org to ~/Documents/mobileorg/semester.org. It seems that org-mobile-push resolves the symlink to determine the filename to drop into the online share. So MobileOrg knows about semester-fall.org, but there is no file by that name in org-directory. So, when I sync captures back to the computer, org-mobile-pull opens a buffer for semester-fall.org, but it's empty because there is no file by that name under org-directory -- so, of course the parent node can't be found. My question: Is there a technical reason why org-mobile-push must use the symlink target's filename, instead of the filename that actually lives under org-directory? Other parts of the code assume the filename under org-directory. I can think of two possibilities: - One should not put symlinks into org-directory, or at least make sure the symlink's name is the same as the target. If this is an intentional limitation, it should be documented. - Or, the symlink resolution is not actually necessary and it causes problems. In that case, it's a bug that should be fixed. Which is it? :-) hjh -- James Harkins /// dewdrop world jamshark70@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Sat, 15 Dec 2012 09:57:57 +0100 Message-ID: <874njng0a2.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjnol-0005nA-62 for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 04:13:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tjnok-0002QK-3p for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 04:13:59 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:32914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjnZH-0007M5-0C for Emacs-orgmode@gnu.org; Sat, 15 Dec 2012 03:57:59 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so1979412wey.0 for ; Sat, 15 Dec 2012 00:57:58 -0800 (PST) In-Reply-To: (James Harkins's message of "Sat, 15 Dec 2012 16:49:16 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: Emacs-orgmode@gnu.org James Harkins writes: > Anyway, I still don't understand the rationale for the current > behavior. Does anyone know why org-mobile-push resolves the agenda > files' names to symlink targets? The problem is that there is no active maintainer on org-mobile.el right now... by default this is me, but I'm a bit swamped. I'll have a look, but anyone faster than me is welcome! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: org-mobile-push vs. symlinks Date: Wed, 19 Dec 2012 12:57:17 -0500 Message-ID: <8638z2x6v6.fsf@adboyd.com> References: <874njng0a2.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlNul-00048j-Rd for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 12:59:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlNtf-0005QR-TI for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 12:58:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:57878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlNtf-0005QE-N1 for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 12:57:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TlNto-0007Me-Nq for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 18:57:44 +0100 Received: from 72.185.97.240 ([72.185.97.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2012 18:57:44 +0100 Received: from david by 72.185.97.240 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2012 18:57:44 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > James Harkins writes: > >> Anyway, I still don't understand the rationale for the current >> behavior. Does anyone know why org-mobile-push resolves the agenda >> files' names to symlink targets? > > The problem is that there is no active maintainer on org-mobile.el > right now... by default this is me, but I'm a bit swamped. > > I'll have a look, but anyone faster than me is welcome! How would we do that? Are there instructions somewhere on the proper way to create a patch file for this? The proper mode for diff? What has to be in a changelog? There are a few changes I'd like to see in mobile.el myself, and I'm willing to make them, if I know how to submit. Dave From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Wed, 19 Dec 2012 19:09:48 +0100 Message-ID: <871uel6hhv.fsf@bzg.ath.cx> References: <874njng0a2.fsf@bzg.ath.cx> <8638z2x6v6.fsf@adboyd.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlO5f-00017j-Jh for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 13:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlO5Y-0008Qf-GC for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 13:09:59 -0500 Received: from mail-we0-f175.google.com ([74.125.82.175]:43581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlO5Y-0008QU-8g for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 13:09:52 -0500 Received: by mail-we0-f175.google.com with SMTP id z53so1162407wey.34 for ; Wed, 19 Dec 2012 10:09:51 -0800 (PST) In-Reply-To: <8638z2x6v6.fsf@adboyd.com> (J. David Boyd's message of "Wed, 19 Dec 2012 12:57:17 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "J. David Boyd" Cc: emacs-orgmode@gnu.org Hi David, david@adboyd.com (J. David Boyd) writes: > How would we do that? Are there instructions somewhere on the proper > way to create a patch file for this? The proper mode for diff? What > has to be in a changelog? > > There are a few changes I'd like to see in mobile.el myself, and I'm > willing to make them, if I know how to submit. http://orgmode.org/worg/org-contribute.html HTH, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Thu, 03 Jan 2013 13:10:10 +0100 Message-ID: <878v8abf1e.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqkM7-0005Qy-5T for Emacs-orgmode@gnu.org; Thu, 03 Jan 2013 07:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqkM4-00078u-Mn for Emacs-orgmode@gnu.org; Thu, 03 Jan 2013 07:57:06 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:36605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqkM4-00078i-GV for Emacs-orgmode@gnu.org; Thu, 03 Jan 2013 07:57:04 -0500 Received: by mail-wi0-f178.google.com with SMTP id hn3so8529561wib.5 for ; Thu, 03 Jan 2013 04:57:03 -0800 (PST) In-Reply-To: (James Harkins's message of "Sat, 8 Dec 2012 11:42:52 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: "Emacs-orgmode@gnu.org" Hi James, James Harkins writes: > - One should not put symlinks into org-directory, or at least make > sure the symlink's name is the same as the target. If this is an > intentional limitation, it should be documented. > > - Or, the symlink resolution is not actually necessary and it causes > problems. In that case, it's a bug that should be fixed. > > Which is it? :-) I'd say the first one :) -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: org-mobile-push vs. symlinks Date: Fri, 4 Jan 2013 17:50:43 +0800 Message-ID: References: <878v8abf1e.fsf@bzg.ath.cx> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54a367abe603204d2736980 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr3vK-0004bl-J0 for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 04:50:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr3vJ-0001bH-2Q for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 04:50:46 -0500 Received: from mail-ob0-f169.google.com ([209.85.214.169]:62282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr3vI-0001b4-Sm for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 04:50:44 -0500 Received: by mail-ob0-f169.google.com with SMTP id v19so14778973obq.0 for ; Fri, 04 Jan 2013 01:50:44 -0800 (PST) In-Reply-To: <878v8abf1e.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: "Emacs-orgmode@gnu.org" --bcaec54a367abe603204d2736980 Content-Type: text/plain; charset=ISO-8859-1 On Jan 3, 2013 8:57 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > - One should not put symlinks into org-directory, or at least make > > sure the symlink's name is the same as the target. If this is an > > intentional limitation, it should be documented. > > > > - Or, the symlink resolution is not actually necessary and it causes > > problems. In that case, it's a bug that should be fixed. > > > > Which is it? :-) > > I'd say the first one :) Hm, I'd suggest a third possibility then: - There isn't actually a good reason for the restriction and nobody knows why it's done this way, but it's too much trouble to fix for a corner case that's easily worked around. The outcome is the same as the first: document the issue. hjh --bcaec54a367abe603204d2736980 Content-Type: text/html; charset=ISO-8859-1

On Jan 3, 2013 8:57 PM, "Bastien" <bzg@altern.org> wrote:
>
> Hi James,
>
> James Harkins <jamshark70@gmail.com> writes:
>
> > - One should not put symlinks into org-directory, or at least make
> > sure the symlink's name is the same as the target. If this is an
> > intentional limitation, it should be documented.
> >
> > - Or, the symlink resolution is not actually necessary and it causes
> > problems. In that case, it's a bug that should be fixed.
> >
> > Which is it? :-)
>
> I'd say the first one :)

Hm, I'd suggest a third possibility then:

- There isn't actually a good reason for the restriction and nobody knows why it's done this way, but it's too much trouble to fix for a corner case that's easily worked around.

The outcome is the same as the first: document the issue.

hjh

--bcaec54a367abe603204d2736980-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Fri, 04 Jan 2013 16:34:24 +0100 Message-ID: <874nixnerj.fsf@bzg.ath.cx> References: <878v8abf1e.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr9Hv-00033O-2N for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 10:34:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr9Hu-0003fc-6N for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 10:34:27 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:48997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr9Ht-0003fX-W7 for Emacs-orgmode@gnu.org; Fri, 04 Jan 2013 10:34:26 -0500 Received: by mail-wi0-f181.google.com with SMTP id hm9so9321882wib.2 for ; Fri, 04 Jan 2013 07:34:25 -0800 (PST) In-Reply-To: (James Harkins's message of "Fri, 4 Jan 2013 17:50:43 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: "Emacs-orgmode@gnu.org" Hi James, James Harkins writes: > The outcome is the same as the first: document the issue. Org is yours :) -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: org-mobile-push vs. symlinks Date: Sun, 6 Jan 2013 17:59:29 +0800 Message-ID: References: <878v8abf1e.fsf@bzg.ath.cx> <874nixnerj.fsf@bzg.ath.cx> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04430354ba7a1604d29bc410 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trn0t-0001jR-W0 for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 04:59:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Trn0s-0005uY-Hq for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 04:59:31 -0500 Received: from mail-oa0-f51.google.com ([209.85.219.51]:60053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trn0s-0005uO-CB for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 04:59:30 -0500 Received: by mail-oa0-f51.google.com with SMTP id n12so16663386oag.10 for ; Sun, 06 Jan 2013 01:59:29 -0800 (PST) In-Reply-To: <874nixnerj.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien , Emacs-orgmode@gnu.org --f46d04430354ba7a1604d29bc410 Content-Type: text/plain; charset=ISO-8859-1 On Jan 4, 2013 11:34 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > The outcome is the same as the first: document the issue. > > Org is yours :) I worked in software support for awhile, so... I know what it means, e.g., when some behavior is labeled a "known issue" ;-) I'm not sure of the procedure to contribute to the org manual, but I might suggest something like this, under MobileOrg section B2: ~~ This operation copies all files currently listed in org-mobile-files to the directory org-mobile-directory. By default this list contains all agenda files (as listed in org-agenda-files), but additional files can be included by customizing org-mobile-files. File names will be staged with paths relative to org-directory, so all files should be inside this directory.* ... (rest of paragraph) * It is recommended to store the source org files physically under org-directory. If this is not practical, org-directory may contain symlinks to the org files, provided that the symlink has the same name as the original file. If the original file is called "mylife.org," then the symlink should also be called mylife.org. If the names are different, pulling edited nodes from MobileOrg will fail. ~~ hjh --f46d04430354ba7a1604d29bc410 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Jan 4, 2013 11:34 PM, "Bastien" <bzg@altern.org> wrote:
>
> Hi James,
>
> James Harkins <jamshark70@g= mail.com> writes:
>
> > The outcome is the same as the first: document the issue.
>
> Org is yours :)

I worked in software support for awhile, so... I know what i= t means, e.g., when some behavior is labeled a "known issue" ;-)<= /p>

I'm not sure of the procedure to contribute to the org m= anual, but I might suggest something like this, under MobileOrg section B2:=

~~
This operation copies all files currently listed in org-mobile-files to the= directory org-mobile-directory. By default this list contains all agenda f= iles (as listed in org-agenda-files), but additional files can be included = by customizing org-mobile-files. File names will be staged with paths relat= ive to org-directory, so all files should be inside this directory.* ... (r= est of paragraph)

* It is recommended to store the source org files physically= under org-directory. If this is not practical, org-directory may contain s= ymlinks to the org files, provided that the symlink has the same name as th= e original file. If the original file is called "mylife.org," then the symlink should also be called mylife.org. If the names are different, pullin= g edited nodes from MobileOrg will fail.
~~

hjh

--f46d04430354ba7a1604d29bc410-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Sun, 06 Jan 2013 14:57:29 +0100 Message-ID: <87sj6efm7q.fsf@bzg.ath.cx> References: <878v8abf1e.fsf@bzg.ath.cx> <874nixnerj.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrqjM-0006sF-2K for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 08:57:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrqjK-0003es-Uo for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 08:57:39 -0500 Received: from mail-we0-f177.google.com ([74.125.82.177]:58146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrqjK-0003en-OW for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 08:57:38 -0500 Received: by mail-we0-f177.google.com with SMTP id x48so8923962wey.8 for ; Sun, 06 Jan 2013 05:57:38 -0800 (PST) In-Reply-To: (James Harkins's message of "Sun, 6 Jan 2013 17:59:29 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: Emacs-orgmode@gnu.org Hi James, James Harkins writes: > I'm not sure of the procedure to contribute to the org manual, but I > might suggest something like this, under MobileOrg section B2: I added a footnote: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76684b5 Thanks! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: org-mobile-push vs. symlinks Date: Mon, 7 Jan 2013 10:34:08 +0800 Message-ID: References: <878v8abf1e.fsf@bzg.ath.cx> <874nixnerj.fsf@bzg.ath.cx> <87sj6efm7q.fsf@bzg.ath.cx> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93a156de776d904d2a9a954 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ts2XT-0005wi-5w for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:34:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ts2XR-0002xi-Lv for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:34:11 -0500 Received: from mail-oa0-f52.google.com ([209.85.219.52]:57189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ts2XR-0002xY-GQ for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:34:09 -0500 Received: by mail-oa0-f52.google.com with SMTP id o6so17375348oag.11 for ; Sun, 06 Jan 2013 18:34:08 -0800 (PST) In-Reply-To: <87sj6efm7q.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Emacs-orgmode@gnu.org --14dae93a156de776d904d2a9a954 Content-Type: text/plain; charset=ISO-8859-1 On Jan 6, 2013 9:57 PM, "Bastien" wrote: > > Hi James, > > James Harkins writes: > > > I'm not sure of the procedure to contribute to the org manual, but I > > might suggest something like this, under MobileOrg section B2: > > I added a footnote: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76684b5 (The thread that wouldn't die...) I just looked at the footnote text... why did we go from "symlinks work if the name is the same" to an unqualified "symlinks are not supported"? It isn't always feasible, or even desirable in some cases, to keep all your org files under org-directory. For instance, I have a separate project folder for a series of concerts to be given in the spring. If I back up this folder, I want the project's org file to come with it. The updated documentation seems to suggest that I should store the org file physically under org-directory and place a symlink under the project directory, making backups a bit more complex ("oh my, I forgot again what is the cp or rsync option to follow links... man page..."). I can accept the same-name requirement, but it really makes much more sense to me to keep org files physically with their projects. So I'd kindly request that future org-mobile changes avoid breaking the use of symlinks in org-directory (which currently does work). Documenting that symlinks are supported (with the one caveat about the filename) is a step in that direction. hjh --14dae93a156de776d904d2a9a954 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Jan 6, 2013 9:57 PM, "Bastien" <bzg@altern.org> wrote:
>
> Hi James,
>
> James Harkins <jamshark70@g= mail.com> writes:
>
> > I'm not sure of the procedure to contribute to the org manual= , but I
> > might suggest something like this, under MobileOrg section B2: >
> I added a footnote:
> http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=3D76684b5

(The thread that wouldn't die...)

I just looked at the footnote text... why did we go from &qu= ot;symlinks work if the name is the same" to an unqualified "syml= inks are not supported"?

It isn't always feasible, or even desirable in some case= s, to keep all your org files under org-directory. For instance, I have a s= eparate project folder for a series of concerts to be given in the spring. = If I back up this folder, I want the project's org file to come with it= . The updated documentation seems to suggest that I should store the org fi= le physically under org-directory and place a symlink under the project dir= ectory, making backups a bit more complex ("oh my, I forgot again what= is the cp or rsync option to follow links... man page...").

I can accept the same-name requirement, but it really makes = much more sense to me to keep org files physically with their projects. So = I'd kindly request that future org-mobile changes avoid breaking the us= e of symlinks in org-directory (which currently does work). Documenting tha= t symlinks are supported (with the one caveat about the filename) is a step= in that direction.

hjh

--14dae93a156de776d904d2a9a954-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Mon, 07 Jan 2013 03:42:51 +0100 Message-ID: <87hamtpvbo.fsf@bzg.ath.cx> References: <878v8abf1e.fsf@bzg.ath.cx> <874nixnerj.fsf@bzg.ath.cx> <87sj6efm7q.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ts2fw-0008AT-Gy for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:42:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ts2fv-0005CN-1L for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:42:56 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:63491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ts2fu-0005CI-RC for Emacs-orgmode@gnu.org; Sun, 06 Jan 2013 21:42:54 -0500 Received: by mail-wg0-f53.google.com with SMTP id fn15so1593149wgb.8 for ; Sun, 06 Jan 2013 18:42:54 -0800 (PST) In-Reply-To: (James Harkins's message of "Mon, 7 Jan 2013 10:34:08 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: Emacs-orgmode@gnu.org James Harkins writes: > I just looked at the footnote text... why did we go from "symlinks > work if the name is the same" to an unqualified "symlinks are not > supported"? I overlooked the difference. Please provide a patch. ~$ git clone git://orgmode.org/org-mode.git ~$ emacs & C-x f org-mode/doc/org.texi ... [edit edit edit] ... C-x s C-x v = C-x s Send the file you saved and you're done! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mobile-push vs. symlinks Date: Mon, 07 Jan 2013 18:21:59 +0100 Message-ID: <87ehhwc2g8.fsf@bzg.ath.cx> References: <878v8abf1e.fsf@bzg.ath.cx> <874nixnerj.fsf@bzg.ath.cx> <87sj6efm7q.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGks-0002MW-FR for Emacs-orgmode@gnu.org; Mon, 07 Jan 2013 12:45:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsGkq-0006S7-Vc for Emacs-orgmode@gnu.org; Mon, 07 Jan 2013 12:44:58 -0500 Received: from mail-we0-f182.google.com ([74.125.82.182]:32797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsGkq-0006Rz-PP for Emacs-orgmode@gnu.org; Mon, 07 Jan 2013 12:44:56 -0500 Received: by mail-we0-f182.google.com with SMTP id u54so10285155wey.41 for ; Mon, 07 Jan 2013 09:44:56 -0800 (PST) In-Reply-To: (James Harkins's message of "Mon, 7 Jan 2013 10:34:08 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: jamshark70@dewdrop-world.net Cc: Emacs-orgmode@gnu.org Hi James, James Harkins writes: > I just looked at the footnote text... why did we go from "symlinks > work if the name is the same" to an unqualified "symlinks are not > supported"? Should be fixed now... thanks, -- Bastien