* org-collector : display problem with propview
@ 2010-07-22 8:52 d.tchin
2010-07-22 9:00 ` d.tchin
2010-07-22 17:00 ` Eric Schulte
0 siblings, 2 replies; 5+ messages in thread
From: d.tchin @ 2010-07-22 8:52 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-collector : display problem with propview
2010-07-22 8:52 org-collector : display problem with propview d.tchin
@ 2010-07-22 9:00 ` d.tchin
2010-07-22 17:00 ` Eric Schulte
1 sibling, 0 replies; 5+ messages in thread
From: d.tchin @ 2010-07-22 9:00 UTC (permalink / raw)
To: emacs-orgmode
<d.tchin> writes:
>
> Hi
>
...
> Subsidiary question : is it possible not to display the tag in propview
> ang ITEM entry.
Sorry. For this question, what I want is to get ITEM entry without the
tag in propview display.
>
> 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.
> Emacs-orgmode <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-collector : display problem with propview
2010-07-22 8:52 org-collector : display problem with propview d.tchin
2010-07-22 9:00 ` d.tchin
@ 2010-07-22 17:00 ` Eric Schulte
2010-07-23 7:16 ` d.tchin
1 sibling, 1 reply; 5+ messages in thread
From: Eric Schulte @ 2010-07-22 17:00 UTC (permalink / raw)
To: d.tchin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-collector-w-o-tags.patch --]
[-- Type: text/x-diff, Size: 569 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 1969 bytes --]
d.tchin <d.tchin@voila.fr> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #4: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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 related [flat|nested] 5+ messages in thread
* Re: org-collector : display problem with propview
2010-07-22 17:00 ` Eric Schulte
@ 2010-07-23 7:16 ` d.tchin
2010-07-23 16:38 ` Eric Schulte
0 siblings, 1 reply; 5+ messages in thread
From: d.tchin @ 2010-07-23 7:16 UTC (permalink / raw)
To: emacs-orgmode
Eric Schulte <schulte.eric <at> gmail.com> writes:
>
> 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
>
>
> Attachment (org-collector-w-o-tags.patch): text/x-diff, 569 bytes
>
>
> d.tchin <d.tchin <at> voila.fr> writes:
>
Hi Eric,
It works as expected.
Thanks
d.tchin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: org-collector : display problem with propview
2010-07-23 7:16 ` d.tchin
@ 2010-07-23 16:38 ` Eric Schulte
0 siblings, 0 replies; 5+ messages in thread
From: Eric Schulte @ 2010-07-23 16:38 UTC (permalink / raw)
To: d.tchin; +Cc: emacs-orgmode
d.tchin <d.tchin@voila.fr> writes:
> Eric Schulte <schulte.eric <at> gmail.com> writes:
>
>>
>> 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
>>
>>
>> Attachment (org-collector-w-o-tags.patch): text/x-diff, 569 bytes
>>
>>
>> d.tchin <d.tchin <at> voila.fr> writes:
>>
>
> Hi Eric,
>
> It works as expected.
>
Great, this patch has now been applied. Thanks -- Eric
>
> Thanks
>
> d.tchin
>
>
> _______________________________________________
> 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] 5+ messages in thread
end of thread, other threads:[~2010-07-23 16:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 8:52 org-collector : display problem with propview d.tchin
2010-07-22 9:00 ` d.tchin
2010-07-22 17:00 ` Eric Schulte
2010-07-23 7:16 ` d.tchin
2010-07-23 16:38 ` Eric Schulte
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).