That depends on what you mean, exactly. You are talking about kerning exceptions. Do you want the kerning value for the exception to be used for the group? This is what happens when you deactivate the exception.
Or do you want to remove the exception and use the group kerning value? Then just run the mekkablue script Remove Kerning Exceptions (or something like that).
On another note, what kerning pairs are you talking about? Can you show some examples?
When I close the padlock the original kerning value is activated instead. I don’t think that Removing Kerning Exceptions works in the same way. When I use this commands open padlock persist.
Also Mekkablue’s script gives me the following error:
File "Remove Kerning Exceptions.py", line 146
RemoveKerningExceptions()
File "Remove Kerning Exceptions.py", line 34, in __init__
autosaveName="%s.mainwindow" % self.prefID # stores last window position and size
^^^^^^^^^^^
AttributeError: 'RemoveKerningExceptions' object has no attribute 'prefID'. Did you mean: 'pref'?
This is called Compress and available in the actions menu in Window > Kerning. The downside is that this works only font-wide. If you want to compress more specifically, there is a Compress script in mekkablue > Kerning.
Removing exceptions with the script deletes the pairs rather than compress them to group kerning.
Or try the Exception Cleaner script, which deletes glyph-glyph pairs if it is less than x units away from the corresponding group-group pair: