Eli Zaretskii 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?