|
From: | Juri Linkov |
Subject: | Re: Mapping file types to major modes |
Date: | Sat, 24 Sep 2022 22:51:25 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> So all it takes is to add some "mode remapping" layer to decide which > major mode to actually use when the "type/mode". Such layer looks like `mime.types` with e.g. # MIME media types and the extensions that represent them. text/x-perl pl pm text/html html htm shtml ... and `mailcap` with e.g. text/html; firefox %s; test=test -n "$DISPLAY" text/html; /usr/bin/sensible-browser %s; nametemplate=%s.html ...
[Prev in Thread] | Current Thread | [Next in Thread] |