From: Paul Whipp <paul.whipp@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can't export in 7.8.11 and can't get 8.0.4 to work
Date: Wed, 17 Jul 2013 12:14:51 +1000 [thread overview]
Message-ID: <CAMAB+PqctVAQXtaMMdmD4R35NStpcfbne+3b4R9osyDiZ3oPfg@mail.gmail.com> (raw)
In-Reply-To: <8761wbugpr.fsf@bzg.ath.cx>
[-- 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)
prev parent reply other threads:[~2013-07-17 2:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMAB+PqctVAQXtaMMdmD4R35NStpcfbne+3b4R9osyDiZ3oPfg@mail.gmail.com \
--to=paul.whipp@gmail.com \
--cc=bzg@gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.