From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Re: BUG - Attachment directories with newlines Date: Fri, 07 Nov 2008 08:08:03 -0500 Message-ID: <87r65nadl8.fsf@gollum.intra.norang.ca> 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> <878wrwjmj6.fsf@gollum.intra.norang.ca> <9937C40F-3683-4376-B7C5-7F59A97EE062@uva.nl> <912.1226042463@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyR4O-0000aO-No for emacs-orgmode@gnu.org; Fri, 07 Nov 2008 08:08:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyR4N-0000Z1-Rm for emacs-orgmode@gnu.org; Fri, 07 Nov 2008 08:08:12 -0500 Received: from [199.232.76.173] (port=40342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyR4N-0000Yp-Ha for emacs-orgmode@gnu.org; Fri, 07 Nov 2008 08:08:11 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:52765) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KyR4N-0007no-45 for emacs-orgmode@gnu.org; Fri, 07 Nov 2008 08:08:11 -0500 In-Reply-To: <912.1226042463@gamaville.dokosmarshall.org> (Nick Dokos's message of "Fri\, 07 Nov 2008 02\:21\:03 -0500") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Carsten Dominik wrote: > >> This is very strange. I cannot reproduce this. When I evaluate in >> your example >> >> > | (org-id-get (point)) >> > | (org-entry-get (point) "ID") >> >> I get in both cases just the ID, no newline with it. Also, new >> newlines are created for me after the attachment property. Can please >> more people try Bernt's example? >> > > I cannot reproduce it either. This is a shot in the dark but I noticed > that org-entry-get uses a regexp using "\\S-", which is supposed to > match whitespace. Maybe Bernt has somehow modified his syntax tables so > that newline is not whitespace? If so, I believe that the return value > will include the newline and org-id-get will return it unchanged as well, > thereby explaining what Bernt sees. I haven't knowingly modified it :) I'll try again with a minimal emacs and see if it goes away. More details later... -Bernt