[Pkg-jed-commit] r779 - in jed/branches/0.99.19/debian: . patches
Jörg Sommer
jo-guest at alioth.debian.org
Mon Jun 11 12:25:35 UTC 2007
Author: jo-guest
Date: 2007-06-11 12:25:35 +0000 (Mon, 11 Jun 2007)
New Revision: 779
Added:
jed/branches/0.99.19/debian/patches/fix-update-before-key-hook.dpatch
Modified:
jed/branches/0.99.19/debian/changelog
jed/branches/0.99.19/debian/patches/00list
Log:
• debian/patches/fix-update-before-key-hook.dpatch
· The LASTKEY variable is not updated before the _jed_before_key_hooks are
called. Fixed it.
• debian/changelog
· A new Debian version started.
Modified: jed/branches/0.99.19/debian/changelog
===================================================================
--- jed/branches/0.99.19/debian/changelog 2007-06-11 08:54:58 UTC (rev 778)
+++ jed/branches/0.99.19/debian/changelog 2007-06-11 12:25:35 UTC (rev 779)
@@ -1,3 +1,11 @@
+jed (1:0.99.19~pre95-2) UNRELEASED; urgency=low
+
+ * debian/patches/fix-update-before-key-hook.dpatch: The LASTKEY
+ variable is not updated before the _jed_before_key_hook hooks are
+ called.
+
+ -- Jörg Sommer <joerg at alea.gnuu.de> Mon, 11 Jun 2007 14:16:10 +0200
+
jed (1:0.99.19~pre95-1) experimental; urgency=medium
* New upstream release, taken from the upstream SVN repository at
Modified: jed/branches/0.99.19/debian/patches/00list
===================================================================
--- jed/branches/0.99.19/debian/patches/00list 2007-06-11 08:54:58 UTC (rev 778)
+++ jed/branches/0.99.19/debian/patches/00list 2007-06-11 12:25:35 UTC (rev 779)
@@ -20,3 +20,4 @@
empty_rectangle
fix-documentation
update-copyright
+fix-update-before-key-hook
Added: jed/branches/0.99.19/debian/patches/fix-update-before-key-hook.dpatch
===================================================================
--- jed/branches/0.99.19/debian/patches/fix-update-before-key-hook.dpatch (rev 0)
+++ jed/branches/0.99.19/debian/patches/fix-update-before-key-hook.dpatch 2007-06-11 12:25:35 UTC (rev 779)
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-update-before-key-hook.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## DP: The LASTKEY variable is not updated before the _jed_before_key_hooks
+## DP: hooks are called, so they see a wrong key sequencs.
+
+ at DPATCH@
+diff -urNad 0.99.19~/src/keymap.c 0.99.19/src/keymap.c
+--- 0.99.19~/src/keymap.c 2006-05-19 18:27:31.000000000 +0200
++++ 0.99.19/src/keymap.c 2007-06-11 14:02:13.399552303 +0200
+@@ -594,11 +594,15 @@
+
+ #if JED_HAS_TTY_MENUS
+ if (Jed_Menus_Active)
+- key = jed_menu_do_key ();
++ {
++ key = jed_menu_do_key ();
++ update_jed_keybuffer ();
++ }
+ else
+ #endif
+ {
+ key = SLang_do_key (CBuf->keymap, jed_getkey);
++ update_jed_keybuffer ();
+ if ((IS_MINIBUFFER == 0)
+ && (key != NULL)
+ && jed_hook_exists ("_jed_before_key_hooks"))
+@@ -608,8 +612,6 @@
+ }
+ }
+
+- update_jed_keybuffer ();
+-
+ if ((key != NULL) && (key->f.f != NULL))
+ {
+ if (Repeat_Factor == NULL) return key_interpret (key);
Property changes on: jed/branches/0.99.19/debian/patches/fix-update-before-key-hook.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-jed-commit
mailing list