Re: [Python-mode] python-mode.el partial rewrite

2019-07-12 Thread Andreas Röhler

Thanks Barry,

next question:

we have a lot of commands which are convenient occasionally, however 
most of them will never be used but take a lot of space. To make the 
core of python-mode.el readable again think to construct it on the fly 
according to something like


(defcustom py-known-shells
  (list "ipython"
    "ipython2.7"
    "ipython3"
    "jython"
    "python"
    "python2"
    "python3"
    "pypy"
    )
  "A list of available shells instrumented for commands.
 Expects its executables installed"))...

This list might be shrink or extended at will.

Two backsides: a slightly larger loading time and source of callers like 
‘py-execute-section-ipython3’ will not be visible for users.


WDYT? Any objections?

Cheers,

Andreas




On 11.07.19 23:22, Barry Warsaw wrote:

Great, thanks for all your great work on the module.  I’ve updated to 639532b 
and will play with this for a while.

-Barry


On Jul 10, 2019, at 01:14, Andreas Röhler  wrote:

Hi Barry, hi all,

should have fixed  IPython completion and fontification, also #31,

which caused some changes. Maybe check it out.

Cheers,

Andreas



___
Python-mode mailing list
Python-mode@python.org
https://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] python-mode.el partial rewrite

2019-07-11 Thread Barry Warsaw
Great, thanks for all your great work on the module.  I’ve updated to 639532b 
and will play with this for a while.

-Barry

> On Jul 10, 2019, at 01:14, Andreas Röhler  wrote:
> 
> Hi Barry, hi all,
> 
> should have fixed  IPython completion and fontification, also #31,
> 
> which caused some changes. Maybe check it out.
> 
> Cheers,
> 
> Andreas
> 
> 



signature.asc
Description: Message signed with OpenPGP
___
Python-mode mailing list
Python-mode@python.org
https://mail.python.org/mailman/listinfo/python-mode