[Pkg-octave-commit] rev 346 - in trunk/packages/octave/debian: . in
patches
Rafael Laboissiere
rafael at costa.debian.org
Tue Nov 22 13:28:01 UTC 2005
Author: rafael
Date: 2005-11-22 13:28:00 +0000 (Tue, 22 Nov 2005)
New Revision: 346
Added:
trunk/packages/octave/debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch
Modified:
trunk/packages/octave/debian/changelog
trunk/packages/octave/debian/in/octave2.1-00list
Log:
Debian release octave2.1_2.1.72-5
Modified: trunk/packages/octave/debian/changelog
===================================================================
--- trunk/packages/octave/debian/changelog 2005-11-21 14:13:03 UTC (rev 345)
+++ trunk/packages/octave/debian/changelog 2005-11-22 13:28:00 UTC (rev 346)
@@ -1,3 +1,12 @@
+octave2.1 (2.1.72-5) unstable; urgency=low
+
+ +++ Changes by Rafael Laboissiere
+
+ * debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch: Bind M-BS key
+ sequence to backward-kill-word in XEmacs
+
+ -- Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org> Tue, 22 Nov 2005 10:49:15 +0100
+
octave2.9 (2.9.4-5) unstable; urgency=low
+++ Changes by Rafael Laboissiere
Modified: trunk/packages/octave/debian/in/octave2.1-00list
===================================================================
--- trunk/packages/octave/debian/in/octave2.1-00list 2005-11-21 14:13:03 UTC (rev 345)
+++ trunk/packages/octave/debian/in/octave2.1-00list 2005-11-22 13:28:00 UTC (rev 346)
@@ -1,2 +1,3 @@
50_inferior-octave-resync-dirs
50_octave-value-list-resize-2.1
+50_octave-mod-bind-m-bs-2.1
Added: trunk/packages/octave/debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch
===================================================================
--- trunk/packages/octave/debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch 2005-11-21 14:13:03 UTC (rev 345)
+++ trunk/packages/octave/debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch 2005-11-22 13:28:00 UTC (rev 346)
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_octave-mod-bind-m-bs-2.1.dpatch by Rafael Laboissiere <rafael at debian.org>
+##
+## DP: Bind M-BS key sequence to backward-kill-word in XEmacs
+
+ at DPATCH@
+
+--- octave2.1-2.1.72.orig/emacs/octave-mod.el
++++ octave2.1-2.1.72/emacs/octave-mod.el
+@@ -201,6 +201,9 @@
+
+ (defvar inferior-octave-process nil)
+
++(defvar octave-xemacs-p
++ (string-match "XEmacs\\|Lucid" emacs-version))
++
+ (defvar octave-mode-map nil
+ "Keymap used in Octave mode.")
+ (if octave-mode-map
+@@ -217,6 +220,8 @@
+ (define-key map "\M-\C-a" 'octave-beginning-of-defun)
+ (define-key map "\M-\C-e" 'octave-end-of-defun)
+ (define-key map "\M-\C-h" 'octave-mark-defun)
++ (if octave-xemacs-p
++ (define-key map [(meta backspace)] 'backward-kill-word))
+ (define-key map "\M-\C-q" 'octave-indent-defun)
+ (define-key map "\C-c;" 'octave-comment-region)
+ (define-key map "\C-c:" 'octave-uncomment-region)
+@@ -633,9 +638,6 @@
+ (delete-horizontal-space)
+ (insert (concat " " octave-continuation-string))))
+
+-(defvar octave-xemacs-p
+- (string-match "XEmacs\\|Lucid" emacs-version))
+-
+ ;;; Comments
+ (defun octave-comment-region (beg end &optional arg)
+ "Comment or uncomment each line in the region as Octave code.
Property changes on: trunk/packages/octave/debian/patches/50_octave-mod-bind-m-bs-2.1.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-octave-commit
mailing list