unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* problem with C-x C-f
@ 2004-05-28 15:43 Werner LEMBERG
  2004-05-29 11:23 ` Kai Grossjohann
  2004-05-30 14:31 ` Richard Stallman
  0 siblings, 2 replies; 7+ messages in thread
From: Werner LEMBERG @ 2004-05-28 15:43 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-06-01  5:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 15:43 problem with C-x C-f Werner LEMBERG
2004-05-29 11:23 ` 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

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).