Commit graph

5633 commits

Author SHA1 Message Date
Linus Arver
33d58a69f9 doc: ledger-mode: load lazily
If we use `(load "ledger-mode")`, we always load ledger-mode,
even if we are not editing a Ledger file; using `autoload`, we avoid
this and only load ledger-mode when we need it.
2014-11-12 21:17:22 -08:00
Craig Earls
a3f3aa304f Smash a bug that cause the status on a posting with no amount to bleed into the next line. 2014-11-11 19:54:43 -07:00
Craig Earls
e54d7392bf Add 1 to the end of region for single line directives. This will force the layout to show across the entire buffer. 2014-11-09 10:02:03 -07:00
Craig Earls
2ef1c09210 Handle block comments as blocks rather than individual lines. 2014-11-09 09:50:22 -07:00
Craig Earls
8a87fd1310 Fix navigate bug keeping prev-xact key binding from working. 2014-11-09 09:05:13 -07:00
Craig Earls
6f3dad2024 Detect the beginning of periodic transactions properly. 2014-11-07 18:56:11 -07:00
Craig Earls
af15887ecb Merge branch 'master' of https://github.com/ledger/ledger 2014-11-07 18:21:13 -07:00
Craig Earls
1bd67755fa Improve finding boundaries of elements for fontification. Also added P for price directives. 2014-11-07 18:19:57 -07:00
John Wiegley
62e1354e0b Some minor changes 2014-11-04 00:11:35 -06:00
Martin Michlmayr
085596ae0e Merge pull request #327 from myqlarson/patch-1
Update ledger3.texi
2014-10-19 10:20:31 -04:00
myqlarson
5df0788ba2 Update ledger3.texi
Improved wording
2014-10-20 02:01:18 +13:00
myqlarson
cff5b16f7c Update ledger3.texi
Fixed typos and clarified CSV import behaviour with regard to column headers (I haven't checked the code, but I noticed the programme behaves this way).
2014-10-20 01:17:16 +13:00
Martin Michlmayr
325f8cb644 Fix numbers from example
Thanks to Dominik Honnef.
2014-10-17 21:22:02 -04:00
Martin Michlmayr
5eb6297042 Typo fix
Thanks to Dominik Honnef for spotting it.
2014-10-17 21:16:15 -04:00
Stefano Zacchiroli
56976a127c make --columns default to terminal width, as returned by ioctl()
If set, the COLUMNS environment variable will take precedence over terminal
width. However, please note that COLUMNS is usually *not* exported by shells to
child processes, so in most cases COLUMNS will be undefined for ledger---hence
the motivation for this change.

Terminal width is queried using ioctl() on stdin. For the sake of portability
the querying is done only on platform where ioctl() is detected as supported at
compile-time.
2014-10-13 17:15:56 -04:00
Martin Michlmayr
6b2520cc49 BUILD_WEB_DOCS implies BUILD_DOCS
This fixes the build when -DBUILD_WEB_DOCS=1 is specified wihout
specifying -DBUILD_DOCS.  This fails because man2html/groff are
not found because the find_program command for these programs
is only run if BUILD_DOCS is enabled.
2014-10-12 18:20:54 -04:00
Martin Michlmayr
acf0618fd0 Fix texinfo syntax errors
Fix the following texinfo syntax errors:

ledger/doc/ledger3.texi:7878: @itemx must follow @item
ledger/doc/ledger3.texi:7939: @itemx must follow @item
ledger/doc/ledger3.texi:7944: @itemx must follow @item
2014-10-12 16:52:43 -04:00
Craig Earls
a66001382c Force reconcile to use scrubbed values incase you are reconciling an account with lot values. 2014-10-10 22:02:44 -07:00
Martin Michlmayr
720c03b139 Bump version number to 3.1 2014-10-05 19:02:43 -04:00
Martin Michlmayr
841a09b4a5 Update doc/NEWS for ledger 3.1 2014-10-05 17:20:10 -04:00
Martin Michlmayr
96223f9e20 Add ISO 8601 date as recognized date string
Dates specified via --begin and --end are converted to a value expression
using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by
ledger.

Bug fix for #1072
2014-10-02 18:33:26 -04:00
Martin Michlmayr
fbcb5e9093 Fix period expression parsing for month to month without year
Bug fix for #1074, a regression introduced by the fix for bug #375
2014-10-02 17:31:26 -04:00
Craig Earls
61dd6bf663 Fix comment detection logic for fortification. 2014-09-28 20:45:13 -07:00
Craig Earls
a28c32b081 Allow any printable character in account names. 2014-09-28 19:48:55 -07:00
Craig Earls
59613845e7 Make ledger-fontify-xact-state-overrides nil by default 2014-09-22 22:27:44 -07:00
Craig Earls
2c5b8e9ce9 Merge commit 'b58a872fba7909371d47bc2eb8468e5ba82cfac0' 2014-09-22 22:18:25 -07:00
Craig Earls
d3b9938edf Add fontify.el and navigate.el to CMakeLists.txt 2014-09-22 22:18:10 -07:00
Johann Klähn
b58a872fba lisp/CMakeLists.txt: add missing files 2014-09-22 23:31:23 +02:00
Martin Michlmayr
fd1b33a0b5 Merge pull request #326 from felixrabe/patch-1
README.md: Mention current version
2014-09-21 20:30:03 -04:00
Felix Rabe
e2662e53e4 README.md: Mention current version 2014-09-22 01:49:12 +02:00
Craig Earls
3144ca87f4 Add ability to edit report command temporarily 2014-09-18 19:56:34 -07:00
Craig Earls
61c3c19cf7 Merge pull request #325 from sykora/master
Add face definition for `ledger-font-payee-pending-face'.

Ooops.  Missed that.  thank you!
2014-09-18 07:27:03 -07:00
Craig Earls
2cb5c09033 Improve ledger occur region search 2014-09-17 21:43:14 -07:00
Craig Earls
c7cd14500e Merge commit '7c18ba8d7c704595268616b740833c88e93b51f3' 2014-09-17 21:14:39 -07:00
Craig Earls
a7e85b65b0 Fix ledger-navigate-beginning-of-xact.
It failed it it was called with point on the first line of an xact
2014-09-17 21:14:01 -07:00
P.C. Shyamshankar
bcf96ae6a3 Add face definition for `ledger-font-payee-pending-face'.
Ledger fontifies payees on pending transactions using the aptly named
`ledger-font-payee-pending-face' face, despite that face not actually
being defined. This patch fixes that.
2014-09-17 19:48:34 -04:00
Steve Purcell
7c18ba8d7c Merge pull request #324 from cgar/spelling
minor spelling fixes
2014-09-15 19:13:45 +01:00
Carlos E. Garcia
5d6655c84f minor spelling fixes 2014-09-15 14:04:19 -04:00
Craig Earls
24bdaf5c4e Merge pull request #322 from kain88-de/remove-outdated-file
That is some old cruft.  Thanks.
2014-09-14 13:08:29 -07:00
Max Linke
ce06849b37 remove outdated install instructions 2014-09-14 21:52:17 +02:00
Craig Earls
514cee9761 sort required a next xact function that ignores directives 2014-09-13 18:24:54 -07:00
Craig Earls
7846e7c17a All navigation functions moved to ledger-navigate.
Reduce several overlapping functions.
2014-09-13 18:20:03 -07:00
Craig Earls
84dc532b06 everything appears to work with no empty lines between xacts. 2014-09-13 17:11:40 -07:00
Craig Earls
20dd0b706a rewrote ledger-end-record in ledger-sort to get rid of next-paragraph 2014-09-13 12:38:40 -07:00
John Wiegley
8fc83e8148 Merge pull request #321 from kljohann/cmake
Clean up CMake files
2014-09-11 12:58:51 +01:00
Craig Earls
03bace82bd Catch value expression in amount alignment code 2014-09-10 21:38:21 -07:00
Craig Earls
ec457f0ad7 Fix ledger-post-regex so that it would recognize integer amounts 2014-09-10 20:47:23 -07:00
Craig Earls
8be2c706fb Merge commit '6323fe52b7621c21f5e2af7fd9bce344a37a4ea1' 2014-09-10 07:23:05 -07:00
Craig Earls
bfc925f52f Minor refactoring and code cleanup 2014-09-10 07:16:32 -07:00
Craig Earls
0f9212071a Added some missing faces for xact amounts. 2014-09-10 07:11:09 -07:00