From barry at python.org Mon Apr 1 19:37:38 2013 From: barry at python.org (Barry Warsaw) Date: Mon, 1 Apr 2013 13:37:38 -0400 Subject: [Python-mode] problem with fill-paragraph In-Reply-To: <515360BB.2090304@gmail.com> References: <515360BB.2090304@gmail.com> Message-ID: <20130401133738.1196c092@anarchist> On Mar 27, 2013, at 10:12 PM, Alexis Roda wrote: >I have upgraded from python-mode 6.0.11 to 6.1.2 and now I have some trouble >with fill-paragraph within docstrings. It works ok for comments. > >If the point is within the second paragraph M-q converts: > > """Returns a rewritten path. > > Assuming that ``cr`` is a :class:`ContextRewriter` instance, > that the rewriter maps the path ``views/`` to > >into: > > """Returns a rewritten path. >Assuming that ``cr`` is a :class:`ContextRewriter` instance, > that the rewriter maps the path ``views/`` to I'm having the exact same problem now with bzr head. https://bugs.launchpad.net/python-mode/+bug/1162912 -Barry From andreas.roehler at online.de Tue Apr 2 12:11:55 2013 From: andreas.roehler at online.de (=?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?=) Date: Tue, 02 Apr 2013 12:11:55 +0200 Subject: [Python-mode] python-mode menu In-Reply-To: <20130401165216.20639.28370.malonedeb@wampee.canonical.com> References: <20130401165216.20639.28370.malonedeb@wampee.canonical.com> Message-ID: <515AAEEB.2070801@online.de> Hi all, having look at the critics from link below, python-mode menu could get some simplification indeed. Think will have some ideas what to do. In case you have some requests too, it's welcome. Andreas -------- Original-Nachricht -------- Betreff: [Bug 1162893] [NEW] The automatic indentation works against me. Datum: Mon, 01 Apr 2013 16:52:16 -0000 Von: Jesse If you take a look at this angry man's blog: http://danielnouri.org/notes/2012/11/16/python-mode-gone-wrong/ you can see an example of what I'm trying to describe. [ ... ] From andreas.roehler at online.de Thu Apr 11 08:54:45 2013 From: andreas.roehler at online.de (=?ISO-8859-15?Q?Andreas_R=F6hler?=) Date: Thu, 11 Apr 2013 08:54:45 +0200 Subject: [Python-mode] Comparison of Python modes at SO Message-ID: <51665E35.70600@online.de> Hi all, whilst Stack Overflow usually cancels that kind of questions, this time they seem to take interest. See http://stackoverflow.com/questions/15670505/comparison-of-python-modes-for-emacs/15672445#15672445 Maybe an occassion to discuss directions of development? Certainly, there is more than just one way to go, Andreas From georg at python.org Thu Apr 11 22:25:02 2013 From: georg at python.org (Georg Brandl) Date: Thu, 11 Apr 2013 22:25:02 +0200 Subject: [Python-mode] python-mode menu In-Reply-To: <515AAEEB.2070801@online.de> References: <20130401165216.20639.28370.malonedeb@wampee.canonical.com> <515AAEEB.2070801@online.de> Message-ID: <51671C1E.9060503@python.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 FWIW, I agree with the comments about the menu. We even have electric commands in the menu -- WTF? And I found a few duplicates, such as the "Shift ... left/right" entries. Also, the shell selections has WAY too many choices. Do we *really* need an interactive command for every combination of run def/class/statement for every of 8 (or so) interpreters? I appreciate that you want to accomodate every feature request, but this seems to go too far. On a related note, why do we have interactive functions for toggling lots and lots of custom variables? cheers, Georg Am 02.04.2013 12:11, schrieb Andreas R?hler: > Hi all, > > having look at the critics from link below, python-mode menu could get some > simplification indeed. Think will have some ideas what to do. > > In case you have some requests too, it's welcome. > > Andreas > > > > -------- Original-Nachricht -------- Betreff: [Bug 1162893] [NEW] The > automatic indentation works against me. Datum: Mon, 01 Apr 2013 16:52:16 > -0000 Von: Jesse > > If you take a look at this angry man's blog: > http://danielnouri.org/notes/2012/11/16/python-mode-gone-wrong/ you can see > an example of what I'm trying to describe. > > [ ... ] _______________________________________________ Python-mode mailing > list Python-mode at python.org > http://mail.python.org/mailman/listinfo/python-mode > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFnHB4ACgkQN9GcIYhpnLCszACgi3dHX4/JNAQSTaPKPXdh9l+I +pYAoJjdzgf2EyZt4DMNOWwzhG5hM0i2 =ZEnI -----END PGP SIGNATURE----- From andreas.roehler at online.de Fri Apr 12 07:23:47 2013 From: andreas.roehler at online.de (=?ISO-8859-1?Q?Andreas_R=F6hler?=) Date: Fri, 12 Apr 2013 07:23:47 +0200 Subject: [Python-mode] python-mode menu In-Reply-To: <51671C1E.9060503@python.org> References: <20130401165216.20639.28370.malonedeb@wampee.canonical.com> <515AAEEB.2070801@online.de> <51671C1E.9060503@python.org> Message-ID: <51679A63.50102@online.de> Am 11.04.2013 22:25, schrieb Georg Brandl: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > FWIW, I agree with the comments about the menu. > > We even have electric commands in the menu -- WTF? > And I found a few duplicates, such as the "Shift ... left/right" entries. > > Also, the shell selections has WAY too many choices. Do we *really* > need an interactive command for every combination of run def/class/statement > for every of 8 (or so) interpreters? Probably not the way it's done now. Will change that. > > I appreciate that you want to accomodate every feature request, but > this seems to go too far. > > On a related note, why do we have interactive functions for toggling lots > and lots of custom variables? Will re-work the menu, so they are not visible unless searched for. Thanks, Andreas > > cheers, > Georg > > Am 02.04.2013 12:11, schrieb Andreas R?hler: >> Hi all, >> >> having look at the critics from link below, python-mode menu could get some >> simplification indeed. Think will have some ideas what to do. >> >> In case you have some requests too, it's welcome. >> >> Andreas >> >> >> >> -------- Original-Nachricht -------- Betreff: [Bug 1162893] [NEW] The >> automatic indentation works against me. Datum: Mon, 01 Apr 2013 16:52:16 >> -0000 Von: Jesse >> >> If you take a look at this angry man's blog: >> http://danielnouri.org/notes/2012/11/16/python-mode-gone-wrong/ you can see >> an example of what I'm trying to describe. >> >> [ ... ] _______________________________________________ Python-mode mailing >> list Python-mode at python.org >> http://mail.python.org/mailman/listinfo/python-mode >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > > iEYEARECAAYFAlFnHB4ACgkQN9GcIYhpnLCszACgi3dHX4/JNAQSTaPKPXdh9l+I > +pYAoJjdzgf2EyZt4DMNOWwzhG5hM0i2 > =ZEnI > -----END PGP SIGNATURE----- > From andreas.roehler at online.de Mon Apr 29 12:34:40 2013 From: andreas.roehler at online.de (=?ISO-8859-1?Q?Andreas_R=F6hler?=) Date: Mon, 29 Apr 2013 12:34:40 +0200 Subject: [Python-mode] python-mode menu In-Reply-To: <51671C1E.9060503@python.org> References: <20130401165216.20639.28370.malonedeb@wampee.canonical.com> <515AAEEB.2070801@online.de> <51671C1E.9060503@python.org> Message-ID: <517E4CC0.80903@online.de> Am 11.04.2013 22:25, schrieb Georg Brandl: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > FWIW, I agree with the comments about the menu. > Hi, consider to re-introduce menu from v5.2.0, augmented by a buttom "More" at its bottom. "More" should give access to all the stuff visible now- i.e. not considered for daily use, rather for reference. Andreas From andreas.roehler at online.de Tue Apr 30 13:40:34 2013 From: andreas.roehler at online.de (=?ISO-8859-15?Q?Andreas_R=F6hler?=) Date: Tue, 30 Apr 2013 13:40:34 +0200 Subject: [Python-mode] Menu simplified Message-ID: <517FADB2.5060203@online.de> Hi all, with r1224 a simplified menu is provided. Maybe have a look. It adapts version 5.2.0 style, a "More" button gives access to new and advanced features. Andreas