From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: BUG - Attachment directories with newlines Date: Thu, 6 Nov 2008 08:11:36 +0100 Message-ID: References: <87r65q9ee3.fsf@gollum.intra.norang.ca> <007C04D3-DD4B-4CDD-AE75-D6733A4EDCB6@uva.nl> <87od0tpyfx.fsf@gollum.intra.norang.ca> <87k5bhpxdx.fsf@gollum.intra.norang.ca> <87fxm5px6m.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxzbD-0002tS-1R for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 02:48:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxzbC-0002tG-Ne for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 02:48:14 -0500 Received: from [199.232.76.173] (port=42388 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxzbC-0002tD-Do for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 02:48:14 -0500 Received: from mx20.gnu.org ([199.232.41.8]:13583) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxzbC-0005qk-Ce for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 02:48:14 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxzbB-0000C1-6F for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 02:48:13 -0500 Received: by ug-out-1314.google.com with SMTP id 36so843091uga.17 for ; Wed, 05 Nov 2008 23:48:13 -0800 (PST) In-Reply-To: <87fxm5px6m.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org Isn't that nice that there are bugs that go away by themselves? Thanks for investigating this. - Carsten On Nov 6, 2008, at 12:31 AM, Bernt Hansen wrote: > Sorry about all the replies to my own mail. > > I checked out the master branch on Oct 24 and it breaks right away. > > git checkout master@{oct.24} > > and running uncompiled sources creates attachment directories with a > newline at the end. It's been fixed since then. > > I'll go and move all my attachments which are in directories with > embedded newlines to the correct location and all should be well for > me > at that point. > > Other users might want to check if they have attachments in broken > directories too. > > -Bernt > > Bernt Hansen writes: > >> Attachments work fine today. They also worked fine on Oct 15th. But >> all of the attachments I made on Oct 24 have a newline embedded as >> the >> last character of the directory name. >> >> I'll try to see if I can duplicate this error. Your time is better >> spent on other things I think. >> >> I'll let you know what I find out. >> >> Regards, >> Bernt >> >> Bernt Hansen writes: >> >>> I've only every created files in my data directory with the C-c a a >>> command. >>> >>> I'll try to get more useful information about this tonight >>> >>> -Bernt >>> >>> >>> Carsten Dominik writes: >>> >>>> Hi Bernt, >>>> >>>> it would be useful to know if the files in the directory with the >>>> \n >>>> where attached there or created there by a different method than >>>> the >>>> files in the directory without. >>>> >>>> Thanks. >>>> >>>> - Carsten >>>> >>>> On Nov 5, 2008, at 8:11 PM, Bernt Hansen wrote: >>>> >>>>> Hi Carsten, >>>>> >>>>> I've run into a problem with attachments. I tried opening an >>>>> attachment >>>>> for one of my tasks and it can't find it. >>>>> >>>>> As it turns out the attachment directory has an embedded newline >>>>> in it >>>>> like this: >>>>> >>>>> ,---- >>>>> | bernt@gollum:~/git/org/data/c6$ find . -type d -ls >>>>> | 5581153 4 drwxr-xr-x 4 bernt bernt 4096 Oct 24 >>>>> 15:59 . >>>>> | 5581154 4 drwxr-xr-x 2 bernt bernt 4096 Oct 24 >>>>> 15:59 ./47cbe-2158-46ce-bd93-8faf5ca95725 >>>>> | 5581156 4 drwxr-xr-x 2 bernt bernt 4096 Oct 24 >>>>> 17:05 ./47cbe-2158-46ce-bd93-8faf5ca95725\n >>>>> | bernt@gollum:~/git/org/data/c6$ >>>>> `---- >>>>> >>>>> and any files that were stored in the directory with the newline >>>>> can't >>>>> be found. >>>>> >>>>> The files are still there - just not retrievable from the org >>>>> attachment >>>>> system. >>>>> >>>>> I haven't bisected to find out where the problem was introduced. >>>>> >>>>> -Bernt >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Emacs-orgmode mailing list >>>>> Remember: use `Reply All' to send replies to the list. >>>>> Emacs-orgmode@gnu.org >>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode