From: karl@freefriends.org (Karl Berry)
To: rgm@gnu.org
Cc: 13006@debbugs.gnu.org, schwab@linux-m68k.org
Subject: bug#13006: recognizing compressed files with arbitrary names
Date: Tue, 27 Nov 2012 23:04:34 GMT [thread overview]
Message-ID: <201211272304.qARN4Yok002350@freefriends.org> (raw)
In-Reply-To: <i9wqx6lwhk.fsf@fencepost.gnu.org>
+ (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
next prev parent reply other threads:[~2012-11-27 23:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 1:31 bug#13006: recognizing compressed files with arbitrary names Karl Berry
2012-11-27 8:50 ` Andreas Schwab
2012-11-27 18:41 ` Glenn Morris
2012-11-27 23:04 ` Karl Berry [this message]
2012-11-28 8:39 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201211272304.qARN4Yok002350@freefriends.org \
--to=karl@freefriends.org \
--cc=13006@debbugs.gnu.org \
--cc=rgm@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).