Debian Bug report logs - #424973
python-mode: Breaks python-mode in emacs22

version graph

Package: python-mode; Maintainer for python-mode is Barry Warsaw <barry@debian.org>; Source for python-mode is src:python-mode (PTS, buildd, popcon).

Reported by: Tommi Vainikainen <thv+debian@iki.fi>

Date: Fri, 18 May 2007 08:33:02 UTC

Severity: important

Found in version python-mode/1:1.0-3.1

Done: Yaroslav Halchenko <debian@onerussian.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#424973; Package python-mode. (full text, mbox, link).


Acknowledgement sent to Tommi Vainikainen <thv+debian@iki.fi>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Tommi Vainikainen <thv+debian@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-mode: please support emacs22
Date: Fri, 18 May 2007 11:23:33 +0300
Package: python-mode
Version: 1:1.0-3.1
Severity: normal

Please adjust dependencies so that python-mode can be used with
emacs22 alone (now in experimental). Is there a reason for not
depending on emacsen but only on some specific flavors of emacs?

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mode depends on:
pn  emacs21 | xemacs21-bin | emac <none>     (no description available)
ii  pymacs                        0.22-6     interface between Emacs Lisp and P

python-mode recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#424973; Package python-mode. (full text, mbox, link).


Acknowledgement sent to Mike O'Connor <stew@vireo.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #10 received at 424973@bugs.debian.org (full text, mbox, reply):

From: Mike O'Connor <stew@vireo.org>
To: 424973@bugs.debian.org
Cc: 424973-submitter@bugs.debian.org
Subject: python-mode not needed for emacs22
Date: Wed, 11 Jul 2007 13:34:42 -0400
[Message part 1 (text/plain, inline)]
emacs22 currently in unstable (22.1+1-1) has its own python-mode, and in
fact, having python-mode installed on the system at all breaks
the built-in python-mode in emacs22.   With python-mode installed, I get
this in emacs22 when running M-x python-mode:

	Loading python-mode...
	eval: Recursive `require' for feature `sb-info'

purging the python-mode makes the 'python-mode built into emacs22
functional again.

stew
[signature.asc (application/pgp-signature, inline)]

Message sent on to Tommi Vainikainen <thv+debian@iki.fi>:
Bug#424973. (full text, mbox, link).


Changed Bug title to `python-mode: Breaks python-mode in emacs22' from `python-mode: please support emacs22'. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Mon, 12 Nov 2007 23:45:03 GMT) (full text, mbox, link).


Severity set to `important' from `normal' Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Mon, 12 Nov 2007 23:45:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#424973; Package python-mode. (full text, mbox, link).


Acknowledgement sent to Christian Herenz <herenz@physik.hu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #22 received at 424973@bugs.debian.org (full text, mbox, reply):

From: Christian Herenz <herenz@physik.hu-berlin.de>
To: 424973@bugs.debian.org
Subject: Would it be a good idea?
Date: Sun, 14 Sep 2008 16:46:56 +0200
I would propose, that we add something like:

(if (<= emacs-major-version 21)
;;existing stuff
)


This works for me, but somehow seems dirty!?

Greets,
Christian




Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#424973; Package python-mode. (full text, mbox, link).


Acknowledgement sent to Christian Herenz <herenz9@netscape.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (full text, mbox, link).


Message #27 received at 424973@bugs.debian.org (full text, mbox, reply):

From: Christian Herenz <herenz9@netscape.net>
To: 424973@bugs.debian.org
Subject: a dirty patch
Date: Sun, 14 Sep 2008 17:15:28 +0200
[Message part 1 (text/plain, inline)]

[50python-mode.el.diff (text/x-patch, inline)]
--- 50python-mode.el.orig   2008-09-14 16:56:48.000000000 +0200
+++ 50python-mode.el.patched    2008-09-14 17:00:48.000000000 +0200
@@ -1,5 +1,7 @@
 ;-*-emacs-lisp-*-
 
+(if (<= emacs-major-version 21)
+
 (autoload 'python-mode "python-mode" "Python editing mode." t)
 (autoload 'py-shell "python-mode" "Interactive Python interpreter." t)
 (autoload 'doctest-mode "doctest-mode" "Python doctest editing mode." t)
@@ -36,3 +38,5 @@
    '("python2.5" . python-mode)
    )
        interpreter-mode-alist))
+)
+

Reply sent to Yaroslav Halchenko <debian@onerussian.com>:
You have taken responsibility. (Sat, 07 Feb 2009 14:45:02 GMT) (full text, mbox, link).


Notification sent to Tommi Vainikainen <thv+debian@iki.fi>:
Bug acknowledged by developer. (Sat, 07 Feb 2009 14:45:02 GMT) (full text, mbox, link).


Message #32 received at 424973-done@bugs.debian.org (full text, mbox, reply):

From: Yaroslav Halchenko <debian@onerussian.com>
To: 424973-done@bugs.debian.org
Cc: Tommi Vainikainen <thv+debian@iki.fi>, Christian Herenz <herenz@physik.hu-berlin.de>
Subject: was fixed in the latest upload
Date: Sat, 7 Feb 2009 09:43:26 -0500
uff -- I seems missed this one while uploading (1:5.1.0-1) 

relevant changelog entry:

   * Changes/fixes in Debian packaging:
     - debian/control -- recommends pychecker (closes: #458997), suggests
       pylint, provides vcs-, homepage fields, adjusted descriptions, fixed
       depends to rely on current version of emacs (22) or any emacsen
       (closes: #473232), added needed python's depends (due to pycomplete)

also long description states that installation of this module will mask out
default python.el mode installed with emacs>=22

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 08 Mar 2009 07:30:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 22:10:40 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.