emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: Bastien <bzg@altern.org>,
	nicholas.dokos@hp.com, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: agenda: "void: category-pos"
Date: Wed, 24 Aug 2011 17:59:42 -0400	[thread overview]
Message-ID: <6710.1314223182@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Michael Brand <michael.ch.brand@gmail.com> of "Wed, 24 Aug 2011 23:20:04 +0200." <CALn3zohYai-a=K43dcY1JO4UA_z8_UC1zGc4C=Upfh5Wsumkgg@mail.gmail.com>

Michael Brand <michael.ch.brand@gmail.com> wrote:

> Hi all
> 
> Since
> http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=15798836e2bb84bebfb005375e08e38830fc90ee
> from yesterday or with the newest release_7.7-194-gd203b61 when I try
> to open the agenda with a minimal setup I get "save-excursion:
> Symbol's value as variable is void: category-pos". Anybody else too?
> 
> Michael
> 

Yup - I patched it with a band-aid for now (I had to to get emacs
started), but I haven't really looked deeper:

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index e3236e5..e26d08c 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3793,7 +3793,7 @@ (defun org-search-view (&optional todo-only string edit-at)
 	 (full-words org-agenda-search-view-force-full-words)
 	 (org-agenda-text-search-extra-files org-agenda-text-search-extra-files)
 	 regexp rtn rtnall files file pos
-	 marker category tags c neg re boolean
+	 marker category category-pos tags c neg re boolean
 	 ee txt beg end words regexps+ regexps- hdl-only buffer beg1 str)
     (unless (and (not edit-at)
 		 (stringp string)
@@ -4730,7 +4730,7 @@ (defun org-agenda-get-timestamps ()
 	   "\\|\\(<[0-9]+-[0-9]+-[0-9]+[^>\n]+?\\+[0-9]+[dwmy]>\\)"
 	   "\\|\\(<%%\\(([^>\n]+)\\)>\\)"))
 	 marker hdmarker deadlinep scheduledp clockp closedp inactivep
-	 donep tmp priority category ee txt timestr tags b0 b3 e3 head
+	 donep tmp priority category category-pos ee txt timestr tags b0 b3 e3 head
 	 todo-state end-of-match show-all)
     (goto-char (point-min))
     (while (setq end-of-match (re-search-forward regexp nil t))

DEVS: please don't apply this without some investigation - afaik, it's
just a workaround for the problem.

Thanks,
Nick

  reply	other threads:[~2011-08-24 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 21:20 agenda: "void: category-pos" Michael Brand
2011-08-24 21:59 ` Nick Dokos [this message]
2011-08-25  2:50 ` Erik Iverson
2011-08-25 13:20 ` Bastien
2011-08-25 13:43   ` Michael Brand
2011-08-25 18:40   ` Achim Gratz
2011-08-25 21:46     ` 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=6710.1314223182@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.ch.brand@gmail.com \
    /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).