[Orgmode] Bug: contrib/src/org-collector.el [7.3]

2010-12-20 Thread MidLifeXis at PerlMonks
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


Re: [Orgmode] Bug: contrib/src/org-collector.el [7.3]

2010-12-20 Thread Eric Schulte
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 midlife...@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