From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Zonov Subject: Columns view for org-tags-view Date: Fri, 28 Oct 2011 14:59:00 +0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151773db1203a35204b059c8c5 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJk9k-0003Yz-Uh for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 06:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJk9j-0000nb-IP for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 06:59:24 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:51361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJk9j-0000nP-Dg for emacs-orgmode@gnu.org; Fri, 28 Oct 2011 06:59:23 -0400 Received: by iagf6 with SMTP id f6so5422490iag.0 for ; Fri, 28 Oct 2011 03:59:21 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --00151773db1203a35204b059c8c5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, patchwhich 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 tha= t %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 i= n 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 --=20 =D0=98=D0=BB=D1=8C=D1=8F =D0=97=D0=BE=D0=BD=D0=BE=D0=B2 (Ilya Zonov) aka pu= zan Nizhny Novgorod, Russia --00151773db1203a35204b059c8c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 cl= eanup items in agenda view (org-columns-cleanup-item function).

I very like columns view, which I'm using for agenda views. So, I f= ound that %ITEM is not cleaned for agenda views are generated by org-tags-v= iew. After debuging and some investigation of org-tags-view code, I found t= hat items in agenda view generated by org-tags-view have no text-property &= #39;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 functi= on. 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 ----
=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 'mouse-face 'highlight
=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'org-not-done-regexp= org-not-done-regexp
=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 'org-todo-regexp org-todo-regexp
+=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'org= -complex-heading-regexp org-complex-heading-regexp
=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 'help-echo
=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (format "mouse-2 or RET jump to org= file %s"
=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (abbreviate-file-name

--
=D0=98= =D0=BB=D1=8C=D1=8F =D0=97=D0=BE=D0=BD=D0=BE=D0=B2 (Ilya Zonov) aka puzanNizhny Novgorod, Russia
--00151773db1203a35204b059c8c5--