emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa @ /home/vadmin/.emacs.d/elpa/org-20141222/)]
@ 2014-12-30 19:07 Felix Fernandes
  2014-12-30 20:15 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Felix Fernandes @ 2014-12-30 19:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]

I recently updated to the latest org-mode version (using M-x
list-packages). Now M-x org-export-icalendar-this file
doesn't work. I get the following error message:
org-export-icalendar: Symbol's function definition is void:
org-prepare-agenda-buffers

More information below.  Please advise. Thank you.

Sincerely,
Felix Fernandes

Emacs  : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2014-02-22 on chindi10, modified by Debian
Package: Org-mode version 8.2.10 (8.2.10-29-g89a0ac-elpa @
/home/vadmin/.emacs.d/elpa/org-20141222/)

current state:
==============
(setq
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-icalendar-include-todo t
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-agenda-use-time-grid nil
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-agenda-custom-commands '(("pa" "A-priority" tags-todo
"+SCHEDULED<=\"<today>\"+PRIORITY=\"A\"") ("pb" "B-priority"

tags-todo

"+SCHEDULED<=\"<today>\"+PRIORITY=\"B\"")
                              ("pc" "C-priority" tags-todo
"+SCHEDULED<=\"<today>\"+PRIORITY=\"C\"") ("b" "Buy" tags

"+CATEGORY=\"BUY\"")
                              ("w" "Web" tags "+CATEGORY=\"WEB\"") ("k"
"Books" tags "+CATEGORY=\"BOOKS\"")
                              ("v" "Movies" tags "+CATEGORY=\"MOVIES\"")
("u" "Music" tags "+CATEGORY=\"MUSIC\""))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-deadline-warning-days 0
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-sorting-strategy '((agenda priority-down) (todo priority-down
category-keep) (tags priority-down category-keep) (search category-keep))
 org-agenda-start-with-follow-mode t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-prefix-format "  %-11:c% s"
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-show-block-all append local]
                   5]
                 #[nil "\300\301\302\303\304$\207" [org-add-hook
change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes my-org-mode-hook)
 org-agenda-start-on-weekday nil
 org-agenda-mode-hook '(my-org-agenda-mode-hook)
 org-directory "~/org/"
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-agenda-files '("~/org/todo.org" "~/org/home.org")
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-confirm-shell-link-function 'yes-or-no-p
 )

