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 m

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' introspectio

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

2014-12-08 Thread Eric Abrahamsen
Marcin Borkowski 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 now: > > (g

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-07 Thread Eric Abrahamsen
Sharon Kimble 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 zx") 'r utf8)

[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 (kb