emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sergey Pashinin <sergey@pashinin.com>
To: emacs-orgmode@gnu.org
Subject: org-agenda is not working after org-mode update
Date: Sun, 21 Apr 2013 16:28:07 +0400	[thread overview]
Message-ID: <5173DB57.1040201@pashinin.com> (raw)

I updated org-mode yesterday through Melpa.
After that org-agenda stopped working for me.

It says:

Invalid function: org-with-silent-modifications

In my script I had this:

(org-agenda nil "n")

Trying to execute it now gives:

Debugger entered--Lisp error: (invalid-function 
org-with-silent-modifications)
   org-with-silent-modifications(nil)
   org-refresh-category-properties()
   byte-code("\306\b!\203\.....
   org-agenda-prepare-buffers(("/data/org/work.org" ...))
   org-agenda-prepare("Agenda and all TODO's")
   (let nil (org-agenda-prepare name))
   eval((let nil (org-agenda-prepare name)))
   org-let(nil (org-agenda-prepare name))
   org-agenda-run-series("Agenda and all TODO's" (((agenda "") (alltodo 
""))))
   org-agenda(nil "n")
   eval((org-agenda nil "n") nil)
   eval-last-sexp-1(nil)
   eval-last-sexp(nil)
   call-interactively(eval-last-sexp nil nil)
   command-execute(eval-last-sexp)

-------------------------

Also have to add:

I had only "(require 'org)" in my file and it started to complain: "I 
don't know org-agenda-buffer-name variable"

So I had to add:

(require 'org)
(require 'org-agenda)
;;(require 'org-compat)

But still got an error I described above.
Looks like a bug

             reply	other threads:[~2013-04-21 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21 12:28 Sergey Pashinin [this message]
2013-04-21 13:26 ` org-agenda is not working after org-mode update 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=5173DB57.1040201@pashinin.com \
    --to=sergey@pashinin.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).