emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: BUG - Attachment directories with newlines


From: Nick Dokos
Subject: Re: [Orgmode] Re: BUG - Attachment directories with newlines
Date: Fri, 07 Nov 2008 02:21:03 -0500

Carsten Dominik <address@hidden> 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.

Regards,
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]