GNU bug report logs -
#43457
28.0.50; [FEATURE][PATCH] cperl-mode: Add value "PBP" to cperl-set-style
Previous Next
Reported by: Harald Jörg <haj <at> posteo.de>
Date: Wed, 16 Sep 2020 21:19:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43457 in the body.
You can then email your comments to 43457 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#43457
; Package
emacs
.
(Wed, 16 Sep 2020 21:19:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Harald Jörg <haj <at> posteo.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 16 Sep 2020 21:19:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This is not a bug report, but a feature request. If I understand
correctly, both go through the same channel.
Motivation: cperl-mode offers a command 'cperl-set-style' which sets
some customization values for code formatting according to a list of
rule sets. The book "Perl Best Practices", known as "PBP" in the Perl
community, also defines such a rule set, including the corresponding
settings for Emacs (among other editors).
The PBP rules are widely accepted for Perl code, so in my opinion it
makes sense to make these settings available through 'cperl-set-style'.
The attached patch adds the new value "PBP" to the style selection and
to the documentation, and also contains a simple formatting test
according to these rules.
I also added some lines to etc/NEWS, but I'm unsure about the handling
of "---" to indicate that the change is not relevant to the manual:
There is no texinfo manual for CPerl mode, so maybe "---" should be
added before the heading "CPerl Mode"?
--
Cheers,
haj
[0001-cperl-mode-Add-new-value-PBP-for-cperl-set-style.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#43457
; Package
emacs
.
(Thu, 17 Sep 2020 15:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 43457 <at> debbugs.gnu.org (full text, mbox):
Harald Jörg <haj <at> posteo.de> writes:
> This is not a bug report, but a feature request. If I understand
> correctly, both go through the same channel.
Yup.
> The attached patch adds the new value "PBP" to the style selection and
> to the documentation, and also contains a simple formatting test
> according to these rules.
Looks great! Applied to Emacs 28.
> I also added some lines to etc/NEWS, but I'm unsure about the handling
> of "---" to indicate that the change is not relevant to the manual:
> There is no texinfo manual for CPerl mode, so maybe "---" should be
> added before the heading "CPerl Mode"?
Yup; I did so before committing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 17 Sep 2020 15:37:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
43457 <at> debbugs.gnu.org and Harald Jörg <haj <at> posteo.de>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 17 Sep 2020 15:37:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 16 Oct 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.