Moritz Ulrich
6dbb36f525
ledger-mode: Add `ledger-remove-effective-date'.
...
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-30 00:22:43 +01:00
Moritz Ulrich
15b94e8f44
emacs-mode: Prefix every function/variable/macro with ledger-.
...
This is the common convention in Emacs Lisp. Not following it might
cause problems with other packages as functions/variables/macros are
always visible to other modules.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-29 22:56:45 +01:00
Moritz Ulrich
c0812b91bf
Fix `ledger-string-to-number' for decimal-comma
...
--=-=-=
Content-Type: text/plain
Hi John,
Small bug, caused by ill-formatted elisp. This is a small patch, so i
think making a fork & opening a Pull Request is a bit too much. I'll go
this route if I make bigger contributions in the future.
From de1fb19ded5300a227d58e3d3094928b211db09b Mon Sep 17 00:00:00 2001
From: Moritz Ulrich <moritz@tarn-vedra.de>
Date: Sat, 28 Dec 2013 22:37:54 +0100
Subject: [PATCH] ledger-string-to-number: Fix nil return value with
decimal-comma.
Unfavorable formatting hid this bug pretty well. In case of true-ish
`decimal-comma' or "decimal-comma' in `ledger-environment-alist', the
ill-formatted `if' (and the whole function) returns nil.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-28 18:11:25 -06:00
John Wiegley
8d38060968
Merge pull request #225 from 4ourbit/patch-1
...
fix for unexpected point movement
2013-12-23 16:33:40 -08:00
4ourbit
f18833c78b
fix for unexpected point movement
...
bug fixed: point moves to previous char when called at whitespace-only line
2013-12-23 14:06:20 +01:00
Johann Klähn
4e997836c3
remove contrib/vim and point to new location
2013-12-16 18:27:24 +01:00
Craig Earls
50f63a8bfd
Merge pull request #223 from vanicat/t/schedule-with-args
...
I should have done this a long time ago, but I got too lazy. Thanks Remi!
2013-12-12 11:24:07 -08:00
Rémi Vanicat
ead3bbb7bf
ledger-schedule-upcoming take argument.
...
One can forget to run ledger-schedule-upcoming for some time. Then there
is the risk that ledger-schedule-look-backward is too short. This will
open the possibility to use a different file, or to change the period
backward or forward for this kind of case.
2013-12-12 18:56:16 +01:00
Rémi Vanicat
b4897a9e7c
Pop the new schedule buffers
2013-12-12 18:56:05 +01:00
Steve Purcell
dcd9cc4b17
ledger-mode: Also bind g to ledger-report-redo, as is standard elsewhere
2013-12-11 19:08:56 +00:00
Steve Purcell
56f6a4d83e
Don't default fill-column to 8 in Emacs
2013-12-11 12:52:58 +00:00
Steve Purcell
ccaaf7e235
ledger-mode: Fix a number of byte-compilation warnings
2013-12-11 08:36:22 +00:00
Steve Purcell
12816a77e3
ledger-mode: Add missing argument to ledger-delete-current-transaction
2013-12-11 08:36:22 +00:00
Steve Purcell
6eca277bbc
ledger-mode: Remove duplication in ledger-set-{year,month}
2013-12-11 08:36:22 +00:00
Steve Purcell
75a2d9d31e
ledger-mode: Add namespace prefix to highlight-overlay
...
make-variable-buffer-local is a top-level form: this commit moves that
call from ledger-mode to next to the variable's declaration.
2013-12-11 08:36:22 +00:00
Steve Purcell
aaf20ab07f
ledger-mode: Use easymenu to remove boilerplate
...
Among other benefits, this lets us define the menu entries from top to
bottom, rather than in reverse.
2013-12-11 08:31:07 +00:00
Craig Earls
2b94b264be
Merge pull request #221 from purcell/top-level-keymaps
...
ledger-mode: declare keymaps at the top level
2013-12-09 12:55:50 -08:00
Steve Purcell
c85643b04e
ledger-mode: declare keymaps at the top level
2013-12-09 20:41:01 +00:00
Craig Earls
123ada2f37
Merge pull request #220 from purcell/ledger-mode-syntax-table
...
ledger-mode: define and use a syntax table so that comments are handled properly
2013-12-09 11:24:34 -08:00
Steve Purcell
a74053b010
ledger-mode: define and use a syntax table so that comments are handled properly
...
Specifically, functionality which uses syntax-ppss to detect comments
needs the syntax table to be aware of them. A prime example is
goto-address-prog-mode.
This commit adds a basic syntax table for this purpose.
2013-12-09 19:11:23 +00:00
Craig Earls
0e5867bc5c
Merge pull request #218 from vanicat/t/reload-init
...
Reload init when calling ledger-init-load-init-file again.
I don't know why I missed that before. This is how it is supposed to work. Thanks.
2013-11-26 10:02:12 -08:00
Craig Earls
f49b425fee
Merge pull request #217 from vanicat/t/scheduling-docs
...
Correction of docs on Scheduling Transactions
2013-11-26 09:59:40 -08:00
Rémi Vanicat
5b4400b2d0
Reload init when calling ledger-init-load-init-file again.
...
When the ledger-init-load-init-file was called again, it used to parse ledger
init file, and to throw away the result. No you can use it to load this file
again when you have change something in it.
2013-11-26 13:19:38 +01:00
Rémi Vanicat
665279896d
Correction of docs on Scheduling Transactions
2013-11-26 13:15:12 +01:00
Craig Earls
fc716a5ca1
Merge branch 'ledger-mode-automatic-transactions'
...
Conflicts:
lisp/ledger-post.el
2013-11-12 09:24:29 -07:00
Craig Earls
f34ad34b89
Fix values pushed to calc
2013-11-12 09:21:44 -07:00
Craig Earls
1db0b0892c
Merge branch 'master' into ledger-mode-automatic-transactions
2013-11-06 08:48:54 -07:00
Craig Earls
d51e6f32d7
Merge pull request #214 from purcell/patch-1
...
ledger-mode: Fix provided feature to match file/package name
2013-11-03 14:58:08 -08:00
Steve Purcell
979b5b990a
Fix provided feature to match file/package name
...
For `require` to work correctly, the provided feature name
must match the name of the file.
2013-11-03 21:34:55 +00:00
Craig Earls
d7d442135b
And const directives in account.h and commodity.h to allow build in OS X Mavericks.
2013-10-30 06:40:17 -07:00
Johann Klähn
de5cc27914
install texinfo files
2013-10-23 22:14:25 +02:00
Craig Earls
52228e7cc1
Merge branch 'master' into ledger-mode-automatic-transactions
2013-10-02 07:43:54 -07:00
John Wiegley
6ebb05ebb7
Merge pull request #213 from kain88-de/readme_typo
...
fix README.md build command
2013-09-30 11:00:58 -07:00
Max Linke
04fd759eb1
fix README.md build command
...
--prefix= should not be passed to cmake directly. If the extra '--'
is removed then the prefix get passed correctly to cmake.
2013-09-28 19:59:32 +02:00
Craig Earls
7507215a37
Merge pull request #212 from bentglasstube/master
...
Fix reference to old pattern negation syntax
2013-09-24 13:02:19 -07:00
Alan Berndt
b23616abc0
Fix reference to old pattern negation syntax
2013-09-24 12:54:32 -07:00
John Wiegley
36ea8a4fba
Merge pull request #211 from mneilsen/master
...
Update ledger-mode's "Quick Installation" docs
2013-09-23 03:50:52 -07:00
Simon Michael
2b0aa798f1
delete obsolete ledger.texi. Down with cruft!
2013-09-21 12:02:47 -07:00
Mike Neilsen
5bd97a9dbd
Update ledger-mode's "Quick Installation" docs
...
* Change quote character to '
* Fix indentation
* Load "ledger-mode" rather than "ldg-new"
2013-09-21 09:54:49 -05:00
Craig Earls
bee6605e08
Merge branch 'master' into ledger-mode-automatic-transactions
2013-09-20 07:26:44 -07:00
John Wiegley
d30c3fb869
Guard against a possible null value
2013-09-20 00:54:43 -05:00
John Wiegley
8048581ac8
Merge pull request #210 from OpenTechStrategies/fix-build-instructions
...
Remove some obsolete material from the build instructions.
2013-09-19 00:47:58 -07:00
Karl Fogel
854adb4f3a
Remove some obsolete material from the build instructions.
...
It no longer works to create the "build" directory and then build
separate optimized and debug versions. As confirmed in IRC with sm
and egh, the former instructions resulted in an error:
$ mkdir build
$ ./acprep opt make
make: *** No targets specified and no makefile found. Stop.
acprep: ERROR: Execution failed: make
$ ./acprep debug make
make: *** No targets specified and no makefile found. Stop.
acprep: ERROR: Execution failed: make
Maybe there's a fix for this, but I don't know what it is, so this
commit just makes the build instructions work for the common case.
2013-09-18 16:51:04 -05:00
Craig Earls
0f17bc11c2
Merge pull request #208 from vkurup/master
...
ledger-copy-transaction-at-point: leave point in better place for editing
2013-09-08 11:08:10 -07:00
Vinod Kurup
7704018968
Find first numeral or minus sign, instead of blind move
2013-09-08 13:57:09 -04:00
John Wiegley
2428732a02
Merge pull request #209 from wcravens/fix_block_comment_instructions_chapt_4
...
Remove reference to depricated ! operator in Chapt 4
2013-09-08 02:27:47 -07:00
Wes Cravens
2bf852be94
Remove reference to depricated ! operator in Chapt 4
2013-09-08 04:16:47 -05:00
Craig Earls
9a142ca656
Corrected discrepancies between documentation and drewr3.dat regarding apply and bucket
2013-09-07 10:17:46 -07:00
Vinod Kurup
816f4405b0
Move past the commodity sign
2013-09-07 06:56:22 -04:00
John Wiegley
bba851b830
Merge pull request #207 from afh/pull/989
...
Apply --time-colon option only to time commodities
2013-09-07 02:22:10 -07:00