emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-agenda-overriding-columns-format ignored every other refresh
@ 2013-12-25  3:14 Russell Yanofsky
  2013-12-25 17:19 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Yanofsky @ 2013-12-25  3:14 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-25 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-25  3:14 Bug: org-agenda-overriding-columns-format ignored every other refresh Russell Yanofsky
2013-12-25 17:19 ` Nick Dokos

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).