[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19709: [PATCH] Verify that indentation works with current cperl-mode
From: |
Harald Jörg |
Subject: |
bug#19709: [PATCH] Verify that indentation works with current cperl-mode |
Date: |
Wed, 04 Nov 2020 21:01:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
This bug apparently can no longer be reproduced.
Using quick'n'dirty bisection (avoiding recompilations of the whole
source tree) I could track the fix back to commit 1bcbcb7e,
"lisp/progmodes/cperl-mode.el: Merge from Jonathan Rockway's version" by
Stefan Monnier, 21st Dec 2017. This makes sense since this commit
introduced a new function 'cperl-calculate-indent' to cperl-mode.el.
The patch adds a test to verify correct behavior, and also adds the
relevant variable cperl-close-paren-offset (which is explicitly set in
the bug report) to the scope of the cperl-set-style setting "PBP". This
variable is documented in the book, but wasn't included yet.
--
Cheers,
haj
0001-cperl-mode-Indentation-of-follows-customisation.patch
Description: Indentation obeys customisation
- bug#19709: [PATCH] Verify that indentation works with current cperl-mode,
Harald Jörg <=