I can type certain accented characters in Windows 10 using the <alt-gr> key. áéíóú. It’s limited to acute-accented vowels, so not sufficient for typing French, but it’s handy.
You can easily add keyboards in Windows and cycle between them. I can cycle between “English (Ireland)” and “Japanese (Microsoft IME)” keyboards by pressing <alt>-<shift>. A solution for you may be to switch to a French keyboard when you want to type French - the keys won’t all match but I think you could get used to it quickly.
No, it wouldn’t work for that. I’m surprised Word and other word processors don’t make this easy, even auto correcting for accents where possible. An example of what I would want this do is to hold down control, press E, and then repeatedly pressing E would cycle through the variations of E with or without accent. I’m glad I’ve never had to deal with this problem. Remembering all the different kinds of print and match codes is enough trouble.
Assuming you use Win10, there is a (slightly clonky) way of doing this.
Right-click on the taskbar, and check “Show touch keyboard button”
A little icon that looks like a keyboard should appear amongst the taskbar icons.
Then, when your cursor is in an area where you can enter text, bring up the touch keyboard
If you longclick on the character, you can get alternate versions of that character
For example, I just brought up the touch keyboard; a long click on the ‘M’ gives you ‘M’ or ‘µ’.
I believe he was using XEDIT, but he was looking for a solution that would work seamlessly in all applications, otherwise it would be easy to suggest “just use Word” or “just use Emacs”.
Unfortunately I cannot test all the different programs ATM; WinCompose and FreeCompose did let you edit the key sequences. If those don’t work any more, nor AllChars, there were also UniChars and maybe a couple of others like this one
I know the OP is not using a Mac, but this works with Macs, too. Just hold down the letter you want and you’ll get a menu of alternate versions with various accents/diacritics or variations of it.
My d/l installed three programs: WinCompose, WinCompose Settings, and WinCompose Sequences. The latter eventually displayed impossible keystrokes. I am uninstalling now.
Succès. I finally installed WinCompose and nothing happened. Then I realized I had to run it first. AllChars installed automatically. Okay, now my next question is how to add it to the Start list. None of the instructions I could find online worked. I created a shortcut which is now sitting on my desktop, but could not drag it either to the Task Manager startup window or to the startup window in Settings–>Apps–>Startup which seem to be the two methods recommended online.