• Emacs org mode problems loading features org-crypt and org-habit

    From Carlo@21:1/5 to All on Fri Oct 20 06:05:29 2017
    I installed org-mode using package-install via MELPA, and most of the features run fine except for org-crypt and org-habit.

    The only feedback I'm getting from emacs is:

    Problems while trying to load feature ‘org-crypt’
    Problems while trying to load feature ‘org-habit’

    Here's what my org-init.el file looks like:

    BEGIN org-init.el:

    ;; Initialize Org Mode
    (require 'org)
    (require 'org-install)
    (require 'org-habit)
    (add-to-list 'org-modules "org-habit")
    (add-to-list 'org-modules "org-crypt")

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

    ;;Disable auto-saving
    (setq auto-save-default nil)

    ;; Set Org directories [Remember to update with journal books]
    (setq org-agenda-files (list "~/Documents/Org"
    "~/Documents/Org/Japanese"
    "~/Documents/Org/Statistics"
    "~/Documents/Org/Math"))


    ;;;Set lowest priority to G (ascii 71) for seven piority levels
    (setq org-lowest-priority 71)

    ;;;Org mode log TODO timestamp
    (setq org-log-done 'time)

    ;;;Archiving Directory for completed tasks
    (setq org-archive-location "~/Documents/Org/Completed.org::* From %s")

    ;;;Org enforce ordered properties, blocking
    (setq org-enforce-todo-dependencies t)

    ;;;Turn on abbrev-mode in org-mode
    (add-hook 'org-mode-hook 'abbrev-mode)
    (add-hook 'org-mode-hook 'helm-mode)

    ;; Enable symmetric encrpytion support
    (require 'org-crypt)
    ;;(setq epg-gpg-program "gpg2")
    (org-crypt-use-before-save-magic)
    (setq org-tags-exclude-from-inheritance (quote ("crypt")))
    ;; GPG key to use for encryption
    ;; Either the Key ID or set to nil to use symmetric encryption.
    (setq org-crypt-key nil)

    ;; Set the encoding to utf-8
    (setq org-export-coding-system 'utf-8)
    (prefer-coding-system 'utf-8)
    (set-charset-priority 'unicode)
    (setq default-process-coding-system '(utf-8-unix . utf-8-unix))

    ;; Don't allow editing of folded regions
    (setq org-catch-invisible-edits 'error)

    ;; Start the weekly agenda on Monday
    (setq org-agenda-start-on-weekday 1)

    ;; Enable indentation view, does not effect file.
    (setq org-startup-indented t)

    ;; Make attachments be copied / assigned a uuid
    ;; and placed in a appropiate folder
    (setq org-id-method (quote uuidgen))
    (setq org-attach-directory "attach/")

    (setq org-tag-persistent-alist '(("@coding" . ?x) ("@design" . ?d)
    ("@studying" . ?s) ("@errands" . ?e)
    ("@purchases" . ?p) ("crypt" . ?c)))


    ;; Sync Google calendars to your org files
    (require 'org-gcal)

    ;; Org Grep
    ;; see https://github.com/pinard/org-grep for usage
    (autoload 'org-grep "org-grep" nil t)
    (define-key org-mode-map "\C-cng" 'org-grep-full)
    (define-key org-mode-map "\C-cog" 'org-grep)


    END org-init.el

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)