From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Yanofsky Subject: Bug: org-agenda-overriding-columns-format ignored every other refresh Date: Tue, 24 Dec 2013 22:14:28 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b66f9cb4d425b04ee5342f1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vvevc-0000wi-IO for emacs-orgmode@gnu.org; Tue, 24 Dec 2013 22:14:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvevW-0003I1-Nr for emacs-orgmode@gnu.org; Tue, 24 Dec 2013 22:14:36 -0500 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:50540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvevW-0003Hx-CM for emacs-orgmode@gnu.org; Tue, 24 Dec 2013 22:14:30 -0500 Received: by mail-we0-f169.google.com with SMTP id w61so6477578wes.28 for ; Tue, 24 Dec 2013 19:14:28 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b66f9cb4d425b04ee5342f1 Content-Type: text/plain; charset=ISO-8859-1 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")) ) --047d7b66f9cb4d425b04ee5342f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi list,

I've been havin= g a problem where my agenda column format is ignored every other time I loa= d or refresh the agenda, which makes it very hard to use. When this happens= , I see the following error in *Messages*: "Making org-agenda-overridi= ng-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-co= lumns-format)
- =A0 =A0(org-set-l= ocal 'org-agenda-overriding-columns-format
- =A0 org-agenda-overriding-columns-form= at))

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:

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