On 16.07.19 00:45, Barry Warsaw wrote:
Hi Andreas,
I don’t have any strong opinions, except that I do use python-mode.el in a kind
of weird way. I never byte compile it, always loading from the .el in my emacs
init files.
That's fine. So I do, but for a different reason: Byte-compiled files
are not compatible between versions of Emacs, while sources are to great
extent.
BTW that change is checked in already. Shouldn't make any difference for
users.
I got into this habit ages ago when VCSes couldn’t automatically byte compile
files when you updated your local repos (and Emacs .elc files aren’t like
Python’s .pyc files, since they don’t get auto-generated when the .el file is
newer).
-Barry
On Jul 12, 2019, at 00:09, Andreas Röhler <andreas.roeh...@online.de> wrote:
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 <andreas.roeh...@online.de> 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