bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59894: [PATCH] Add dockerfile-ts-mode


From: Yuan Fu
Subject: bug#59894: [PATCH] Add dockerfile-ts-mode
Date: Fri, 9 Dec 2022 13:27:28 -0800

Randy Taylor <dev@rjt.dev> writes:

> On Friday, December 9th, 2022 at 04:52, Michael Albinus 
> <michael.albinus@gmx.de> wrote:
>> 
>> Randy Taylor dev@rjt.dev writes:
>> 
>> 
>> Hi Randy,
>> 
>> > New attached patched addressing the following:
>> > - Added dockerfile-ts-mode to auto-mode-alist (perhaps a regex guru could 
>> > squeeze it into one, I spent more time trying than I liked to no avail).
>> 
>> 
>> (rx (| (: "Dockerfile" (? "." (* nonl))) (: "." (any "dD") "ockerfile")) eol)
>> 
>> Best regards, Michael.
>
> Thank you, Michael! It works perfectly - I should've thought about using rx.
>
> I've attached a new patch with Michael's suggestion and also fixed the 
> copyright notice per Stefan's recent changes to similar modes.

Thanks. I applied the patch :-)

Yuan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]