jed-users mailing list

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

[jed-users] Do not bind backquote to quoted_insert by default


Dear JED developers,

In the Debian package for JED, we are applying the patch attached to this message, which comment out the binding of the backquote (`) key to quoted_insert.

This is confusing for new users, who do not know how to configure JED. At any rate, in Debian, JED starts in Emacs emulation, in which the quoted_insert function is bound to ^Q.

For more context, please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765373

Please, consider integrating this change, or another sensible solution, in the next release tarball.

Best,

Rafael Laboissière
Description: Backquote key simply inserts backquote char
 This is a Debian-specific change.  Do not bind the backquote (`) key to
 quoted_insert. This is confusing for new users, who do not know how
 to configure JED. At any rate, in Debian, JED starts in Emacs emulation,
 in which the quoted_insert function is bound to ^Q.
Author: Rafael Laboissière <rafael@xxxxxxxxxx>
Bug-Debian: https://bugs.debian.org/765373
Forwarded: no
Last-Update: 2021-09-26

--- jed-0.99.20~pre.151+dfsg.orig/src/keymap.c
+++ jed-0.99.20~pre.151+dfsg/src/keymap.c
@@ -398,8 +398,17 @@ void init_keymaps(void) /*{{{*/
    SLkm_define_key ("^[X", (FVOID_STAR) evaluate_cmd, Global_Map);
    SLkm_define_key ("^[\\", (FVOID_STAR) jed_trim_whitespace, Global_Map);
    SLkm_define_key ("^\\", (FVOID_STAR) goto_match, Global_Map);
-   SLkm_define_key ("`", (FVOID_STAR) quoted_insert, Global_Map);
 
+/* This is a Debian-specific change.  Do not bind the backquote (`) key to
+ * quoted_insert. This is confusing for new users, who do not know how
+ * to configure JED. At any rate, in Debian, JED starts in Emacs emulation,
+ * in which the quoted_insert function is bound to ^Q.
+ * See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765373
+ */
+/*
+   SLkm_define_key ("`", (FVOID_STAR) quoted_insert, Global_Map);
+*/
+   
    if (X_Define_Keys_Hook != NULL)  (*X_Define_Keys_Hook)(Global_Map);
 }
 

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