emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ilya Zonov <izonov@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Columns view for org-tags-view
Date: Fri, 28 Oct 2011 14:59:00 +0400	[thread overview]
Message-ID: <CAHAVt8c0S0LBecsSvdqbPHD0YLkA5DFTxdTHijvqdk+j37r6gg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]

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<http://orgmode.org/w/?p=org-mode.git;a=blobdiff;f=lisp/org-colview.el;h=f0585193c6a3c843eeed98fa581f1d0ba099cf7d;hp=2ad5f95616447b43bdd32e56e671ae1fa3e96d82;hb=2edd05eaac6c62ce76572c469415602e6de94cda;hpb=8c3ecbe39a0c99e3724246d1eb460495a53721b6>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

[-- Attachment #2: Type: text/html, Size: 3961 bytes --]

             reply	other threads:[~2011-10-28 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28 10:59 Ilya Zonov [this message]
2011-10-28 12:48 ` Columns view for org-tags-view Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHAVt8c0S0LBecsSvdqbPHD0YLkA5DFTxdTHijvqdk+j37r6gg@mail.gmail.com \
    --to=izonov@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).