Andreas Röhler | 30 Jun 09:12 2014
Picon

py-shell-name no longer buffer-local

Hi,

as difficulties have been reported WRT py-shell-name and the like being buffer-local, consider to drop
that, making them normal vars.

Just FYI, please tell if any objections,

Cheers,
Andreas
Andreas Röhler | 25 Jun 16:04 2014
Picon

TAB in script buffer

Hi,

lately TAB in Python shell was bound to `py-shell-complete-or-indent'.

What about doing likewise in script buffers - where TAB is currently `py-indent-line'?

Unfortunatly the default completion-key M-TAB is used by most X-windows systems, so users must
re-configure first.

Binding it to TAB would solve that.

BTW in this case completion should only be called at end of line and with word before. Otherwise TAB would
`py-indent-line' - as a second TAB would do also.

Comments?

Cheers,

Andreas
Andreas Röhler | 14 Jun 17:29 2014
Picon

Reduce complexity

Hi Barry, hi all,

WRT

https://bugs.launchpad.net/python-mode/+bug/1330045

consider to drop two variables, which introduce complexity while not being that useful as expected.

It's

`py-indent-no-completion-p'

which would insert a TAB if no completion is found.

The other:

`py-no-completion-calls-dabbrev-expand-p'

`dabbrev-expand' is a well known feature at its own keys,
IMO doesn't pay to instrument it here.

Just FYI.

Should anybody want to keep the variables mentioned, please tell.

Cheers,

Andreas
Andreas Röhler | 2 Jun 09:06 2014
Picon

TAB-completion in Python shell

Hi Barry, hi all,

completion in py-shell always was M-TAB

However, many people switching to python-mode.el expect TAB to complete there.

Here one from a bunch of reports:

https://bugs.launchpad.net/python-mode/+bug/1325474

Any suggestions?

Cheers,

Andreas
Andreas Röhler | 28 May 13:48 2014
Picon

Big-Data mit Grenzen

Seid gegrüßt,

komme eben auf einen eher kritisch gehaltenen Aufsatz

http://www.theeuropean.de/gunnar-sohn/8165-die-grenzen-von-big-data

der Python auf zweierlei Weise berührt:

- die Sprache dürfte derzeit zu einer der am meisten eingesetzten im Kontext gehören
- sie bietet m.E. bereits einen Lösungsansatz.

Eine Antwort auf die vorgetragene Kritik bestünde in der Verpflichtung der beteiligten Unternehmen,
für den Fall, daß personenbezogene Daten verarbeitet werden,
Informationsfreiheit zu gewährleisten, z. B. den Quellcode der eingesetzten Programme einsehbar zu machen.

Gibt es da eventuell bereits Initiativen seitens des Python Verbandes?

Grüße,

Andreas
Andreas Röhler | 14 May 17:36 2014
Picon

Reducing number of forms

Hi Barry, hi all,

in order to shrink the python-mode.el codebase a little bit,

consider to support the following py-shell commands:

python, ipython, python2, python3, jython, bpython

Will drop

python3.3. python2.7 etc.

Calling other versions than default should be easy by mapping python3 onto PATH/TO/python3.4

for example.

Cheers,

Andreas
Andreas Röhler | 1 May 17:47 2014
Picon

shipping cython-mode.el?

Hi Georg, hi all,

when looking for bug lp:1314921, there was a talk a time ago WRT shipping your version of cython-mode.el

IMO it would be convenient if users must not load it separately.

As it isn't that much code, could inline it into python-mode.el.

Also would like to make faces customizable, so Cython specific keywords might look different from others.
Default would remain as is.

Opinions?

Cheers,

Andreas
Andreas Röhler | 21 Mar 18:11 2014
Picon

face of print

Function "print" currently gets font-lock-keyword-face, which doesn't seem correct.
IMO it should get py-builtins-face, right?

Just FYI,

Andreas
Andreas Röhler | 19 Mar 18:21 2014
Picon

WRT parenthese errors in Python edits

Hi Barry, hi list,

r1449, while fixing lp:1294478, introduced a new behavior WRT to missing parenthesis.

   `py-end-of-statement' will stop at the end of line with related open paren.

   When `py-verbose-p' is `t', an error-message tells the reason.

   All other commands dealing with whole blocks will perform normally, but also issue an error-message, if
   `py-verbose-p' is on.

Comments welcome.
Maybe py-verbose-p isn't right here, need a `py-error-p'?

Cheers,

Andreas
Andreas Röhler | 13 Mar 12:18 2014
Picon

execute dedicated - multiple buffers?

Hi Barry, hi all,

currently, when dedicated is on, a new buffer is created with some autogenerated name.

Repeated dedicated calls will leave a row of badly readable buffer-names.

An alternative would be to kill the default shell before and run just a new shell.

No idea WRT to pros and cons.

Also introducing a new switch here would be possible.

Any importance at all? Any suggestions?

Cheers,

Andreas
Andreas Röhler | 10 Mar 12:02 2014
Picon

formatting triple-quoted-strings

Hi Barry, hi all,

currently formatting tqs with py-docstring-style is called, if tqs is below a class or def.

OTOH tqs are also used at beginning of file or other place in sense of a info/docstring.

What about to apply docstring-styles every times a tqs is formatted?

Cheers,

Andreas

Gmane