I noticed that AutoHotKey provides a solution to my keyboard layout problem in Emacs. Description of ProblemAssume that my physical keyboard is in US layout. Then I add a French(Canadian) layout in Windows and switch to that, because I want to type the French accents more easily. In Emacs,