emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Auto-load org-colview when updating a dynamic colview block
Date: Thu, 24 Jul 2008 11:05:56 -0600	[thread overview]
Message-ID: <86vdyv8b63.fsf@pmade.com> (raw)

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

             reply	other threads:[~2008-07-24 17:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 17:05 Peter Jones [this message]
2008-07-24 17:11 ` [PATCH] Auto-load org-colview when updating a dynamic colview block Carsten Dominik

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=86vdyv8b63.fsf@pmade.com \
    --to=mlists@pmade.com \
    --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).