Re: [O] C-x RET r utf-8 RET

2014-12-08 Thread Marcin Borkowski
On 2014-12-08, at 08:35, Eric Abrahamsen wrote: [...] You could do that in a lambda, but it probably won't accept a non-interactive function, [...] Out of curiosity: can't a lambda (in e.g. global-set-key) be made interactive? I did this right now: (global-set-key (kbd C-z C-s) (lambda ()

Re: [O] C-x RET r utf-8 RET

2014-12-08 Thread Eric Abrahamsen
Marcin Borkowski mb...@wmi.amu.edu.pl writes: On 2014-12-08, at 08:35, Eric Abrahamsen wrote: [...] You could do that in a lambda, but it probably won't accept a non-interactive function, [...] Out of curiosity: can't a lambda (in e.g. global-set-key) be made interactive? I did this right

Re: [O] C-x RET r utf-8 RET

2014-12-08 Thread Marcin Borkowski
On 2014-12-08, at 10:39, Eric Abrahamsen wrote: No, you're quite right, I was just answering off the cuff, without thorough thought. It is indeed possible to stick (interactive) inside of a lambda, though intuition tells me that that it's not generally good practice -- Emacs' introspection

Re: [O] C-x RET r utf-8 RET

2014-12-08 Thread Sharon Kimble
Thanks for this Eric, I’ve put your function [my-set-coding-system-to-utf8] into my init.org and also my mono menu. Unfortunately I had just converted my last two problem pages into utf8, but I'm now ready for its next bout. Thanks again Sharon. -- A taste of linux = http://www.sharons.org.uk my

[O] C-x RET r utf-8 RET

2014-12-07 Thread Sharon Kimble
I'm trying to set this ╭ │C-x RET r utf-8 RET ╰ as C-x zx as I'm finding that I need to use this block-quoted command fairly regularly for some unknown reason. I have set it as --8---cut here---start-8--- #+BEGIN_SRC emacs-lisp (global-set-key (kbd

Re: [O] C-x RET r utf-8 RET

2014-12-07 Thread Eric Abrahamsen
Sharon Kimble boudic...@skimble.plus.com writes: I'm trying to set this ╭ │C-x RET r utf-8 RET ╰ as C-x zx as I'm finding that I need to use this block-quoted command fairly regularly for some unknown reason. I have set it as #+BEGIN_SRC emacs-lisp (global-set-key (kbd C-x