Carsten Dominik <[EMAIL PROTECTED]> 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


_______________________________________________
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

Reply via email to