Re: How to make faster posts on ledger

2014-12-22 Thread guivho
Hi Kevin,

Regardless of the editor used, you could benefit from the alias feature 
provided by ledger.

After defining the Expenses:Car:Petrol in the beginning of the file as 
follows


Expenses:Car:Petrol
 alias petrol


you only have to type petrol as account when posting. 

Obviously if your editor supports completion, this provides even more 
benefit.

HTH,

Guido

On Sunday, December 21, 2014 7:34:47 AM UTC+1, Kev Lau wrote:

 Hello,

 Currently I am using nano to make my ledger entries and it takes a very 
 long time as I have to write the full form for everything 
 (Expenses:Car:Petrol) etc and get very tired making entries.

 Is there something we can do to make entries on nano 
 faster(predictive-text)? I heard emac can take care of this. Can someone 
 confirm on this and provide a page dedicated to emac and ledger(perhaps 
 showing tutorials for newbies?)

 Appreciate feedback for this.
 Regards
 Kevin


-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-22 Thread guivho
Oops, that should be

account Expenses:Car:Petrol
alias petrol



On Monday, December 22, 2014 10:35:32 AM UTC+1, guivho wrote:

 Hi Kevin,

 Regardless of the editor used, you could benefit from the alias feature 
 provided by ledger.

 After defining the Expenses:Car:Petrol in the beginning of the file as 
 follows


 Expenses:Car:Petrol
 alias petrol


 you only have to type petrol as account when posting. 

 Obviously if your editor supports completion, this provides even more 
 benefit.

 HTH,

 Guido

 On Sunday, December 21, 2014 7:34:47 AM UTC+1, Kev Lau wrote:

 Hello,

 Currently I am using nano to make my ledger entries and it takes a very 
 long time as I have to write the full form for everything 
 (Expenses:Car:Petrol) etc and get very tired making entries.

 Is there something we can do to make entries on nano 
 faster(predictive-text)? I heard emac can take care of this. Can someone 
 confirm on this and provide a page dedicated to emac and ledger(perhaps 
 showing tutorials for newbies?)

 Appreciate feedback for this.
 Regards
 Kevin



-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Chris Leyon
Emacs's ledger-mode features tab completion of account names which
speeds up journal entry considerably.

Another feature I use is predefined text in registers.  This is a
general capability of Emacs, not specific to ledger-mode.  To define a
string in register d related to Dining, I use
(set-register ?d Expenses:Dining
   $)
When I'm editing my journal, I can press `C-x r i d' and then quickly
enter an amount on a nicely formatted line.

On Sun, Dec 21, 2014 at 2:42 AM, Alexis H surryh...@gmail.com wrote:
 Hi Kevin,
 for starters have a look at the xact Ledger command
 http://ledger-cli.org/3.0/doc/ledger3.html#xact

 Since I have no knowledge about the Ledger Emacs integration, I can only
 point to the documentation
 http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-Mode


 Cheers,
 Alexis

 --

 ---
 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 ledger-cli+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread thierry


 Emacs's ledger-mode features tab completion of account names which 
 speeds up journal entry considerably. 

 
In Emacs, type 4 spaces from beginning of line, then characters Ex, then 
TAB.  This will complete up to expenses:. Then type character 'C', then 
TAB; This will complete up to Expenses:Car:. If TAB does not complete 
at the first hit, the second hit on TAB will show possible completion 
values.

Also, please have a look to keyboard shortcut C-c TAB, and C-c C-a 
describes in http://ledger-cli.org/3.0/doc/ledger-mode.html#Quick-Add

 Since I have no knowledge about the Ledger Emacs integration, I can only 
  point to the documentation 
  http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-Mode 


The above link is about how to use Org-mode features in with ledger files.
The correct link for an Emacs mode dedicated to ledger is 
http://ledger-cli.org/3.0/doc/ledger-mode.html

Thierry

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread o1bigtenor
Good Morning!

On Sun, Dec 21, 2014 at 12:34 AM, Kev Lau superinterstel...@gmail.com
wrote:

