Juri Linkov <[EMAIL PROTECTED]> writes:

> But wouldn't it be better instead of these extension to add ZIP magic
> string "PK^C^D" to `magic-mode-alist' to recognize archive files for
> any possible extension?

Yes, in principle (like compressed files), but please don't mess with
that now.  I doubt using the extensions causes many false positives,
and I had trouble trying to do differently with PGP files.

> The only problem I see is that archive files
> should have `no-conversion' property in `auto-coding-alist' to open
> correctly in Archive mode.  Maybe Archive mode should always revisit
> files with `no-conversion' when archive-mode was called by rules in
> `magic-mode-alist'.

The mechanism for doing coding conversion on the basis of file
contents is `auto-coding-regexp-alist' as far as I know.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to