GNU bug report logs - #13006
recognizing compressed files with arbitrary names

Previous Next

Package: emacs;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Tue, 27 Nov 2012 01:34:01 UTC

Severity: wishlist

Full log


Message #16 received at 13006 <at> debbugs.gnu.org (full text, mbox):

From: karl <at> freefriends.org (Karl Berry)
To: rgm <at> gnu.org
Cc: 13006 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#13006: recognizing compressed files with arbitrary names
Date: Tue, 27 Nov 2012 23:04:34 GMT
    +   (setq filename (file-name-sans-versions filename))

Thanks.

    There's a separate question of handling arbitrarily named compressed
    files via magic-fallback-mode-alist or somesuch.

Right.  The backup versions was just an example of problematic names.
Though it's certainly good to have that fixed.

There's also the (potentially related) question of making it possible
for users to tell Emacs "this is a compressed file".  Regardless of the
method(s) used to detect compression, this seems like it would be
useful.  I have plenty of times been forced to decompress files outside
of Emacs and then visit the plain file.  Clearly it's not the end of the
world to do that, but ...

If you want me to send separate reports for either or both of those
things, let me know.  

Thanks,
k




This bug report was last modified 12 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.