Re: File extention association in Windows 10

Bo Johansson <[email protected]> Sun, 6 Jan 2019 14:28:10 +0100
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Microsoft has now changed Windows 10 so the file type association works 
again.

A problem remains with the menu items when using MS File Browser. When 
right clicking on a file that can be opened with Emacs and selecting 
“open with” you can get several identical menu items, with the text "GNU 
Emacs: The extensible self-documenting text editor".

It is not good to have the same "FileDescription" text for several 
“emacs” executables. The same text is used both in emacs.exe and 
runemacs.exe.

My proposal is: Change the text used in the "FileDescription", so they 
are different for emacs, runemacs, emacsclient and emacsclientw


Den 2018-12-04 kl. 17:30, skrev Bo Johansson:
> I have file extentions associated with Emacs. However Microsoft has 
> made some change, so my filetype association does not work in a good way.
> The handling of default apps is changed in Windows 10. "Default apps" 
> refers to the way that Windows maps file types and protocols (like 
> HTTP) to the Windows applications they open by default.
>
> When I double click on a file with .myext I am getting a dialoge with 
> a selection between two idential alternatives,"GNU Emacs: The 
> extensible self-documenting text editor". I do not know which to 
> select. One of them starts Emacs and the other Runemacs.
> The texts for the alternative is probably the "FileDescription" of the 
> exe-file. See the src file emacs/nt/emacs.rc.in line 31: VALUE 
> "FileDescription", "GNU Emacs: The extensible self-documenting text 
> editor\0".
> The same text is used both in emacs.exe and runemacs.exe.
>
> My proposal is:
>
> 1) Change the text used in the "FileDescription", so they a different 
> for emacs, runemacs, emacsclient and emacsclientw.
>
> 2) Create, register and use ProgID like "LibreOffice.Cgm". It could be 
> GNUemacs.txt, GNUrunemacs.txt, GNUemacsclient.txt and GNUemacsclientw.txt
>
> Bo Johansson