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: Bernt Hansen
Subject: Re: [Orgmode] Re: BUG - Attachment directories with newlines
Date: Fri, 07 Nov 2008 08:08:03 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Nick Dokos <address@hidden> writes:

> 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.

I haven't knowingly modified it :)  I'll try again with a minimal emacs
and see if it goes away.

More details later...

-Bernt




reply via email to

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