Yes. A function like that would extremely useful. Unfortunately I am new to Emacs and Elisp so it would be a challenge for me. I'll try to read some books on Elisp(does look like a strange parentheses-based language)
On Monday, March 27, 2017 at 12:43:29 AM UTC+8, Martin Blais wrote: > > I'd be surprised if noone ever added that to Emacs. > You can't automatically insert commas until a number has finished being > typed - it's ambiguous - but the first non-number character (e.g., space) > after typing a number could be configured to automatically trigger the > addition of the commas in the text just before the cursor. > > > On Sun, Mar 26, 2017 at 11:19 AM, Marcos <[email protected] <javascript:> > > wrote: > >> hi, >> i know this might be an emacs related question but would it be possible >> to get elisp to add separators in number(maybe as function)? >> It would be really useful feature for in conjunction with ledger-mode. >> >> >> >> >> On Sunday, March 26, 2017 at 11:01:50 PM UTC+8, Craig Earls wrote: >>> >>> There is nothing in ledger mode right now that will add separators in >>> numbers. >>> >>> Craig >>> On Sun, Mar 26, 2017 at 07:46 Marcos <[email protected]> wrote: >>> >>>> hi, >>>> I am quite new to Emacs and Ledger. I would like to know if it is >>>> possible to have comma automatically added to numbers? >>>> >>>> I really want to be part of the Emacs community but its a bit of a >>>> steep learning curve. >>>> >>>> Thanks >>>> Kunal A. >>>> >>>> >>>> -- >>>> >>>> --- >>>> 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 [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> Craig, Corona De Tucson, AZ >>> [image: missile_flyout] >>> 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 [email protected] <javascript:>. >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
