From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: [PATCH] Auto-load org-colview when updating a dynamic colview block Date: Thu, 24 Jul 2008 11:05:56 -0600 Message-ID: <86vdyv8b63.fsf@pmade.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM4Ga-0000jv-QQ for emacs-orgmode@gnu.org; Thu, 24 Jul 2008 13:06:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM4GY-0000jE-Gd for emacs-orgmode@gnu.org; Thu, 24 Jul 2008 13:06:12 -0400 Received: from [199.232.76.173] (port=37214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM4GY-0000jA-DD for emacs-orgmode@gnu.org; Thu, 24 Jul 2008 13:06:10 -0400 Received: from pmade.com ([64.92.223.213]:64900) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KM4GX-0001EO-ET for emacs-orgmode@gnu.org; Thu, 24 Jul 2008 13:06:10 -0400 Received: from beefy.local.pmade.com (75-166-108-207.hlrn.qwest.net [75.166.108.207]) (authenticated bits=0) by pmade.com (8.13.8/8.13.8) with ESMTP id m6OH62Ce088256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 24 Jul 2008 17:06:03 GMT (envelope-from pjones@pmade.com) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= If you try to update a dynamic colview block before org-colview has been auto-loaded, you get an error message about an undefined function org-dblock-write:columnview. Adding this function name to the list of auto-load functions that are in org-colview to the auto-load list in org.el fixes the problem. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=autoload.patch >From b450416fd270232317c0bc07d59536f2266e3e51 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 24 Jul 2008 11:02:14 -0600 Subject: [PATCH] Auto-load org-colview when updating a dynamic colview block If you try to update a dynamic colview block before org-colview has been auto-loaded, you get an error message about an undefined function org-dblock-write:columnview. Adding this function name to the list of auto-load functions that are in org-colview to the auto-load list in org.el fixes the problem. --- lisp/org.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 4051568..7a5be1f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2650,7 +2650,7 @@ collapsed state." (org-autoload (if (featurep 'xemacs) "org-colview-xemacs" "org-colview") '(org-columns-number-to-string org-columns-get-format-and-top-level org-columns-compute org-agenda-columns org-columns-remove-overlays - org-columns org-insert-columns-dblock)) + org-columns org-insert-columns-dblock org-dblock-write:columnview)) ;; Autoload ID code -- 1.5.3.7 --=-=-= -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--