[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY funct
From: |
kobarity |
Subject: |
bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks |
Date: |
Tue, 16 Aug 2022 11:28:40 +0900 |
Dima Kogan <dima@secretsauce.net> wrote:
> Thanks for working on this. I'll try it out in a bit. How do you usually
> test it?
You need the latest source code (master branch) to apply the patches.
Here are how to test them:
- patch -p1 < fix-56635-hideshow.patch
- patch -p1 < fix-56635-python.patch
- emacs -Q
- M-x load-file "patched python.el"
- M-x load-file "patched hideshow.el"
- M-x find-file "Python file to test"
- M-x hs-minor-mode
If you want to load patched files in ~/.emacs, following settings
should suffice:
(load "/somewhere patched/python.el")
(load "/somewhere patched/hideshow.el")
As for ERTs, I'm testing them with the following command in the
patched source code tree:
src/emacs -batch -l ert -l lisp/progmodes/hideshow.el -l
lisp/progmodes/python.el -l test/lisp/progmodes/python-tests.el -l
test/lisp/progmodes/hideshow-tests.el --eval '(let
((python-tests-shell-interpreter "python3"))
(ert-run-tests-batch-and-exit))'
I'm looking forward to your feedback.
Regards,
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, kobarity, 2022/08/07
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Augusto Stoffel, 2022/08/08
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, kobarity, 2022/08/13
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Lars Ingebrigtsen, 2022/08/17
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Lars Ingebrigtsen, 2022/08/17
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, kobarity, 2022/08/17
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Dima Kogan, 2022/08/23
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Lars Ingebrigtsen, 2022/08/24
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, kobarity, 2022/08/24
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, Lars Ingebrigtsen, 2022/08/25
- bug#56635: 29.0.50; [PATCH] hide-show in python-mode supports ONLY function and class blocks, kobarity, 2022/08/25