jed-users mailing list

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

Re: [jed-users] Making keymap changes in Jed?


Oh ... wait! I now see that "setkey" can map multiple-key
sequences as per the following example:

setkey("my_function", "^Z^Z")

So indeed "setkey" provides the full answer to my question.

Thank you again!

On 5/14/26 1:14 PM, Tom Culliton wrote:
Are you looking for setkey? There are lots of examples in the standard mode files like emacs.sl <http://emacs.sl>

On Thu, May 14, 2026, 13:10 Hippo Man <hippo@xxxxxxxx <mailto:hippo@xxxxxxxx>> wrote:

    Thank you, but I already have read that documentation.

    In it, it shows how to map one key to another key sequence
    via this sort of thing:  map_input(28, 19).

    It also describes how keyboard macros can be used to map
    a keystroke to one or more characters to be inserted.

    However, I found nothing within that documentation which
    describes how to map a keystroke to a full-fledged
    function call. I would need this capability to create
    the kinds of somewhat complex keymapping that I described
    in my original message here.

    Given that you recommended that I read this document,
    I'm guessing that you actually know that the answer to
    my question about this topic is indeed contained within
    It. So, could you point me to the section of the document
    in which the answer to my question is explained?

    I have gone through this document twice before posting
    my question here, and I now have once again gone through
    the document a third time.

    But again, please forgive me if after all of that I still
    I somehow overlooked this answer.

    Thank you in advance.


    On 5/14/26 12:35 PM, Roland Hughes wrote:
     > I would start with the user manual. You can download it here
     >
     > https://www.logikalsolutions.com/wordpress/information-technology/jed-user-manual/
     >
     >
     > On 5/14/2026 10:49 AM, Hippo Man wrote:
     >> I have been using Gnu emacs for more than a couple decades,
     >> but now I'm thinking about switching to Jed, and I have a
     >> question.
     >>
     >> Please forgive me if this question has already been answered
     >> somewhere and that I might have overlooked the answer in my
     >> net searches.
     >>
     >> In Gnu emacs, I have been able to make keymap changes, and I'm
     >> trying to figure out how to do the same with Jed.
     >>
     >> For example, in Gnu emacs, one of the many keymap changes that
     >> I made is to define Control-Z to be used as a prefix for a
     >> set of two-character key mappings. I can then do things like
     >> map Control-Z/Control-L to give me a prompt for a line number
     >> to go to, and I can map Control-Z/Control-Z to perform a
     >> "suspend" ... which is what a single Control-Z currently does
     >> by default in Jed.
     >>
     >> And I have made many other similar keymap changes in Gnu emacs
     >> which I'm hoping that I could also make in Jed.
     >>
     >> Short of doing re-writes of the Jed source code itself, is
     >> there any way to use S-lang or other Jed configuration
     >> techniques in order to make these kinds of keymap changes?
     >>
     >> Again, I apologize if I overlooked an already documented
     >> answer to this question.
     >>
     >> And thank you very much in advance for any thoughts and
     >> suggestions concerning this topic.
     >>


-- hippo@xxxxxxxx <mailto:hippo@xxxxxxxx>
    _______________________________________________
    For list information, visit <http://jedsoft.org/jed/mailinglists.html>.



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


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