OK, I've updated the patch following Juri's suggestions. > ---------------------------------------- > From: Lars Ingebrigtsen > Sent: Mon Jul 19 17:52:43 CEST 2021 > To: Juri Linkov > Cc: Brian Leung , <49632@debbugs.gnu.org> > Subject: Re: bug#49632: [PATCH] Ensure that M-x gdb populates gud-repeat-map > > > Juri Linkov writes: > > > Exactly. But this means that you need to populate a new separate map > > 'gdb-repeat-map' specific to 'gdb' commands. Also I noticed that the > > current name of 'gud-repeat-map' is wrong. It should be renamed to > > 'gud-gdb-repeat-map'. So other debuggers could populate own repeat-maps > > named e.g. 'sdb-repeat-map', 'jdb-repeat-map', 'perldb-repeat-map', etc. > > I see. Then Brian's patch is functionally correct, but it shouldn't be > copy-and-pasted -- instead separating it out into a helper function and > using it both places seems like the correct thing to do. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --  Sent with https://mailfence.com Secure and private email -- Mailfence.com Private and secure email