[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18854: 25.0.50; Inferior Python mode should use derived-mode-p [with
From: |
Stefan Monnier |
Subject: |
bug#18854: 25.0.50; Inferior Python mode should use derived-mode-p [with patch] |
Date: |
Mon, 27 Oct 2014 13:45:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I maintain sage-mode which is implemented as a derived mode of
> python-mode. Likewise with inferior-sage-mode and inferior-python-mode.
> There are some places in python-mode where major-mode is checked with
> eq. This causes some weird breakage when using sage-mode, particularly
> it causes inferior-sage-mode to hang in some situations [1]. I could
> probably work around it on the sage-mode side, but I think it makes
> sense to use derived-mode-p instead, so I'm including this patch
Looks good, please install,
Stefan