emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Can't export in 7.8.11 and can't get 8.0.4 to work
@ 2013-07-15  6:29 Paul Whipp
  2013-07-15  6:43 ` Bastien
  2013-07-16  7:06 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Whipp @ 2013-07-15  6:29 UTC (permalink / raw)
  To: emacs-orgmode

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

I'm using emacs 24.2.1 in Ubuntu 13.04.

In the supplied org-mode version 7.8.11, I cannot export. When I attempt to
export (c-e c-a) I get: "Can't find library org".

If I use the package installer to upgrade org I get version 8.0.4 but it
then fails to complete my initialisation with: "Symbol's function
definition is void: org-defvaralias"

This is the backtrace:
Debugger entered--Lisp error: (void-function org-defvaralias)
  org-defvaralias(org-agenda-filter-preset org-agenda-tag-filter-preset)
  byte-code("\300\301\302\"\210\300\303\304\"\207" [org-defvaralias
org-agenda-filter-preset org-agenda-tag-filter-preset org-agenda-filter
org-agenda-tag-filter] 3)
  (org-agenda-list)
  (lambda nil (if (y-or-n-p-with-timeout "Update notes?" 7 t) (progn
(message "Updating ~/notes...") (shell-command-to-string "svn update
~/notes"))) (org-agenda-list) (switch-to-buffer (get-buffer "*Org
Agenda*")))()
  run-hooks(after-init-hook)
  command-line()
  normal-top-level()

If I try to export in 8.0.4 I get the "Symbol's function definition is
void: org-defvaralias" error again.

I don't really mind if I use 7.8.11 or 8.0.4 but I need it to load my
org-files without breaking and I need to be able to export them (usually as
html but pdf is great too on occasion).

Does anyone have a workaround or fix for this?

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

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

* Re: Can't export in 7.8.11 and can't get 8.0.4 to work
  2013-07-15  6:29 Can't export in 7.8.11 and can't get 8.0.4 to work Paul Whipp
@ 2013-07-15  6:43 ` Bastien
  2013-07-15 23:45   ` Paul Whipp
  2013-07-16  7:06 ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2013-07-15  6:43 UTC (permalink / raw)
  To: Paul Whipp; +Cc: emacs-orgmode

Hi Paul,

Paul Whipp <paul.whipp@gmail.com> writes:

> If I use the package installer to upgrade org I get version 8.0.4 but
> it then fails to complete my initialisation with: "Symbol's function
> definition is void: org-defvaralias"

If you use the package installer, you need to install Org in a fresh
Emacs session, where no Org feature has been loaded.

Hope this helps,

-- 
 Bastien

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

* Re: Can't export in 7.8.11 and can't get 8.0.4 to work
  2013-07-15  6:43 ` Bastien
@ 2013-07-15 23:45   ` Paul Whipp
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Whipp @ 2013-07-15 23:45 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

I followed the instructions and I did that.
Then I started a new session with it installed which is when I got the bug.

On 15 July 2013 16:43, Bastien <bzg@gnu.org> wrote:

> Hi Paul,
>
> Paul Whipp <paul.whipp@gmail.com> writes:
>
> > If I use the package installer to upgrade org I get version 8.0.4 but
> > it then fails to complete my initialisation with: "Symbol's function
> > definition is void: org-defvaralias"
>
> If you use the package installer, you need to install Org in a fresh
> Emacs session, where no Org feature has been loaded.
>
> Hope this helps,
>
> --
>  Bastien
>

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

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

* Re: Can't export in 7.8.11 and can't get 8.0.4 to work
  2013-07-15  6:29 Can't export in 7.8.11 and can't get 8.0.4 to work Paul Whipp
  2013-07-15  6:43 ` Bastien
@ 2013-07-16  7:06 ` Bastien
  2013-07-17  2:14   ` Paul Whipp
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2013-07-16  7:06 UTC (permalink / raw)
  To: Paul Whipp; +Cc: emacs-orgmode

Hi Paul,

Paul Whipp <paul.whipp@gmail.com> writes:

> If I use the package installer to upgrade org I get version 8.0.4 but
> it then fails to complete my initialisation with: "Symbol's function
> definition is void: org-defvaralias"

Please share the parts of your configuration that are relevant to
this, e.g. your package initialization and your Org initialization.

Thanks,

-- 
 Bastien

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

* Re: Can't export in 7.8.11 and can't get 8.0.4 to work
  2013-07-16  7:06 ` Bastien
@ 2013-07-17  2:14   ` Paul Whipp
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Whipp @ 2013-07-17  2:14 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

Thanks for your help. I had failed to include (package-initialize) in my
.emacs which was why 8.0.4 was not working.

Problem solved!


On 16 July 2013 17:06, Bastien <bzg@gnu.org> wrote:

