GNU bug report logs - #15137
python mode patch

Previous Next

Package: emacs;

Reported by: Daniel Elliott <danelliottster <at> gmail.com>

Date: Mon, 19 Aug 2013 21:53:02 UTC

Severity: minor

Tags: patch

Merged with 15400

Done: fgallina <at> gnu.org

Bug is archived. No further changes may be made.

Full log


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

From: Daniel Elliott <danelliottster <at> gmail.com>
To: fabian <at> anue.biz
Cc: Fabián E. Gallina <fabian <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, 15137 <at> debbugs.gnu.org
Subject: Re: bug#15137: python mode patch
Date: Mon, 9 Sep 2013 09:15:27 -0500
Fabian,

You are correct on both counts.  Please let me know if I can be of
assistance to you.  Thanks for your time and effort.

- dan

On Sat, Aug 31, 2013 at 7:44 AM,  <fabian <at> anue.biz> wrote:
>
> monnier <at> iro.umontreal.ca writes:
>
>>> !     (buffer-substring start end))
>> [...]
>>> !     ;; wrap with a conditional to avoid errors about python unexpected indentation
>>> !     "if True:\n"
>>> !     (buffer-substring start end)
>>> !     "\n")
>>
>> That looks pretty good, thank you.
>> Fabián, could you take a look?
>>
>
> The idea is good but the patch needs bit more of work -- this approach
> will work when an indented region is sent but won't when sending a
> region which starts with no indentation at all. Also backtraces numbers
> will be wrong for a -1 offset.
>
> I'll push something for this soon.
>
>
> Regards,
> Fabián.




This bug report was last modified 11 years and 250 days ago.

Previous Next


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