GNU bug report logs - #881
23.0.60; python.el: Wrong syntax highlighting in decorators

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Thu, 4 Sep 2008 08:50:04 UTC

Severity: normal

Tags: moreinfo

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 881 in the body.
You can then email your comments to 881 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#881; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; python.el: Wrong syntax highlighting in decorators
Date: Thu, 04 Sep 2008 10:40:41 +0200 (CEST)
In Python source text, if a function decorator uses the dot notation for attribute lookup, the syntax highlightig stops at the first dot.  Instead, it should highlight the complete decorator identifier.


In GNU Emacs 23.0.60.11 (x86_64-unknown-linux-gnu)
 of 2008-09-02 on wilson
Windowing system distributor `The Cygwin/X Project', version 11.0.60899901
configured using `configure  '--prefix=/usr/local/' '--mandir=/usr/local/share/man/' '--infodir=/usr/local/share/info/' '--with-x-toolkit=no' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  global-auto-revert-mode: t
  savehist-mode: t
  display-time-mode: t
  desktop-save-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#881; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 881 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 881 <at> debbugs.gnu.org
Subject: Re: bug#881: 23.0.60; python.el: Wrong syntax highlighting in decorators
Date: Thu, 04 Sep 2008 10:06:46 -0400
> In Python source text, if a function decorator uses the dot notation
> for attribute lookup, the syntax highlightig stops at the first dot.
> Instead, it should highlight the complete decorator identifier.

Could you explain what that means for someone who has no idea what is
a "decorator" or "decorator identifier"?  E.g. an example would go
a long way, thank you,


        Stefan




Tags added: moreinfo Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Thu, 11 Sep 2008 06:20:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,python'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 24 Jan 2009 13:30:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#881; Package emacs,python. (Tue, 05 Jan 2010 01:22:01 GMT) Full text and rfc822 format available.

Message #17 received at 881 <at> debbugs.gnu.org (full text, mbox):

From: Tom Tromey <tromey <at> redhat.com>
To: 881 <at> debbugs.gnu.org
Subject: patch for bug #881
Date: Mon, 04 Jan 2010 18:21:46 -0700
[Message part 1 (text/plain, inline)]
I think this patch fixes bug #881.

It is against the emacs-23 branch, because I could not check out the
trunk today.

Tom

[bug-881 (application/octet-stream, attachment)]

bug closed, send any further explanations to Torsten Bronger <bronger <at> physik.rwth-aachen.de> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 05 Jan 2010 22:16:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#881; Package emacs,python. (Tue, 05 Jan 2010 22:17:01 GMT) Full text and rfc822 format available.

Message #22 received at 881 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Tom Tromey <tromey <at> redhat.com>
Cc: 881 <at> debbugs.gnu.org, Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Subject: Re: patch for bug #881
Date: Tue, 05 Jan 2010 15:11:46 -0700
> I think this patch fixes bug #881.
>
> It is against the emacs-23 branch, because I could not check out the
> trunk today.

Applied, thanks.




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Feb 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.