From: Stefan Kangas <stefankangas@gmail.com>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: 34245-done@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Subject: bug#34245: perl mode aligns code with comments
Date: Wed, 6 Sep 2023 15:15:13 -0700 [thread overview]
Message-ID: <CADwFkm=OPFqWLypN4y1MHGgew_B7P5oRDD6+SREz2XKuseEPcg@mail.gmail.com> (raw)
In-Reply-To: <eb9e3bc2-bbe8-ca5b-ff48-cefda74d9c29@gmail.com> (Mauro Aranda's message of "Thu, 20 Oct 2022 08:51:32 -0300")
Version: 30.1
Mauro Aranda <maurooaranda@gmail.com> writes:
> 積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
>
>> In perl mode, a TAB on the second line below causes
>>
>> my @genres = ( #["match", "BUT NOT"]
>> ["Rainbow.*Taiwan|Taiwan.*Rainbow"],
>>
>> But wiser would be like perltidy does:
>>
>> my @genres = ( #["match", "BUT NOT"]
>> ["Rainbow.*Taiwan|Taiwan.*Rainbow"],
>
> I don't know why Debbugs marked this as a wishlist, it looks like a bug
> to me.
>
> Patch attached.
Thanks, pushed to master as commit 2a8f458719a.
prev parent reply other threads:[~2023-09-06 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-29 14:56 bug#34245: perl mode aligns code with comments 積丹尼 Dan Jacobson
2022-10-20 11:51 ` Mauro Aranda
2023-09-06 22:15 ` Stefan Kangas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=OPFqWLypN4y1MHGgew_B7P5oRDD6+SREz2XKuseEPcg@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=34245-done@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=maurooaranda@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).