Debian Emacs Devel Commit: r78 - in emacs21/pkg/trunk/debian: . patches

Jerome Marant jerome@haydn.debian.org
Sun, 06 Jun 2004 06:27:12 -0600


Author: jerome
Date: 2004-06-06 06:27:05 -0600 (Sun, 06 Jun 2004)
New Revision: 78

Added:
   emacs21/pkg/trunk/debian/patches/python-completion-ignored-extensions.dpatch
Modified:
   emacs21/pkg/trunk/debian/changelog
   emacs21/pkg/trunk/debian/patches/00list
   emacs21/pkg/trunk/debian/patches/startup-auto-save-file-name-transforms.dpatch
Log:
Add Python byte-compiled file extensions to completion-ignore-extensions (#177276)

Modified: emacs21/pkg/trunk/debian/changelog
===================================================================
--- emacs21/pkg/trunk/debian/changelog	2004-06-06 07:54:19 UTC (rev 77)
+++ emacs21/pkg/trunk/debian/changelog	2004-06-06 12:27:05 UTC (rev 78)
@@ -23,7 +23,12 @@
     - debian/patches/startup-auto-save-file-name-transforms.dpatch: new file.
     - debian/patches/00list: updated.
   
- -- Jerome Marant <jerome@debian.org>  Sat,  5 Jun 2004 15:13:44 +0200
+  * Add Python byte-compiled file extensions to completion-ignore-extensions
+    variable. (closes: #177276) [Jérôme Marant]
+    - debian/patches/python-completion-ignored-extensions.dpatch: new file.
+    - debian/patches/00list: updated.
+  
+ --
 
 emacs21 (21.3+1-5) unstable; urgency=low
 

Modified: emacs21/pkg/trunk/debian/patches/00list
===================================================================
--- emacs21/pkg/trunk/debian/patches/00list	2004-06-06 07:54:19 UTC (rev 77)
+++ emacs21/pkg/trunk/debian/patches/00list	2004-06-06 12:27:05 UTC (rev 78)
@@ -14,4 +14,5 @@
 save-buffer
 emacsclient-alternate-editor
 startup-auto-save-file-name-transforms
+python-completion-ignored-extensions
 fix-x-vs-no-x-diffs

Added: emacs21/pkg/trunk/debian/patches/python-completion-ignored-extensions.dpatch
===================================================================
--- emacs21/pkg/trunk/debian/patches/python-completion-ignored-extensions.dpatch	2004-06-06 07:54:19 UTC (rev 77)
+++ emacs21/pkg/trunk/debian/patches/python-completion-ignored-extensions.dpatch	2004-06-06 12:27:05 UTC (rev 78)
@@ -0,0 +1,41 @@
+#!/bin/sh -e
+## python-completion-ignored-extensions.dpatch by Jerome Marant <jerome@debian.org>
+##
+## DP: ** Add Python byte-compiled file extensions to
+## DP: completion-ignored-extensions variable.  
+## DP: Status: has been sent upstream
+## DP: Date: Sun,  6 Jun 2004 14:18:42 +0200
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+       -patch) patch $patch_opts -p1 < $0;;
+       -unpatch) patch $patch_opts -p1 -R < $0;;
+        *)
+                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -urNad /home/jerome/pkg/emacs21/svn/emacs21/lisp/bindings.el emacs21/lisp/bindings.el
+--- /home/jerome/pkg/emacs21/svn/emacs21/lisp/bindings.el	2004-06-06 14:10:54.000000000 +0200
++++ emacs21/lisp/bindings.el	2004-06-06 14:10:54.000000000 +0200
+@@ -446,7 +446,9 @@
+ 	 ;; Texinfo-related
+ 	 ".toc" ".log" ".aux"
+ 	 ".cp" ".fn" ".ky" ".pg" ".tp" ".vr"
+-	 ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs")))
++	 ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs"
++	 ;; Python byte-compiled
++	 ".pyc" ".pyo")))
+ 
+ ;; Packages should add to this list appropriately when they are
+ ;; loaded, rather than listing everything here.

Modified: emacs21/pkg/trunk/debian/patches/startup-auto-save-file-name-transforms.dpatch
===================================================================
--- emacs21/pkg/trunk/debian/patches/startup-auto-save-file-name-transforms.dpatch	2004-06-06 07:54:19 UTC (rev 77)
+++ emacs21/pkg/trunk/debian/patches/startup-auto-save-file-name-transforms.dpatch	2004-06-06 12:27:05 UTC (rev 78)
@@ -27,7 +27,7 @@
 
 @DPATCH@
 diff -urNad /home/jerome/pkg/emacs21/svn/emacs21/lisp/startup.el emacs21/lisp/startup.el
---- /home/jerome/pkg/emacs21/svn/emacs21/lisp/startup.el	2003-10-01 20:01:28.000000000 +0200
+--- /home/jerome/pkg/emacs21/svn/emacs21/lisp/startup.el	2004-06-05 15:24:51.000000000 +0200
 +++ emacs21/lisp/startup.el	2004-06-05 15:24:51.000000000 +0200
 @@ -629,6 +629,12 @@
    (setq small-temporary-file-directory