> Hi Paul,
>
> Paul Whipp <paul.whipp@gmail.com> writes:
>
> > If I use the package installer to upgrade org I get version 8.0.4 but
> > it then fails to complete my initialisation with: "Symbol's function
> > definition is void: org-defvaralias"
>
> Please share the parts of your configuration that are relevant to
> this, e.g. your package initialization and your Org initialization.
>
> Thanks,
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 1105 bytes --]

[-- Attachment #2: my-org-mode.el --]
[-- Type: application/octet-stream, Size: 3276 bytes --]

;;; Customistations and set up for using org-mode
(provide 'my-org-mode)
(require 'my-functions)

;;; Always use visual-line-mode and org-indent-mode by default
(add-hook 'org-mode-hook
	  (lambda ()
	    (visual-line-mode 1)
	    (org-indent-mode 1)))

;;; The active org files - all my note files
(setq org-agenda-files nil)
(dolist (fname (files-matching-below "~/notes/active" ".org$"))
  (add-to-list 'org-agenda-files fname))
;;;(setq org-agenda-files nil)

;;; Open Appropriate applications for links
(setq org-file-apps
      '((auto-mode . emacs)
	("\\.mm\\'" . default)
	("\\.x?html?\\'" . default)
	("\\.pdf\\'" . default)
	("\\.ods\\'" . default)
	("\\.odt\\'" . default)))

;;; My TODO workflow states and logging
(setq org-drawers nil)
(dolist (elt '("FILE" "PROPERTIES"))
   (add-to-list 'org-drawers elt))

(setq org-todo-keywords
      '((sequence
	 "TASK" ; a task that will probably become something to do
	 "TODO" ; something to do that has not been started
	 "ACTIVE" ; something that is being worked on
	 "BLOCKED" ; something that can no longer be worked on for some reason
	 "|"
	 "DONE"
	 "CANCELLED")))

;;; Command shortcuts
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

;;; Capture setup
(setq org-directory "~/notes")
(setq org-default-notes-file (concat org-directory "/misc.org"))

;;; Capture templates
(setq org-capture-templates
      '(("t" "Todo" entry (file+headline "~/notes/misc.org" "Misc")
	 "* TASK %^{Title}
:LOGBOOK:
- Created: %u
:END:
%?
"
	 :prepend t)
	("o" "Todo (Orb)" entry (file+headline "~/notes/evanidus.org" "Miscellaneous")
	 "* TASK %^{Title} 
:LOGBOOK:
- Created: %u
:END:
%?
"
	 :prepend t)
	("n" "Todo (Naturapet)" entry (file+headline "~/notes/naturapet.org" "Naturapet Jobs")
	 "* TASK %^{Title} 
:LOGBOOK:
- Created: %u
:END:
%?
"
	 :prepend t)
	("e" "Event" entry (file+datetree+prompt "~/notes/events.org")
	 "* %^{Title} %?
")
	("c" "Call" entry (file+headline "~/notes/misc.org" "Calls")
	 "* TASK %^{Title} %U
%?
"
	 :prepend t)
	("s" "Snippet" entry (file+headline "~/notes/fiction/snippets.org" "Snippets")
	 "* %^{Title}
:LOGBOOK:
- Created: %u
:END:
%?
"
	 :prepend t)
	("l" "Link" table-line (file+headline "~/notes/misc.org" "Links" nil))))

;;; Capture from anywhere
(require 'org-protocol)

;;; Keep agenda view uncluttered
(setq org-agenda-skip-scheduled-if-done t)
(setq org-agenda-skip-deadline-if-done t)
(setq org-reverse-note-order t)
(setq org-agenda-span 14)
(setq org-agenda-start-on-weekday nil)

;;; Show pictures by default
(setq org-startup-with-inline-images t)

;;; Get my org notes and display agenda if wanted
(add-hook 'after-init-hook
	  (lambda ()
	    (if (y-or-n-p-with-timeout "Update notes?" 7 t)
		(progn
		  (message "Updating ~/notes...")
		  (shell-command-to-string "svn update ~/notes")))
	    (org-agenda-list)
	    (switch-to-buffer (get-buffer "*Org Agenda*"))))

;;;commit notes on exit (does not add - this could be better)
(defun my-exit ()
  (if (y-or-n-p-with-timeout "Commit changes to notes?" 7 t)
      (progn
	(message "Commiting changes to ~/notes...")
	(shell-command-to-string "svn commit -m '' ~/notes"))))
(add-hook 'kill-emacs-hook 'my-exit)

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

end of thread, other threads:[~2013-07-17  2:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15  6:29 Can't export in 7.8.11 and can't get 8.0.4 to work Paul Whipp
2013-07-15  6:43 ` Bastien
2013-07-15 23:45   ` Paul Whipp
2013-07-16  7:06 ` Bastien
2013-07-17  2:14   ` Paul Whipp

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