jed-users mailing list

[2017 Date Index] [2017 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Re: Typing unicode symbols directly


Hi Morten,

> Something simple like this might suit you?
> Insert in your .jedrc:
>
> %% At the prompt, enter a decimal code for a character and type
> %% <enter> to have it inserted into the buffer.
> define ins_char_for_keycode ()
> {
>   variable code = read_mini ("key code:", "", ""); 
>   insert_char (integer (code)); 
> }
>
> define keybindings_hook (name)
> {
>    if (name == "emacs")
>      {
>         setkey_reserved ("ins_char_for_keycode", "c");
>      }
> }

Yes it would suit my needs, but it seems not to work. When typing "ctrl-c c"
I'm just getting a "c".

Berni

-- 
-- Meine Rätselwebseite: www.croco-puzzle.com

_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2017 date index] [2017 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]