Your message dated Fri, 15 Sep 2006 11:02:17 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#305668: fixed in jed 0.99.18-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: jed
Version: 0.99.16-5
Severity: normal

When writing programs using python-mode, jed mixes tabs and spaces.
For example, type this script without ever using the tab key :

#! /usr/bin/env python

def test1(arg):
    # This line is indented using 4 spaces
    # This line too
    if 1 == 1:
        # However, this line is indented using one tab.
        pass

Using indent=4, tab=8 is the worse setup :

  
<URL:http://groups.google.fr/groups?q=python+tab+space+guido&hl=fr&lr=&client=firefox-a&rls=org.mozilla:fr:official&selm=199804131539.LAA02742%40eric.CNRI.Reston.Va.US&rnum=1>

Here is what Guido recommends :

Indentation
Use the default of Emacs Python-mode: 4 spaces for one indentation
level. For really old code that you don't want to mess up, you can
continue to use 8-space tabs. Emacs Python-mode auto-detects the
prevailing indentation level used in a file and sets its indentation
parameters accordingly.

Tabs or Spaces?
Never mix tabs and spaces. The most popular way of indenting Python is
with spaces only. The second-most popular way is with tabs only. Code
indented with a mixture of tabs and spaces should be converted to using
spaces exclusively. (In Emacs, select the whole buffer and hit ESC-x
untabify.) When invoking the python command line interpreter with the -t
option, it issues warnings about code that illegally mixes tabs and
spaces. When using -tt these warnings become errors. These options are
highly recommended!

See :
  <URL:http://www.python.org/doc/essays/styleguide.html>

This bug is very annoying when opening the code with an editor (like
Emacs) that says that indent=4 and tab=4.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages jed depends on:
ii  jed-common                  0.99.16-5    byte compiled S-Lang runtime files
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libgpmg1                    1.19.6-20    General Purpose Mouse - shared lib
ii  slang1                      1.4.9dbs-8   The S-Lang programming library - r

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: jed
Source-Version: 0.99.18-5

We believe that the bug you reported is fixed in the latest version of
jed, which is due to be installed in the Debian FTP archive:

jed-common_0.99.18-5_all.deb
  to pool/main/j/jed/jed-common_0.99.18-5_all.deb
jed_0.99.18-5.diff.gz
  to pool/main/j/jed/jed_0.99.18-5.diff.gz
jed_0.99.18-5.dsc
  to pool/main/j/jed/jed_0.99.18-5.dsc
jed_0.99.18-5_i386.deb
  to pool/main/j/jed/jed_0.99.18-5_i386.deb
xjed_0.99.18-5_i386.deb
  to pool/main/j/jed/xjed_0.99.18-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <[EMAIL PROTECTED]> (supplier of updated jed package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 15 Sep 2006 19:11:46 +0200
Source: jed
Binary: jed jed-common xjed
Architecture: source all i386
Version: 0.99.18-5
Distribution: unstable
Urgency: low
Maintainer: Debian JED Group <[EMAIL PROTECTED]>
Changed-By: Rafael Laboissiere <[EMAIL PROTECTED]>
Description: 
 jed        - editor for programmers (textmode version)
 jed-common - S-Lang runtime files for jed and xjed
 xjed       - editor for programmers (x11 version)
Closes: 305668 384683 384726 384751
Changes: 
 jed (0.99.18-5) unstable; urgency=low
 .
   * jed-common.templates: fixed a typo in the debconf question; thanks
     to Sven Joachim <sven_joachim AT web DOT de> (closes: #384726) [JS]
 .
   * po/fr.po: Updated the French debconf translation; thanks to
     Thomas Huriaux <thomas.huriaux AT gmail DOT com> (closes: #384683) [JS]
   * po/cs.po: Updated the Czech debconf translation; thanks to
     Miroslav Kure <kurem AT upcase DOT inf DOT upolDOT cz>
     (closes: #384751) [JS]
   * po/de.po: Added a German debconf translation [JS]
   * debian/po/sv.po: Swedish translation for debconf templates, thanks to
     Daniel Nylander <yeager AT lidkoping DOT net> [RL]
 .
   * patches/fix-pymode-tab-space.dpatch: Added a patch to make python mode
     use the right indention character for a file (tab vs. space)
     (closes: #305668) [JS]
 .
   * install README.Debian (to /usr/share/doc/jed-common) [GM]
Files: 
 7c2837d3bc84327fca0edaec71bcefda 787 editors optional jed_0.99.18-5.dsc
 56142473676eab9ccda5c3d6cdf7e1d3 30198 editors optional jed_0.99.18-5.diff.gz
 1ccc6d445f7b68e9e300da16fa902754 116242 editors optional jed_0.99.18-5_i386.deb
 2c22d67f6117bdfd9322d9aaab2a14a8 131888 editors optional 
xjed_0.99.18-5_i386.deb
 d96d2f138efd3c9f3197c57fc96aaf09 529050 editors optional 
jed-common_0.99.18-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFCugHk3oga0pdcv4RAtRYAJ0ZeY0rNFUBHI/ZUJ/HXY36meo1bgCfTOIW
0RhdqKJqUofCIhBgdcH5I60=
=GKKH
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to