[CM] snd-19.9

Tito Latini tito.01beta at gmail.com
Thu Nov 28 06:04:12 PST 2019


On Thu, Nov 28, 2019 at 03:06:17AM -0800, bil at ccrma.Stanford.EDU wrote:
> I tried Snd in ubuntu 19.04, gtk 3.24.8, and the listener is ok;
> also Fedora 31, gtk 3.24.12.  What does this report?
> 
> ./snd --version
> 
> This reminds me I need to upgrade to ubuntu 19.10.

Perhaps it is a problem with left-arrow for start-of-line and
right-arrow for end-of-line. This change should be ok with emacs
key bindings (they generally are `left-char' for left-arrow and
`right-char' for right-arrow):

--- snd-svn/glistener.c~	2019-11-28 14:40:22.420965329 +0100
+++ snd-svn/glistener.c	2019-11-28 14:54:50.721918686 +0100
@@ -1491,17 +1491,17 @@
 			       G_TYPE_INT, -1,
 			       G_TYPE_BOOLEAN, false);
 
-  /* right-arrow end of line */
+  /* right-arrow forward char */
   gtk_binding_entry_remove(set, GDK_KEY_Right, (GdkModifierType)0);
   gtk_binding_entry_add_signal(set, GDK_KEY_Right, (GdkModifierType)0, "move_cursor", 3,
-			       G_TYPE_ENUM, GTK_MOVEMENT_DISPLAY_LINE_ENDS,
+			       G_TYPE_ENUM, GTK_MOVEMENT_VISUAL_POSITIONS,
 			       G_TYPE_INT, 1,
 			       G_TYPE_BOOLEAN, false);
 
-  /* left-arrow start of line */
+  /* left-arrow back char */
   gtk_binding_entry_remove(set, GDK_KEY_Left, (GdkModifierType)0);
   gtk_binding_entry_add_signal(set, GDK_KEY_Left, (GdkModifierType)0, "move_cursor", 3,
-			       G_TYPE_ENUM, GTK_MOVEMENT_DISPLAY_LINE_ENDS,
+			       G_TYPE_ENUM, GTK_MOVEMENT_VISUAL_POSITIONS,
 			       G_TYPE_INT, -1,
 			       G_TYPE_BOOLEAN, false);


More information about the Cmdist mailing list