[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-collector : display problem with propview
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] org-collector : display problem with propview |
Date: |
Thu, 22 Jul 2010 10:00:39 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
The following minimal patch to org-collector.el should remove tags from
the ITEM text, which will also remove the many "\n" characters. Please
let me know if this works for you.
Thanks -- Eric
diff --git a/contrib/lisp/org-collector.el b/contrib/lisp/org-collector.el
index 72eb8f2..2646b3f 100644
--- a/contrib/lisp/org-collector.el
+++ b/contrib/lisp/org-collector.el
@@ -177,7 +177,7 @@ variables and values specified in props"
;; collect the properties from every header
(let* ((header-props
(let ((org-trust-scanner-tags t))
- (org-map-entries (quote (cons (cons "ITEM" (org-get-heading))
+ (org-map-entries (quote (cons (cons "ITEM" (org-get-heading t))
(org-entry-properties)))
match scope)))
;; read property values
d.tchin <address@hidden> writes:
> Hi
>
> I try to use org-collector. Since I have changed org-mode to release 7.01
> there is a modification in the display of propview.
>
>
> Below an example :
>
> ---------------------------------------------------------
>
> * View
> #+BEGIN: propview :cols (ITEM CATEGORY) :scope tree :match "Inside1"
> | "ITEM" | "CATEGORY" |
> |--------------------------------------------+--------------|
> | "Inside first a \n\n\n\n\n\n :Inside1:" | "firstentry" |
> | "Inside first b \n\n\n\n\n\n :Inside1:" | "firstentry" |
> |--------------------------------------------+--------------|
> | | |
> #+END:
>
>
> #+BEGIN: propview :cols (ITEM CATEGORY) :scope tree :match "Inside2"
> | "ITEM" | "CATEGORY" |
> |------------------------------------------+---------------|
> | "Inside second\n\n\n\n\n\n :Inside2:" | "secondentry" |
> |------------------------------------------+---------------|
> | | |
> #+END:
>
> ** First entry
> :PROPERTIES:
> :CATEGORY: firstentry
> :END:
> *** Inside first a :Inside1:
> *** Inside first b :Inside1:
> ** Second entry
> :PROPERTIES:
> :CATEGORY: secondentry
> :END:
> *** Inside second :Inside2:
>
> ----------------------------------------------------------------------------
>
> There were "\n" added after ITEM entry then the tag.
>
> Subsidiary question : is it possible not to display the tag in propview
> ang ITEM entry.
>
>
> GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON
> Org-mode version 7.01
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode