From: Werner LEMBERG <wl@gnu.org>
Subject: problem with C-x C-f
Date: Fri, 28 May 2004 17:43:31 +0200 (CEST) [thread overview]
Message-ID: <20040528.174331.193680877.wl@gnu.org> (raw)
I have a plain text file called `errata.z'. Trying to visit the file
with C-x C-f fails, giving the following message:
Error while executing "gzip -c -q -d < errata.z"
gzip: stdin: not in gzip format
This is fine, but actually how do I load this file? My intuitive try
was C-u C-x C-f, but this doesn't work. The help text for C-x C-f
doesn't give a hint either.
After checking the info files I found the function
find-file-literally. While it works, it still gives the above error
message which is irritating IMHO.
My suggestions:
. Bind C-u C-x C-f to `find-file-literally'.
. I think find-file should try harder to open a file. If a file
exists and uncompressing fails there is a high chance that the
file isn't compressed at all, so it should handle the file as
uncompressed. This status should be remembered for saving the
file.
Werner
next reply other threads:[~2004-05-28 15:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 15:43 Werner LEMBERG [this message]
2004-05-29 11:23 ` problem with C-x C-f Kai Grossjohann
2004-05-29 12:25 ` Werner LEMBERG
2004-05-30 14:31 ` Richard Stallman
2004-05-30 15:11 ` Werner LEMBERG
2004-05-30 17:03 ` Luc Teirlinck
2004-06-01 5:51 ` Werner LEMBERG
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040528.174331.193680877.wl@gnu.org \
--to=wl@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.