From 9878c542ece140c3ccfb0b8501f4cb68fbeee767 Mon Sep 17 00:00:00 2001 From: RenĂ© 'Necoro' Neumann Date: Tue, 22 Jul 2008 13:29:43 +0200 Subject: Some stuff for bugs --- .../bicyclerepair/files/50bicyclerepair-gentoo.el | 10 ++++++ .../files/bicyclerepair-fix-idle.patch | 41 ++++++++++++++++++++++ .../files/bicyclerepair-fix-invalid-syntax.patch | 11 ++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el create mode 100644 dev-python/bicyclerepair/files/bicyclerepair-fix-idle.patch create mode 100644 dev-python/bicyclerepair/files/bicyclerepair-fix-invalid-syntax.patch (limited to 'dev-python/bicyclerepair/files') diff --git a/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el b/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el new file mode 100644 index 0000000..edad427 --- /dev/null +++ b/dev-python/bicyclerepair/files/50bicyclerepair-gentoo.el @@ -0,0 +1,10 @@ + +;;; bicyclerepair site-lisp configuration + +(add-hook + 'python-mode-hook + (lambda () + (unless (fboundp 'brm-menu) + (require 'pymacs) + (pymacs-load "bikeemacs" "brm-") + (brm-init)))) diff --git a/dev-python/bicyclerepair/files/bicyclerepair-fix-idle.patch b/dev-python/bicyclerepair/files/bicyclerepair-fix-idle.patch new file mode 100644 index 0000000..ff7e6f8 --- /dev/null +++ b/dev-python/bicyclerepair/files/bicyclerepair-fix-idle.patch @@ -0,0 +1,41 @@ +=== modified file 'ide-integration/BicycleRepairMan_Idle.py' +--- ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:08:33 +0000 ++++ ide-integration/BicycleRepairMan_Idle.py 2008-07-21 20:15:02 +0000 +@@ -300,21 +300,21 @@ + return 1 + + +-    def confirm_buffer_is_saved(self, editwin): +-        if not editwin.get_saved(): +-            name = (editwin.short_title()or +-            editwin.long_title()or +-            "Untitled") +-            reply = tkMessageBox.askokcancel("Bicycle Repair Man", +-                "The buffer for %s is not saved.\n\n"%name+ +-                "Save it and continue?", +-                master = self.editwin.text) +-          &nbs p; self.editwin.text.focus_set() +-            if reply: +-                editwin.io.save(None) +-            else: +-                return 0 +-        return 1 ++ def confirm_buffer_is_saved(self, editwin): ++ if not editwin.get_saved(): ++ name = (editwin.short_title()or ++ editwin.long_title()or ++ "Untitled") ++ reply = tkMessageBox.askokcancel("Bicycle Repair Man", ++ "The buffer for %s is not saved.\n\n"%name+ ++ "Save it and continue?", ++ master = self.editwin.text) ++ self.editwin.text.focus_set() ++ if reply: ++ editwin.io.save(None) ++ else: ++ return 0 ++ return 1 + + def errorbox(self, title, message): + tkMessageBox.showerror(title, message, master = self.editwin.text) + diff --git a/dev-python/bicyclerepair/files/bicyclerepair-fix-invalid-syntax.patch b/dev-python/bicyclerepair/files/bicyclerepair-fix-invalid-syntax.patch new file mode 100644 index 0000000..c32fdb6 --- /dev/null +++ b/dev-python/bicyclerepair/files/bicyclerepair-fix-invalid-syntax.patch @@ -0,0 +1,11 @@ +=== modified file 'bike/query/getPackageDependencies.py' +--- bike/query/getPackageDependencies.py 2008-07-21 19:37:44 +0000 ++++ bike/query/getPackageDependencies.py 2008-07-21 19:38:11 +0000 +@@ -2,5 +2,5 @@ + + # fileInPackage is the filename of a file in the package hierarchy + def getPackageDependencies(fileInPackage): +- ++ pass + + -- cgit v1.2.3-70-g09d2