There is a conflict between the Ubuntu keyboard shortcut Ctrl-Alt-S
(which does "toggle shaded state") and the emacs macro Ctrl-Alt-S
, which invokes forward-search-regex
, which of course is vastly more useful than "toggle shaded state."
In Keyboard Settings, I deleted the shortcut for "toggle shaded state," and that makes the emacs macro work properly. But sometimes the Ubuntu shortcut reasserts itself unexpectedly, so I have to go to System Settings to delete that shortcut again. It doesn't always happen on restart. Today it happened while I was working in emacs - one minute Ctrl-Alt-S
invoked the regular expression search, the next minute it went crazy.
How can I delete the Ubuntu keyboard shortcut permanently?