Second comment line sometimes outdents incorrectly

Bug #1922399 reported by Ted Schroeder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
New
Undecided
Unassigned

Bug Description

Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package installer) hitting tab on the second comment line outdents, but I don't think it should.

def addProductToShopify(sample)
 try:
  a = sample
 except NoResultFound as e:
  return False

 # comment 1
 # comment 2
 # comment 3
 return True

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1922399] [NEW] Second comment line sometimes outdents incorrectly

Thanks for the report.

Please note all development moved to GitLab.

Would you mind to file the report there again?

https://gitlab.com/python-mode-devs/python-mode/-/issues

Will have a look anyway.

On 03.04.21 02:29, Ted Schroeder wrote:
> Public bug reported:
>
> Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package
> installer) hitting tab on the second comment line outdents, but I don't
> think it should.
>
> def addProductToShopify(sample)
> try:
> a = sample
> except NoResultFound as e:
> return False
>
> # comment 1
> # comment 2
> # comment 3
> return True
>
> ** Affects: python-mode
> Importance: Undecided
> Status: New
>

Revision history for this message
Ted Schroeder (tedlschroeder) wrote :

No problem. I created an issue in GitLab. Google is lagging behind in
finding you, I guess.

On Sat, Apr 3, 2021 at 12:16 AM Andreas Roehler <email address hidden>
wrote:

> Thanks for the report.
>
> Please note all development moved to GitLab.
>
> Would you mind to file the report there again?
>
> https://gitlab.com/python-mode-devs/python-mode/-/issues
>
> Will have a look anyway.
>
>
> On 03.04.21 02:29, Ted Schroeder wrote:
> > Public bug reported:
> >
> > Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package
> > installer) hitting tab on the second comment line outdents, but I don't
> > think it should.
> >
> > def addProductToShopify(sample)
> > try:
> > a = sample
> > except NoResultFound as e:
> > return False
> >
> > # comment 1
> > # comment 2
> > # comment 3
> > return True
> >
> > ** Affects: python-mode
> > Importance: Undecided
> > Status: New
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1922399
>
> Title:
> Second comment line sometimes outdents incorrectly
>
> Status in python-mode.el:
> New
>
> Bug description:
> Using python-mode.el V 6.2.3 (installed using the ELPA/MELPA package
> installer) hitting tab on the second comment line outdents, but I
> don't think it should.
>
> def addProductToShopify(sample)
> try:
> a = sample
> except NoResultFound as e:
> return False
>
> # comment 1
> # comment 2
> # comment 3
> return True
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/python-mode/+bug/1922399/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.