[Pkg-jed-commit] r441 - in jed/trunk/debian: . patches
Jörg Sommer
jo-guest at costa.debian.org
Tue Sep 19 13:08:19 UTC 2006
Author: jo-guest
Date: 2006-09-19 13:08:18 +0000 (Tue, 19 Sep 2006)
New Revision: 441
Modified:
jed/trunk/debian/changelog
jed/trunk/debian/patches/pymode-repeat-shift.dpatch
Log:
• debian/patches/pymode-repeat-shift.dpatch
· Improved the patch a little bit. Günther mentioned it on the Jed ML.
• debian/changelog
· Improved the changelog message about the python patch.
Modified: jed/trunk/debian/changelog
===================================================================
--- jed/trunk/debian/changelog 2006-09-18 14:33:58 UTC (rev 440)
+++ jed/trunk/debian/changelog 2006-09-19 13:08:18 UTC (rev 441)
@@ -2,10 +2,11 @@
NOT YET RELEASED !
- * Added a patch to make the shift line commands respect the repeat count.
- ^[4^C> to increase the indent level by four steps. [JS]
+ * debian/patches/pymode-repeat-shift.dpatch: Added a patch to make the
+ shift line commands respect the repeat count (the prefix argument) in
+ Python mode. [JS]
- -- Rafael Laboissiere <rafael at debian.org> Sun, 17 Sep 2006 01:23:45 +0200
+ -- Rafael Laboissiere <rafael at debian.org> Tue, 19 Sep 2006 13:36:52 +0200
jed (0.99.18-5) unstable; urgency=low
Modified: jed/trunk/debian/patches/pymode-repeat-shift.dpatch
===================================================================
--- jed/trunk/debian/patches/pymode-repeat-shift.dpatch 2006-09-18 14:33:58 UTC (rev 440)
+++ jed/trunk/debian/patches/pymode-repeat-shift.dpatch 2006-09-19 13:08:18 UTC (rev 441)
@@ -6,8 +6,9 @@
## DP: This patch depends on the fix-pymode-tab-space patch.
@DPATCH@
---- trunk~/lib/pymode.sl 2006-09-07 01:49:03.000000000 +0200
-+++ trunk/lib/pymode.sl 2006-09-17 00:41:39.000000000 +0200
+diff -urNad trunk~/lib/pymode.sl trunk/lib/pymode.sl
+--- trunk~/lib/pymode.sl 2006-09-19 13:38:27.201564732 +0200
++++ trunk/lib/pymode.sl 2006-09-19 13:39:22.477564732 +0200
@@ -274,21 +274,26 @@
define py_shift_line_right()
@@ -41,7 +42,8 @@
{
+ variable times = prefix_argument(1);
bol_skip_white();
- if (what_column() > Py_Indent_Level) {
+- if (what_column() > Py_Indent_Level) {
++ if (what_column() > times * Py_Indent_Level) {
if ( get_blocal_var("py_use_tab") )
{
- () = left(1);
More information about the Pkg-jed-commit
mailing list