emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: contrib/src/org-collector.el [7.3]
@ 2010-12-20 17:39 MidLifeXis at PerlMonks
  2010-12-20 19:15 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: MidLifeXis at PerlMonks @ 2010-12-20 17:39 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

org-read-prop treats strings beginning with digits as numbers.
 

contrib/lisp/org-collector.el: (line 124ish: 
http://repo.or.cz/w/org-mode.git/blob/5f77fd6a81a4241ce5a8e346acb9df089d65b462:/contrib/lisp/org-collector.el#l124)


(org-read-prop "123abc-def543") returns 123, should return "123abc-def543"

Creates problems trying to include org-generated ID numbers (UUID style) into a 
propview table.

Perhaps later I can submit a patch, but I don't currently have the cycles.

My current configuration is:

Emacs  : GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
 of 2008-03-26 on RELEASE
Package: Org-mode version 7.3


but the problem is still in the master branch (see link above).


Brian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: contrib/src/org-collector.el [7.3]
  2010-12-20 17:39 Bug: contrib/src/org-collector.el [7.3] MidLifeXis at PerlMonks
@ 2010-12-20 19:15 ` Eric Schulte
  2010-12-20 22:03   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Schulte @ 2010-12-20 19:15 UTC (permalink / raw)
  To: MidLifeXis at PerlMonks; +Cc: emacs-orgmode

Hi Brian,

Thanks for the report.  I've just pushed up a fix to org-collector.el.
I've entirely removed `org-read-prop' and replaced it with
`org-babel-read' a more modern/robust version of the same function which
doesn't display the problem you mentioned below.

#+begin_src emacs-lisp
  (org-babel-read "123abc-def543") ; 123abc-def543
#+end_src

Cheers -- Eric

MidLifeXis at PerlMonks <midlifexis@wightmanfam.org> writes:

> Hello,
>
> org-read-prop treats strings beginning with digits as numbers.
>  
>
> contrib/lisp/org-collector.el: (line 124ish: 
> http://repo.or.cz/w/org-mode.git/blob/5f77fd6a81a4241ce5a8e346acb9df089d65b462:/contrib/lisp/org-collector.el#l124)
>
>
> (org-read-prop "123abc-def543") returns 123, should return "123abc-def543"
>
> Creates problems trying to include org-generated ID numbers (UUID style) into a 
> propview table.
>
> Perhaps later I can submit a patch, but I don't currently have the cycles.
>
> My current configuration is:
>
> Emacs  : GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
>  of 2008-03-26 on RELEASE
> Package: Org-mode version 7.3
>
>
> but the problem is still in the master branch (see link above).
>
>
> Brian
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: contrib/src/org-collector.el [7.3]
  2010-12-20 19:15 ` Eric Schulte
@ 2010-12-20 22:03   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-12-20 22:03 UTC (permalink / raw)
  To: Eric Schulte; +Cc: MidLifeXis at PerlMonks, emacs-orgmode

Thanks Eric, for the quick fix.

- Carsten
On Dec 20, 2010, at 8:15 PM, Eric Schulte wrote:

> Hi Brian,
>
> Thanks for the report.  I've just pushed up a fix to org-collector.el.
> I've entirely removed `org-read-prop' and replaced it with
> `org-babel-read' a more modern/robust version of the same function  
> which
> doesn't display the problem you mentioned below.
>
> #+begin_src emacs-lisp
>  (org-babel-read "123abc-def543") ; 123abc-def543
> #+end_src
>
> Cheers -- Eric
>
> MidLifeXis at PerlMonks <midlifexis@wightmanfam.org> writes:
>
>> Hello,
>>
>> org-read-prop treats strings beginning with digits as numbers.
>>
>>
>> contrib/lisp/org-collector.el: (line 124ish:
>> http://repo.or.cz/w/org-mode.git/blob/5f77fd6a81a4241ce5a8e346acb9df089d65b462:/contrib/lisp/org-collector.el#l124)
>>
>>
>> (org-read-prop "123abc-def543") returns 123, should return "123abc- 
>> def543"
>>
>> Creates problems trying to include org-generated ID numbers (UUID  
>> style) into a
>> propview table.
>>
>> Perhaps later I can submit a patch, but I don't currently have the  
>> cycles.
>>
>> My current configuration is:
>>
>> Emacs  : GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
>> of 2008-03-26 on RELEASE
>> Package: Org-mode version 7.3
>>
>>
>> but the problem is still in the master branch (see link above).
>>
>>
>> Brian
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-20 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 17:39 Bug: contrib/src/org-collector.el [7.3] MidLifeXis at PerlMonks
2010-12-20 19:15 ` Eric Schulte
2010-12-20 22:03   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).