Hello,

 Currently I am using nano to make my ledger entries and it takes a very
 long time as I have to write the full form for everything
 (Expenses:Car:Petrol) etc and get very tired making entries.

 Is there something we can do to make entries on nano
 faster(predictive-text)? I heard emac can take care of this. Can someone
 confirm on this and provide a page dedicated to emac and ledger(perhaps
 showing tutorials for newbies?)


I will say that I am a totally non-programmer for starters.
Have learned some of the plethora of things needed to run vi.
Learning another text editor didn't seem like a wonderful idea to
me especially when I had (and still have) a mountain of documents
to go through for my ledger.

So I use one of the gui-ized (if that's a word) text editors.
I copy and paste lots and things go quite quickly. Its also very easy
- - did I mention it is real easy.

Its not elegant but it works. (I have over 3000 lines for 8 months worth
of information.)

Dee

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Craig Earls
Ledger-mode only uses ledger xact in one very specific case. Tab completion
of payees, accounts, tags and meta-data is done within emacs.

On Sunday, December 21, 2014, Eric Abrahamsen e...@ericabrahamsen.net
wrote:

 Kev Lau superinterstel...@gmail.com javascript:;
 writes:

  Hello,
 
  Currently I am using nano to make my ledger entries and it takes a
  very long time as I have to write the full form for everything
  (Expenses:Car:Petrol) etc and get very tired making entries.
 
  Is there something we can do to make entries on nano faster
  (predictive-text)? I heard emac can take care of this. Can someone
  confirm on this and provide a page dedicated to emac and ledger
  (perhaps showing tutorials for newbies?)
 
  Appreciate feedback for this.
  Regards
  Kevin

 As Alexis mentioned, ledger comes with an xact command that makes it
 very easy to create new entries. The way Emacs takes care of this is
 just calling out to xact. If you could incorporate that into nano
 somehow, you'd be taken care of. I don't know if nano can call shell
 commands...?

 Eric

 --

 ---
 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 ledger-cli+unsubscr...@googlegroups.com javascript:;.
 For more options, visit https://groups.google.com/d/optout.



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Simon Michael

On 12/20/14 10:34 PM, Kev Lau wrote:

Currently I am using nano to make my ledger entries and it takes a very
long time as I have to write the full form for everything
(Expenses:Car:Petrol) etc and get very tired making entries.

Is there something we can do to make entries on nano
faster(predictive-text)? I heard emac can take care of this. Can someone
confirm on this and provide a page dedicated to emac and ledger(perhaps
showing tutorials for newbies?)


Hi Kevin,

as others have mentioned, tab-completion is a big help in the emacs 
ledger-mode; other editors may have this too. Several editors have 
getting-started pages on the ledger wiki. Also it's easier when you get 
fast at find-copy-paste-adjust of previous similar entries.


You may also like to try hledger add 
(http://hledger.org/step-by-step.html#record-a-transaction-with-hledger-add) 
or hledger web (http://demo.hledger.org/journal?add=1) which offer 
alternate ways to enter *ledger data.


Finally, if you're mainly entering bank data, you could look into 
converting it from CSV instead of typing it.


--

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Martin Blais
I have it setup with ido-completing-read which allows you to type any
subset of characters an account name (in order).  It makes it really super
easy to type account names, while being generally sloppy with typing.
Something worth looking into.



On Sun, Dec 21, 2014 at 4:33 AM, Chris Leyon cle...@gmail.com wrote:

 Emacs's ledger-mode features tab completion of account names which
 speeds up journal entry considerably.

 Another feature I use is predefined text in registers.  This is a
 general capability of Emacs, not specific to ledger-mode.  To define a
 string in register d related to Dining, I use
 (set-register ?d Expenses:Dining
$)
 When I'm editing my journal, I can press `C-x r i d' and then quickly
 enter an amount on a nicely formatted line.

 On Sun, Dec 21, 2014 at 2:42 AM, Alexis H surryh...@gmail.com wrote:
  Hi Kevin,
  for starters have a look at the xact Ledger command
  http://ledger-cli.org/3.0/doc/ledger3.html#xact
 
  Since I have no knowledge about the Ledger Emacs integration, I can only
  point to the documentation
  http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-Mode
 
 
  Cheers,
  Alexis
 
  --
 
  ---
  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 ledger-cli+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

 --

 ---
 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 ledger-cli+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Craig Earls
I think the real key here is using an editor slightly more capable than
nano.  emacs or vi.

On Sun, Dec 21, 2014 at 1:21 PM, Martin Blais bl...@furius.ca wrote:

 I have it setup with ido-completing-read which allows you to type any
 subset of characters an account name (in order).  It makes it really super
 easy to type account names, while being generally sloppy with typing.
 Something worth looking into.



 On Sun, Dec 21, 2014 at 4:33 AM, Chris Leyon cle...@gmail.com wrote:

 Emacs's ledger-mode features tab completion of account names which
 speeds up journal entry considerably.

 Another feature I use is predefined text in registers.  This is a
 general capability of Emacs, not specific to ledger-mode.  To define a
 string in register d related to Dining, I use
 (set-register ?d Expenses:Dining
$)
 When I'm editing my journal, I can press `C-x r i d' and then quickly
 enter an amount on a nicely formatted line.

 On Sun, Dec 21, 2014 at 2:42 AM, Alexis H surryh...@gmail.com wrote:
  Hi Kevin,
  for starters have a look at the xact Ledger command
  http://ledger-cli.org/3.0/doc/ledger3.html#xact
 
  Since I have no knowledge about the Ledger Emacs integration, I can only
  point to the documentation
  http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-Mode
 
 
  Cheers,
  Alexis
 
  --
 
  ---
  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 ledger-cli+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

 --

 ---
 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 ledger-cli+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

  --

 ---
 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 ledger-cli+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to make faster posts on ledger

2014-12-21 Thread Eric Abrahamsen
Craig Earls ender...@gmail.com writes:

 Ledger-mode only uses ledger xact in one very specific case. Tab
 completion of payees, accounts, tags and meta-data is done within
 emacs. 

Oh sure -- that's what I meant. What I was misunderstanding was what the
OP was looking for, I think...

 On Sunday, December 21, 2014, Eric Abrahamsen
 e...@ericabrahamsen.net wrote:

 Kev Lau
 superinterstel...@gmail.com
 writes:
 
  Hello,
 
  Currently I am using nano to make my ledger entries and it takes
 a
  very long time as I have to write the full form for everything
  (Expenses:Car:Petrol) etc and get very tired making entries.
 
  Is there something we can do to make entries on nano faster
  (predictive-text)? I heard emac can take care of this. Can
 someone
  confirm on this and provide a page dedicated to emac and ledger
  (perhaps showing tutorials for newbies?)
 
  Appreciate feedback for this.
  Regards
  Kevin
 
 As Alexis mentioned, ledger comes with an xact command that
 makes it
 very easy to create new entries. The way Emacs takes care of
 this is
 just calling out to xact. If you could incorporate that into nano
 somehow, you'd be taken care of. I don't know if nano can call
 shell
 commands...?
 
 Eric
 
 --
 
 ---
 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 ledger-cli+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 

 -- 
 Craig, Corona De Tucson, AZ
 enderw88.wordpress.com

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to make faster posts on ledger

2014-12-20 Thread Kev Lau
Hello,

Currently I am using nano to make my ledger entries and it takes a very 
long time as I have to write the full form for everything 
(Expenses:Car:Petrol) etc and get very tired making entries.

Is there something we can do to make entries on nano 
faster(predictive-text)? I heard emac can take care of this. Can someone 
confirm on this and provide a page dedicated to emac and ledger(perhaps 
showing tutorials for newbies?)

Appreciate feedback for this.
Regards
Kevin

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to make faster posts on ledger

2014-12-20 Thread Alexis H
Hi Kevin,
for starters have a look at the xact Ledger command
http://ledger-cli.org/3.0/doc/ledger3.html#xact

Since I have no knowledge about the Ledger Emacs integration, I can only
point to the documentation
http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-Mode


Cheers,
Alexis

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.