Re: Euro symbol inconvenience... suggestions?

2017-03-15 Thread michael
I can answer my own question now.  How could I forget that Emacs uses my 
Option key for Meta...?

There was a suggestion on http://emacs.stackexchange.com/a/17552/13908 that 
works well for my situation:

(setq ns-alternate-modifier 'meta)(setq ns-right-alternate-modifier 'none)

That allows me to use my right Option key as the standard Mac Option key, 
so now I can Opt-Shift-2 for €.  :)



On Thursday, March 16, 2017 at 1:11:30 AM UTC+1, mic...@michaelteter.com 
wrote:
>
> True, I guess the real problem to address is why Emacs doesn't understand 
> my €.
>
> But amongst the good suggestions, I'll probably just use E for now.
>
> Thanks everyone!
>
> On Thursday, March 16, 2017 at 12:04:49 AM UTC+1, Craig Earls wrote:
>>
>> That is an emacs question. Perhaps asking over on an emacs specific venue 
>> would gehave better answers
>>
>> On Wed, Mar 15, 2017 at 16:01 Ben Finney  
>> wrote:
>>
>>> mic...@michaelteter.com writes:
>>>
>>> > 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.
>>>
>>> Many responses have ignored this part, but I'd really like to know: How
>>> can we make Emacs accept the character from the operating system's input
>>> method?
>>>
>>> Typing the Euro character as Michael describes should send that event to
>>> any program, and Emacs should be no different in this. How can we make
>>> Emacs respond correctly to character input?
>>>
>>> --
>>>  \“I went to the hardware store and bought some used paint. It |
>>>   `\  was in the shape of a house.” —Steven Wright |
>>> _o__)  |
>>> Ben Finney
>>>
>>> --
>>>
>>> ---
>>> 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+...@googlegroups.com.
>>> 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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Euro symbol inconvenience... suggestions?

2017-03-15 Thread thierry
I am not sure it will help, but here I am using a French keyboard, and 
typing AltGr+E is producing € (AltGr is Right Alt, just right to space 
bar). And ledger does manage very nicely the € symbol in its output.

Thierry

On Wednesday, March 15, 2017 at 4:05:27 PM UTC+1, mic...@michaelteter.com 
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?
>
> Thanks in advance!
>
>

-- 

--- 
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: Euro symbol inconvenience... suggestions?

2017-03-15 Thread John Wiegley
> "MB" == Marcin Borkowski  writes:

>> 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.  

I just end up using EUR, although it doesn't display as nicely.

-- 
John Wiegley  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com  60E1 46C4 BD1A 7AC1 4BA2

-- 

--- 
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: Euro symbol inconvenience... suggestions?

2017-03-15 Thread Craig Earls
I would just wait a few years then you'll probably be back to your national
currency.

On Wed, Mar 15, 2017 at 13:09 Marcin Borkowski  wrote:


On 2017-03-15, at 20:04, Erik Hetzner  wrote:

> 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.

If you want to go that route, in recent Emacsen it is easier to start
and stop recording a keyboard macro with  and  respectively.

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


Re: Euro symbol inconvenience... suggestions?

2017-03-15 Thread Marcin Borkowski

On 2017-03-15, at 16:05, mich...@michaelteter.com 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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Euro symbol inconvenience... suggestions?

2017-03-15 Thread michael
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?

Thanks in advance!

-- 

--- 
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.