emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Columns view for org-tags-view


From: Ilya Zonov
Subject: [O] Columns view for org-tags-view
Date: Fri, 28 Oct 2011 14:59:00 +0400

Hello!

First of all I want say thank you for great emacs mode, which I using for planning my life and job. Org-mode is the best!

I used 7.7 version with some patches from development version. For example, patch which adds ability to cleanup items in agenda view (org-columns-cleanup-item function).

I very like columns view, which I'm using for agenda views. So, I found that %ITEM is not cleaned for agenda views are generated by org-tags-view. After debuging and some investigation of org-tags-view code, I found that items in agenda view generated by org-tags-view have no text-property 'org-complex-heading-regexp. In this case org-columns-cleanup-item does not clean items.

Then I found that properties for item are coped in org-scan-tags function. But org-complex-heading-regexp property is not coped here. I suggest to add this property in this function. Please, could you check my correction? I have no big experience in lisp codding. So, maybe this change have some impact to other parts of org-mode. Here is little patch for version 7.7:

*** /usr/share/emacs/site-lisp/org-mode/org.el
--- Buffer org.el
***************
*** 12514,12519 ****
--- 12514,12520 ----
                'mouse-face 'highlight
                'org-not-done-regexp org-not-done-regexp
                'org-todo-regexp org-todo-regexp
+               'org-complex-heading-regexp org-complex-heading-regexp
                'help-echo
                (format "mouse-2 or RET jump to org file %s"
                    (abbreviate-file-name

--
Илья Зонов (Ilya Zonov) aka puzan
Nizhny Novgorod, Russia

reply via email to

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