all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Francesco Potortì" <pot@gnu.org>
Cc: 25458@debbugs.gnu.org
Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions
Date: Fri, 13 May 2022 17:54:51 +0200	[thread overview]
Message-ID: <87wnep1l84.fsf@gnus.org> (raw)
In-Reply-To: <87v8u9mrdn.fsf@tucano.isti.cnr.it> ("Francesco Potortì"'s message of "Fri, 13 May 2022 16:36:20 +0200")

Francesco Potortì <pot@gnu.org> writes:

>>But I think the question is -- do we want to support this?  I'm not
>>quite sure -- it would be pretty unusual for a mode to do something like
>>this, and it's not clear what the semantics should be.  That is, if
>>we're saving the tar buffer afterwards, should it be compressed or not?
>>Either option would surprise somebody.
>
> Not really.  If I read a compressed file, Emacs uncompresses it when
> loading it to a buffer, then you can edit it and save it.  Compression
> and decompression are transparent.  I use this feature quite often,
> and so I am led to expect it of compressed archives too.  If it was
> compressed to begin with, it should be saved compressed too.

But the file name is "foo.tar" -- there'd be no way to tell Emacs that
the user wants to save that uncompressed.

You can load bar.gz into a buffer, and write out bar, and Emacs won't
compress that.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-05-13 15:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 15:20 bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Francesco Potortì
2022-05-13 14:12 ` Lars Ingebrigtsen
2022-05-13 14:18   ` Eli Zaretskii
2022-05-13 14:45     ` Francesco Potortì
2022-05-13 15:53     ` Lars Ingebrigtsen
2022-05-13 16:02       ` Eli Zaretskii
2022-05-13 22:25         ` Francesco Potortì
2022-05-14  6:15           ` Eli Zaretskii
2022-05-13 14:36   ` Francesco Potortì
2022-05-13 15:54     ` Lars Ingebrigtsen [this message]
2022-05-13 22:18       ` Francesco Potortì
2022-05-14  1:13         ` Lars Ingebrigtsen
2022-05-16 14:24           ` Francesco Potortì

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=87wnep1l84.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25458@debbugs.gnu.org \
    --cc=pot@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.