Re: shortcuts for entering dates in emacs?

2017-09-20 Thread David Glasser
Now that I'm trying to switch away from my old habits of MM/DD with the Y command, is there a way to make ledger error out if I accidentally leave off a year? On Mon, Aug 7, 2017 at 1:10 AM, David Glasser wrote: > On Tue, Aug 1, 2017 at 3:18 PM, David Glasser

Re: shortcuts for entering dates in emacs?

2017-08-04 Thread Yuri Khan
On Wed, Aug 2, 2017 at 12:13 PM, Yuri Khan wrote: > I think I might like Tab to autocomplete and canonicalize dates. The > idea is that if you typed a single number at the beginning of line and > pressed Tab, it would expand to the date in the current or last month; > two

Re: shortcuts for entering dates in emacs?

2017-08-03 Thread Yuri Khan
On Fri, Aug 4, 2017 at 1:55 AM, Marcin Borkowski wrote: >> - making it faster in emacs to enter dates (other than today, I already >> have an insert current date keybinding)? > > How about org-read-date? It’s a good facility, however, from its docstring: Furthermore, the

Re: shortcuts for entering dates in emacs?

2017-08-03 Thread Marcin Borkowski
On 2017-08-02, at 00:18, David Glasser wrote: > - making it faster in emacs to enter dates (other than today, I already > have an insert current date keybinding)? How about org-read-date? > --dave Hth, -- Marcin Borkowski -- --- You received this message

Re: shortcuts for entering dates in emacs?

2017-08-02 Thread David Glasser
Ooh, I'd definitely use that! On Tue, Aug 1, 2017 at 10:13 PM, Yuri Khan wrote: > On Wed, Aug 2, 2017 at 5:18 AM, David Glasser > wrote: > > > Anybody have advice on either: > > > > - making it faster in emacs to enter dates (other than today, I

Re: shortcuts for entering dates in emacs?

2017-08-01 Thread Yuri Khan
On Wed, Aug 2, 2017 at 5:18 AM, David Glasser wrote: > Anybody have advice on either: > > - making it faster in emacs to enter dates (other than today, I already have > an insert current date keybinding)? I think I might like Tab to autocomplete and canonicalize dates.

Re: shortcuts for entering dates in emacs?

2017-08-01 Thread David Glasser
Hmm, doesn't look like print --raw adds years to dates, and it also drops a lot of my comments. On Tue, Aug 1, 2017 at 3:23 PM, John Wiegley wrote: > > "DG" == David Glasser writes: > > GD> - automatically adding years to all my existing

Re: shortcuts for entering dates in emacs?

2017-08-01 Thread John Wiegley
> "DG" == David Glasser writes: GD> - automatically adding years to all my existing transactions (I can write GD> some scripts to do it for sure, but if somebody already did then that's GD> nice :) ) ledger print --raw is designed to reproduce your input file as

shortcuts for entering dates in emacs?

2017-08-01 Thread David Glasser
I've been using ledger-mode with ledger for 7 years or so. I do a lot of manual entry from paper receipts so I'm often entering dates that are not today's date. I use the "Y 2017" command and usually just enter my dates as "8/1" or whatever. However a recent change to ledger-mode has made it