When I press C-c C-a, in the past, the point would drop to the mini-buffer
and pre-populate it with Transaction: YYYY/MM/, I would fill in the
additional data, hit Return and it would create the entry in the ledger
file.
Now when I press C-c C-a, I get the calendar mini-window to select the date
(just like you see with org-mode when you C-c C-s to schedule a TODO or
APPT) if I either select a new date or just hit Return(today's date), the
only thing it does is populate the ledger file with the date.
I moved that .emacs.d out of the way and installed spacemacs with the
financial layer and C-c C-a works like it is supposed to.
Spacemacs is using ledger-mode-2017042301748 and
flycheck-ledger-20140605.1146.
So I moved the version below back to .emacs.d. Deleted
ledger-mode-20170604.1757 and replaced it with ledger-mode-2017042301748
and it works like it is supposed to.
ArchLinux
Ledger 3.1.1-3 --- Although this is weird: Printout from yaourt -Ss ledger
= aur/ledger 3.1.1-3 but Printout from ledger --version = Ledger
3.1.1-20160111.
ledger-mode-20170604.1757
flycheck-ledger-20140605.1146
This is my init.el file:
;;; init.el --- Emacs startup file
;;; Commentary:
;; This file is the start up file for Emacs.
;;; Code:
(defconst custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (not (file-exists-p custom-file))
(write-region "" nil custom-file))
(setq custom-file custom-file)
(load custom-file)
;;; package setup
(require 'package)
(setq load-prefer-newer t
package-enable-at-startup nil
package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("org" . "http://orgmode.org/elpa/")
("melpa" . "https://melpa.org/packages/")))
(package-initialize)
;; Bootstrap "use-package"
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(setq use-package-verbose t
use-package-always-ensure t)
(use-package ledger-mode
:mode "\\.ledger\\'"
:config
(define-key ledger-mode-map (kbd "C-c c") 'ledger-mode-clean-buffer)
(setq ledger-post-amount-alignment-at :decimal
ledger-post-amount-alignment-column 49
ledger-clear-whole-transactions t)
(use-package flycheck-ledger))
;;; init.el ends here
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.