In general, in emacs, I'd do `C-x (` to start a keyboard macro `C-x 8 * E` (as Marcin said) `C-x )` to stop the keyboard macro `C-x C-k n euro` to name the macro `C-x C-k b` to bind the macro to a key (e.g. C-c e) (see https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html#Key-Binding-Conventions ) Open your `.emacs` file `C-u M-x insert-kbd-macro`
This will create a reusable keyboard macro that is bound to a keystroke that you can use. You could also use the `latin-9-prefix` input method ( https://www.gnu.org/software/emacs/manual/html_node/emacs/Input-Methods.html) and use ~e See also http://ergoemacs.org/emacs/emacs_n_unicode.html That said, you can also just use `EUR` as your currency symbol, or even `E` :) best, Erik On Wed, Mar 15, 2017 at 10:22 AM, Marcin Borkowski <[email protected]> wrote: > > On 2017-03-15, at 16:05, [email protected] wrote: > > > Hi all. > > > > I'm new to ledger-cli, and I am using Emacs Ledger mode to enter my > > transactions. Most of my transactions are in Euros, and while I can use > > option-shift-2 on my Mac in normal text boxes, Emacs doesn't approve. > > > > So I followed suggestions somewhere and made a euro function that I have > to > > meta-x call every time I enter a transaction. This is really a drag on > my > > entry speed, and I'm hoping someone can suggest how I can improve my > > workflow/tools. > > > > Suggestions? > > Hi, > > you can of course bind your function to whichever key you like > (e.g. with M-x local-set-key, M-x global-set-key or in your init.el), > but notice that you may also press C-x 8 * E (not that this is an > extremely convenient binding;-) ). > > > Thanks in advance! > > Best, > > -- > Marcin Borkowski > > -- > > --- > 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. > -- --- 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.