[-- Attachment #2: Type: text/html, Size: 4512 bytes --]

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa @ /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2014-12-30 19:07 Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa @ /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
@ 2014-12-30 20:15 ` Nick Dokos
  2015-01-01  1:20   ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa <at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2014-12-30 20:15 UTC (permalink / raw)
  To: emacs-orgmode

Felix Fernandes <felixfcaf@gmail.com> writes:

> I recently updated to the latest org-mode version (using M-x list-packages). Now M-x org-export-icalendar-this file
> doesn't work. I get the following error message:
> org-export-icalendar: Symbol's function definition is void: org-prepare-agenda-buffers
>
> More information below.  Please advise. Thank you.
>

AFAICT, there is no `org-export-icalendar' function in the current
version(s) of org. I suspect you are picking up bits and pieces from
the version of org that was bundled with your emacs (a so-called "mixed
installation").

You probably need to make sure that you install org correctly, so that
the previous bits are shadowed completely. Read the "Using Emacs
packaging system" subsection of the "Installation" section of the Org
manual for important information:

   (info "(org) Installation")


>
> Emacs  : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
>  of 2014-02-22 on chindi10, modified by Debian
> Package: Org-mode version 8.2.10 (8.2.10-29-g89a0ac-elpa @ /home/vadmin/.emacs.d/elpa/org-20141222/)
>

Nick

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa <at>  /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2014-12-30 20:15 ` Nick Dokos
@ 2015-01-01  1:20   ` Felix Fernandes
  2015-01-01 20:06     ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Felix Fernandes @ 2015-01-01  1:20 UTC (permalink / raw)
  To: emacs-orgmode

> You probably need to make sure that you install org correctly, so that
> the previous bits are shadowed completely. Read the "Using Emacs
> packaging system" subsection of the "Installation" section of the Org
> manual for important information:
> 
>    (info "(org) Installation")

I checked the information at the info node that you suggested. It provides
the following requirements: Make sure that no other org files are open
during the install and place (package-initialize) before setting org options
in .emacs. I verified both of these requirements and updated to org version
20141229, but I still encounter the function org-export-icalendar-this-file
and it still produces the same error as before. 

How to uninstall all org modes and re-install only the latest one?
Thanks.

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa <at> /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2015-01-01  1:20   ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa <at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
@ 2015-01-01 20:06     ` Nick Dokos
  2015-01-05 22:41       ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2015-01-01 20:06 UTC (permalink / raw)
  To: emacs-orgmode

Felix Fernandes <felixfcaf@gmail.com> writes:

>> You probably need to make sure that you install org correctly, so that
>> the previous bits are shadowed completely. Read the "Using Emacs
>> packaging system" subsection of the "Installation" section of the Org
>> manual for important information:
>> 
>>    (info "(org) Installation")
>
> I checked the information at the info node that you suggested. It provides
> the following requirements: Make sure that no other org files are open
> during the install and place (package-initialize) before setting org options
> in .emacs. I verified both of these requirements and updated to org version
> 20141229, but I still encounter the function org-export-icalendar-this-file
> and it still produces the same error as before. 
>

Try putting the call to package-initialize at the very top of your
.emacs.

> How to uninstall all org modes and re-install only the latest one?

AFAIK, you don't need to uninstall the bundled org-mode.

See

  http://thread.gmane.org/gmane.emacs.orgmode/84840/focus=84862

and its containing thread:

  http://thread.gmane.org/gmane.emacs.orgmode/84840

for some enlightenment.

-- 
Nick

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2015-01-01 20:06     ` Nick Dokos
@ 2015-01-05 22:41       ` Felix Fernandes
  2015-01-05 22:58         ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Felix Fernandes @ 2015-01-05 22:41 UTC (permalink / raw)
  To: emacs-orgmode

Thanks for your help, Nick. I found that C-c C-e c f replaces
org-export-icalendar-this-file. It would be nice if M-x
org-export-icalendar-this-file is undefined or pops up an error message
stating that it has been replaced by C-c C-e c f.

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2015-01-05 22:41       ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
@ 2015-01-05 22:58         ` Nick Dokos
  2015-01-06 19:12           ` Felix Fernandes
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2015-01-05 22:58 UTC (permalink / raw)
  To: emacs-orgmode

Felix Fernandes <felixfcaf@gmail.com> writes:

> Thanks for your help, Nick. I found that C-c C-e c f replaces
> org-export-icalendar-this-file. It would be nice if M-x
> org-export-icalendar-this-file is undefined or pops up an error message
> stating that it has been replaced by C-c C-e c f.

org-export-icalendar-this-file *is* undefined in versions of org >= 8.0.
When I try M-x org-export-icalendar-this-file on a modern org, I get "No
match".  The fact that you get something else is indicative of
installation problems as I alluded to before.

In the current version, C-c C-e c f is bound to the command
org-icalendar-export-to-ics.

Nick

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

* Re: Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)]
  2015-01-05 22:58         ` Nick Dokos
@ 2015-01-06 19:12           ` Felix Fernandes
  0 siblings, 0 replies; 7+ messages in thread
From: Felix Fernandes @ 2015-01-06 19:12 UTC (permalink / raw)
  To: emacs-orgmode

> org-export-icalendar-this-file *is* undefined in versions of org >= 8.0.
> When I try M-x org-export-icalendar-this-file on a modern org, I get "No
> match".  The fact that you get something else is indicative of
> installation problems as I alluded to before.

The org-export-icalendar-this-file is the least of my worries because I can
just use org-icalendar-export-to-ics. Thanks again for your help. I will
re-post seeking a solution to the installation problem.

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

end of thread, other threads:[~2015-01-06 19:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 19:07 Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa @ /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
2014-12-30 20:15 ` Nick Dokos
2015-01-01  1:20   ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa <at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
2015-01-01 20:06     ` Nick Dokos
2015-01-05 22:41       ` Bug: org-export-icalendar-this-file doesn't work [8.2.10 (8.2.10-29-g89a0ac-elpa<at> /home/vadmin/.emacs.d/elpa/org-20141222/)] Felix Fernandes
2015-01-05 22:58         ` Nick Dokos
2015-01-06 19:12           ` Felix Fernandes

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