* [PATCH] Auto-load org-colview when updating a dynamic colview block
@ 2008-07-24 17:05 Peter Jones
2008-07-24 17:11 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Peter Jones @ 2008-07-24 17:05 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: autoload.patch --]
[-- Type: text/x-patch, Size: 1121 bytes --]
From b450416fd270232317c0bc07d59536f2266e3e51 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@pmade.com>
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
[-- Attachment #3: Type: text/plain, Size: 65 bytes --]
--
Peter Jones, http://pmade.com
pmade inc. Louisville, CO US
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Auto-load org-colview when updating a dynamic colview block
2008-07-24 17:05 [PATCH] Auto-load org-colview when updating a dynamic colview block Peter Jones
@ 2008-07-24 17:11 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-07-24 17:11 UTC (permalink / raw)
To: Peter Jones; +Cc: emacs-orgmode
Fixed, thanks.
- Carsten
On Jul 24, 2008, at 10:05 AM, Peter Jones wrote:
> 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.
>
> From b450416fd270232317c0bc07d59536f2266e3e51 Mon Sep 17 00:00:00 2001
> From: Peter Jones <pjones@pmade.com>
> 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
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-24 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 17:05 [PATCH] Auto-load org-colview when updating a dynamic colview block Peter Jones
2008-07-24 17:11 ` Carsten Dominik
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).