emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam <noorul@noorul.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: [PATCH] Fix regression introduced in 15798836
Date: Wed, 24 Aug 2011 11:41:41 +0530	[thread overview]
Message-ID: <CA+H4GH_Orf_nxmJM1+VyEO8KGGL3owsnun7T_XkooiJzC336sA@mail.gmail.com> (raw)

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

Log

[[[
* lisp/org-agenda.el
  (org-agenda-get-todos): Set category-pos before usage.
]]]

Thanks and Regards
Noorul

[-- Attachment #2: category-pos.txt --]
[-- Type: text/plain, Size: 517 bytes --]

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index e3236e5..8d869be 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4607,6 +4607,7 @@ the documentation of `org-diary'."
 	(goto-char (match-beginning 1))
 	(setq marker (org-agenda-new-marker (match-beginning 0))
 	      category (org-get-category)
+	      category-pos (get-text-property (point) 'org-category-position)
 	      txt (match-string 1)
 	      tags (org-get-tags-at (point))
 	      txt (org-format-agenda-item "" txt category tags)

             reply	other threads:[~2011-08-24  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24  6:11 Noorul Islam [this message]
2011-08-24  8:18 ` [PATCH] Fix regression introduced in 15798836 Bastien

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=CA+H4GH_Orf_nxmJM1+VyEO8KGGL3owsnun7T_XkooiJzC336sA@mail.gmail.com \
    --to=noorul@noorul.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).