emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Yanofsky <russ@yanofsky.org>
To: emacs-orgmode@gnu.org
Subject: Bug: org-agenda-overriding-columns-format ignored every other refresh
Date: Tue, 24 Dec 2013 22:14:28 -0500	[thread overview]
Message-ID: <CA+ip-BsGwyJn3gQeZ2GbhRb6P-MarNH2G6XO7NoEaU-yKpWg0A@mail.gmail.com> (raw)

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

Hi list,

I've been having a problem where my agenda column format is ignored every
other time I load or refresh the agenda, which makes it very hard to use.
When this happens, I see the following error in *Messages*: "Making
org-agenda-overriding-columns-format buffer-local while locally let-bound!"
which led me to experiment and find that when I delete the following lines
from the org-agenda-finalize function, the problem seems to be fixed:

- (if (and (boundp 'org-agenda-overriding-columns-format)
- org-agenda-overriding-columns-format)
-    (org-set-local 'org-agenda-overriding-columns-format
-   org-agenda-overriding-columns-format))

I'm wondering what these lines were intended to do, and if it's safe to
delete them.

My org-agenda-custom-commands value is:

  '(("n" "Agenda and all TODO's" ((agenda "" nil) (alltodo "" nil)) nil)
    ("r" "Russ Agenda" agenda ""
     ((org-agenda-overriding-header "Russ Agenda")
(org-agenda-view-columns-initially t)
      (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO
%5Effort{:} %6CLOCKSUM{Total}"))
     ("~/public_html/agenda.html"))
    ("q" "Russ Todos" alltodo ""
     ((org-agenda-view-columns-initially t)
      (org-agenda-overriding-columns-format "%80ITEM %TAGS %7TODO
%20SCHEDULED %5Effort{:} %6CLOCKSUM{Total}")
      (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote
todo) (quote ("DEFERRED")))))
      (org-agenda-sorting-strategy (quote (scheduled-up effort-up))))
     ("~/public_html/todo.html"))
    )

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

             reply	other threads:[~2013-12-25  3:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-25  3:14 Russell Yanofsky [this message]
2013-12-25 17:19 ` Bug: org-agenda-overriding-columns-format ignored every other refresh Nick Dokos

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+ip-BsGwyJn3gQeZ2GbhRb6P-MarNH2G6XO7NoEaU-yKpWg0A@mail.gmail.com \
    --to=russ@yanofsky.org \
    --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).