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


I don't know how Linux does things, but back in the grand old days of DOS you held down the <ALT> key and typed the special character value on the keypad. When you let up on <ALT> it appeared


On 03/16/2017 09:48 AM, Morten Bo Johansen wrote:
On 2017-03-16 Bernhard Seckinger wrote:

I can insert unicode symbols with copy&paste. But I wonder if
it's possible to type them in somehow. E.g. if I know it's no.
8598 (arrow pointing top left) typing (in emacs mode) something
like ESC-8-5-9-8-C^X (which doesn't work of course).
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");
      }
}

With emacs emulation the function would then be invoked with
"ctrl-c c".

I would also point you to Günter Mildes "ch_table" from jedmodes:

   http://jedmodes.sourceforge.net/mode/ch_table/
   Morten
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


--
Roland Hughes, President
Logikal Solutions
(630)-205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us/

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


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