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

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

bug#74946: [PATCH] * lisp/files.el (auto-mode-alist): Include gdbinit to


From: Stefan Kangas
Subject: bug#74946: [PATCH] * lisp/files.el (auto-mode-alist): Include gdbinit too
Date: Thu, 19 Dec 2024 17:55:22 -0500

Eli Zaretskii <eliz@gnu.org> writes:

> Btw, if we want to fix this entry, we should perhaps do a more
> thorough job.  For example, on my system I have files with the
> following base names:
>
>   .gdbinit.in
>   .gdbinit
>   _gdbinit (for MS-DOS)
>   gdb.ini (likewise)
>   gdbinit
>   gdbinit.in
>   SOMETHING-gdbinit
>   .gdbinit.loader
>   gdbinit-history.exp (not a GDB init file)
>   gdbinit.5 (likewise)
>   gdbinit.c (likewise)
>   .gdbinit.py.in (likewise)
>
> Should we improve the regexp to DTRT for those additional files, but
> without false positives?

Maybe something like the below patch?

BTW, should the .gdbinit.py.in file be in python-mode perhaps?
And what about gdbinit.5?

Attachment: 0001-Match-more-gdbinit-files.patch
Description: Text Data


reply via email to

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