I type "date" then C-x '
Regular abbrev invocation.

Thanks for the nice words!


On Sun, Aug 11, 2019 at 11:16 PM Greg Wang <highawa...@gmail.com> wrote:

> Hi Martin,
>
> may I ask how does your dynamic abbrev on inserting date work? I copy your
> code into the beancount.el and define accordingly a key map. It doesn't
> seem to be working at all.
>
> Also want to thank for your amazing program!
>
> Best regards,
> Greg
>
> On Sunday, April 8, 2018 at 1:37:40 PM UTC-4, Martin Blais wrote:
>>
>> On Sun, Apr 8, 2018 at 9:10 AM, <mpl...@gmail.com> wrote:
>>
>>> Guys hi,
>>>
>>> I am pretty new to plain text accounting, was using ledger CLI for week
>>> or so, like the flexibility over cashGNU, and yesterday installed
>>> beancount(using it with emacs). I have several questions:
>>>
>>> 1 How do you add today's date without typing? In ledger-mode i was using
>>> ctrl+C ctrl+A, is there a shortcut in beancount mode?
>>>
>>
>> It's not defined in beancount-mode, which is intended to be small.
>> I have a dynamic abbrev on this:
>>
>> (defun insert-date ()
>>   ;; ISO 8601 format
>>   (insert (time-stamp-string "%:y-%02m-%02d")))
>>
>>
>>
>>> 2 For ledger set-up i was using company to complete(like it more than
>>> C-c ' insert account) - how can i use company with org + beancount mode?
>>>
>> Cause now tab is taken by Org to open/close lists
>>>
>>
>> I have no idea, but surely you can override any of the bindings in Emacs.
>>
>>
>>
>>> 3 C-c l (bean-check) does not work for me. It says "bean check" is not
>>> recognized as an internal or external command, operable program or batch
>>> file.
>>>
>> (I am on Windows 10), what can be the problem?
>>>
>>
>> Your PATH?
>> Must be Windows-related.
>> There are a few Windows users on this list, they might be able to chip in
>> something.
>>
>>
>>
>>> 4 To use an account before hand it must be opened right? "open" command.
>>>
>>
>> If by "beforehand" you mean that the date must precede that of any
>> transaction posting to it, yes.
>> Note that it doesn't have to appear before in the file; file order
>> doesn't matter in Beancount, everything is sorted by date before processing.
>>
>>
>>
>>> 5 If had an account expenses:business:rent57, and closed it let say in
>>> april 2018.
>>> It still will be shown in reports for periods prior to april 2018,
>>> correct?
>>>
>>
>> Which report?
>> Generally speaking, the custom reports will try to show aggregations if
>> they involved at least one transaction in their set of filtered
>> transactions.
>>
>> (Note that the outlook for custom reports is for them to be eventually
>> replaced by SQL queries.)
>>
>>
>>
>>>
>>> Sorry if these questions are too basic, just trying to learn beancount.
>>>
>>
>> There's never a dumb question. Thanks for asking,
>>
>>
>>
>>
>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Beancount" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to bean...@googlegroups.com.
>>> To post to this group, send email to bean...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/beancount/078f957c-fd04-41bf-999b-95c7a71f8c7e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/beancount/078f957c-fd04-41bf-999b-95c7a71f8c7e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beancount+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/54abbd8f-7471-4d4e-8ff8-43fab516aedf%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/54abbd8f-7471-4d4e-8ff8-43fab516aedf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhN5wwEPKGX5Go6tnXyvzmXmSH-OKvstSUCm3Jj%2BYa55Ww%40mail.gmail.com.

Reply via email to