X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 16 Jan 2017 15:21:01 +0000 Resent-Message-ID: <handler.25458.B.148458004622957 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25458 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.148458004622957 (code B ref -1); Mon, 16 Jan 2017 15:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2017 15:20:46 +0000 Received: from localhost ([127.0.0.1]:55862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cT95S-0005yC-0x for submit <at> debbugs.gnu.org; Mon, 16 Jan 2017 10:20:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1cT95Q-0005y0-D1 for submit <at> debbugs.gnu.org; Mon, 16 Jan 2017 10:20:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pot@HIDDEN>) id 1cT95I-0000eh-WB for submit <at> debbugs.gnu.org; Mon, 16 Jan 2017 10:20:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD, T_MANY_HDRS_LCASE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <pot@HIDDEN>) id 1cT95I-0000ea-Rg for submit <at> debbugs.gnu.org; Mon, 16 Jan 2017 10:20:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <pot@HIDDEN>) id 1cT95G-0005CG-LN for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2017 10:20:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pot@HIDDEN>) id 1cT95D-0000dm-CL for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2017 10:20:34 -0500 Received: from blade3.isti.cnr.it ([194.119.192.19]:18382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <pot@HIDDEN>) id 1cT95D-0000dK-0V for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2017 10:20:31 -0500 Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #1251) with ESMTPSA id <01Q9RB7KSEG4DHT4P3@HIDDEN> for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2017 16:20:26 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.88) (envelope-from <pot@HIDDEN>) id 1cT957-0008A1-Ps for bug-gnu-emacs@HIDDEN; Mon, 16 Jan 2017 16:20:26 +0100 Date: Mon, 16 Jan 2017 16:20:25 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Message-id: <E1cT957-0008A1-Ps@HIDDEN> Organization: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -8.2 (--------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -8.2 (--------) While tar handles compressed archives without regard to their file name, Emacs cannot handle a compressed tar archive unless its file name suggests the compression type. To reproduce: $ tar -Jcf test.tar any.file.name # create a compressed tar file $ tar -tvf test.tar # verify that tar can read it $ cp test.tar test.tar.xz # create a copy If you find the files test.tar and test.tar.gz from Emacs, it will recognise the contents of the second file, but not those of the first. By looking at the comments on top of tar-mode.el, I get that it does not rely on tar to get the archive listing, but reads the archive itself, so correcting this problem does not appear straightforward to me... In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-10-24, modified by Debian built on trouble Windowing system distributor 'The X.Org Foundation', version 11.0.11900000 System Description: Debian GNU/Linux testing (stretch) Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-25.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_COLLATE: it_IT.UTF-8 value of $LC_CTYPE: it_IT.UTF-8 value of $LC_NUMERIC: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: RMAIL Minor modes in effect: global-visual-fill-column-mode: t diff-auto-refine-mode: t TeX-PDF-mode: t desktop-save-mode: t epa-global-mail-mode: t shell-dirtrack-mode: t openwith-mode: t xterm-mouse-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Recent messages: Added to /home/pot/Mail/backup/SMAIL Sending...done No following nondeleted message Expunging deleted messages...done Showing message 899... Saving file /home/pot/Mail/RMAIL... Wrote /home/pot/Mail/RMAIL [2 times] Beginning of buffer scroll-signal-boundary-error: Beginning of buffer [2 times] Mark set Load-path shadows: ~/elisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs25/site-lisp/flim/md4 hides /usr/share/emacs/25.1/lisp/md4 /usr/share/emacs25/site-lisp/flim/hex-util hides /usr/share/emacs/25.1/lisp/hex-util /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.1/lisp/textmodes/rst ~/elisp/bibtex hides /usr/share/emacs/25.1/lisp/textmodes/bibtex /usr/share/emacs25/site-lisp/flim/ntlm hides /usr/share/emacs/25.1/lisp/net/ntlm /usr/share/emacs25/site-lisp/flim/hmac-md5 hides /usr/share/emacs/25.1/lisp/net/hmac-md5 /usr/share/emacs25/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/25.1/lisp/net/sasl-ntlm /usr/share/emacs25/site-lisp/flim/sasl-digest hides /usr/share/emacs/25.1/lisp/net/sasl-digest /usr/share/emacs25/site-lisp/flim/sasl hides /usr/share/emacs/25.1/lisp/net/sasl /usr/share/emacs25/site-lisp/flim/sasl-cram hides /usr/share/emacs/25.1/lisp/net/sasl-cram /usr/share/emacs25/site-lisp/flim/hmac-def hides /usr/share/emacs/25.1/lisp/net/hmac-def /usr/share/emacs25/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs25/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs25/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs25/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs25/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs25/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs25/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs25/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs25/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs25/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs25/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs25/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs25/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs25/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs25/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs25/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs25/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs25/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs25/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs25/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs25/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf ~/elisp/bhl hides /usr/share/emacs25/site-lisp/bhl /usr/share/emacs/site-lisp/debian-startup hides /usr/share/emacs25/site-lisp/debian-startup Features: (autorevert filenotify find-dired loadhist novice wdired animate misc ruler-mode cal-x debug two-column iso-transl apropos pcmpl-gnu pcmpl-linux macros python tramp-sh tar-mode anything-config anything woman mailcap undigest cal-move smerge-mode diff doc-view vc-cvs pcmpl-unix json-mode rx cus-edit wid-edit cus-start cus-load rmailedit tabify man vc-dir ewoc tramp-cache shadow emacsbug reporter debian-bug mail-extr texmathp nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok tmm ido etags xref project ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff js json map imenu ispell log-view pp visual-fill-column locate dired-aux eieio-opt speedbar sb-image ezimage dframe find-func timezone rmailsort face-remap url-handlers nero cl rect log-edit pcvs-util add-log grep dabbrev diff-mode vc rmailkwd mailalias rmailout shr-color color time-stamp misearch multi-isearch server parse-time unrmail qp url-util shr dom subr-x browse-url jka-compr cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs bibtex info sh-script executable sgml-mode vc-filewise vc-rcs image-mode view conf-mode generic octave smie latexenc plain-tex vc-dispatcher vc-svn preview prv-emacs tex-bar tex-buf toolbar-x noutline outline font-latex latex easy-mmode edmacro kmacro tex-style tex dbus xml crm tex-mode compile rmailmm message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 desktop frameset term/xterm xterm pot skeleton rmailsum rmail warnings sendmail rfc2047 rfc2045 ietf-drums mime-compose epa-mail mail-utils epa derived epg cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-hg appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ring format-spec bhl switch-to-shell openwith hi-lock xt-mouse ffap thingatpt url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util time-date mm-util help-fns mail-prsvr password-cache url-vars scroll-in-place filladapt ansi-color advice time quail dired-x dired generic-x disp-table finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib debian-el debian-el-loaddefs w3m-load vm-autoload vm-autoloads vm-version vm-vars vm-init preview-latex tex-site auto-loads mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1182249 215902) (symbols 48 60744 50) (miscs 40 7096 4577) (strings 32 175927 29634) (string-bytes 1 5230067) (vectors 16 87336) (vector-slots 8 2213773 80796) (floats 8 1408 1017) (intervals 56 165187 8141) (buffers 976 238))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Subject: bug#25458: Acknowledgement (25.1; tar mode does not handle compressed archives without specific extensions) Message-ID: <handler.25458.B.148458004622957.ack <at> debbugs.gnu.org> References: <E1cT957-0008A1-Ps@HIDDEN> X-Gnu-PR-Message: ack 25458 X-Gnu-PR-Package: emacs Reply-To: 25458 <at> debbugs.gnu.org Date: Mon, 16 Jan 2017 15:21:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 25458 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 25458: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25458 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 14:13:01 +0000 Resent-Message-ID: <handler.25458.B25458.165245116216689 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245116216689 (code B ref 25458); Fri, 13 May 2022 14:13:01 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 14:12:42 +0000 Received: from localhost ([127.0.0.1]:44436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npW26-0004L6-4S for submit <at> debbugs.gnu.org; Fri, 13 May 2022 10:12:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1npW21-0004Kd-RX for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 10:12:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wo88+N9ND6dskHq5bTU9ya+v1chVpgmbpzGSQVEln2Y=; b=unY3fYKaNfY/OxDgdL/s0x1yv+ sBEBgbjGLBZQUjRSRaNzGpE/cx2tZZp0tz3Tf4l5yO6qHFpudRwZOrRyapeN97hCKIWSxY2MC1+Dj nA7Kxj9QeeNHQJG7yhgaCe7PfVSQcl+yv7R3ein/l9WXLitFUhZojRIb6WAMcWXYN5Ig=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1npW1r-0001RX-Q6; Fri, 13 May 2022 16:12:31 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <E1cT957-0008A1-Ps@HIDDEN> X-Now-Playing: Tom Tom Club's _Close To The Bone_: "This Is A Foxy World" Date: Fri, 13 May 2022 16:12:24 +0200 In-Reply-To: <E1cT957-0008A1-Ps@HIDDEN> ("Francesco =?UTF-8?Q?Potort=C3=AC?="'s message of "Mon, 16 Jan 2017 16:20:25 +0100") Message-ID: <87o801serb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> writes: > By looking at the comments on top of tar-mode.el, I get that it does not > rely on tar to get the archive listing, but reads the archive itself, so > correcting this problem does not appear straight [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Francesco Potort=C3=AC <pot@HIDDEN> writes: > By looking at the comments on top of tar-mode.el, I get that it does not > rely on tar to get the archive listing, but reads the archive itself, so > correcting this problem does not appear straightforward to me... (I'm going through old bug reports that unfortunately weren't resolved at the time.) If Emacs had code to automatically recognise compressed data, I guess tar-mode could decompress the buffer before it started working on it. (Does Emacs have that? I guess we could add stuff to `magic-fallback-mode-alist' or something in that region...) 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. And finally -- is this a thing that actually exists in the wild? I don't think I've ever seen a compressed tar file that didn't have a name that indicated how it was compressed. So due to both the unclear semantics and that I doubt the utility, I'm inclined to close this as a "wontfix". Anybody got any opinions? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 13 May 2022 14:13:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 13 10:13:03 2022 Received: from localhost ([127.0.0.1]:44439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npW2E-0004LV-Cw for submit <at> debbugs.gnu.org; Fri, 13 May 2022 10:13:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1npW27-0004Kw-Ns for control <at> debbugs.gnu.org; Fri, 13 May 2022 10:12:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5kKluisQ9OH24G8JUrH1q0yw1qugWwTPk+uNDBwXuIA=; b=qC+xOLYC0P0NKOqvHBjdsBA8N7 aa0hZBxEaQUHF/ADTr19zPAdqeoQXNBLDU2zS+HJi+MaIZ1lBGbeNo/otBgt0aSDE270UfyjEuFZ8 ot+5K3QdP9uThepvRGURSSRBan4c8fKcN778uxkHoMiRFpCfSsNuodTFlJUqBM/IsAxk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1npW1z-0001Rg-QQ for control <at> debbugs.gnu.org; Fri, 13 May 2022 16:12:37 +0200 Date: Fri, 13 May 2022 16:12:34 +0200 Message-Id: <87mtflser1.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #25458 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 25458 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 25458 + moreinfo quit
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 14:20:02 +0000 Resent-Message-ID: <handler.25458.B25458.165245155125871 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, pot@HIDDEN Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245155125871 (code B ref 25458); Fri, 13 May 2022 14:20:02 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 14:19:11 +0000 Received: from localhost ([127.0.0.1]:44465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npW8N-0006jC-81 for submit <at> debbugs.gnu.org; Fri, 13 May 2022 10:19:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1npW87-0006ht-5W for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 10:19:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npW81-0002Gl-TZ; Fri, 13 May 2022 10:18:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=9iMTBUyUazHYFc+EF/CNyn5cnRZCiY26hEkBPEYN8Ik=; b=LgRl4dcFqN2GWyH1a/VQ AT+DAIk0w0qwNUkZjXDmo8/ILCGK9gM3Ow47M0ryCz8hxpQJ7/X/xGpOVFe3lTSKPpLUZ4l3B++ff 2QTEVh3iu3WusQUWVDi+eZqCXIsoqPy6T8hXdUcQoR7aclkfdISlUOvkuSAG9MYGaGjlSlK0VLLeH uTN8fymOcoaSB0zD/0rfDsleeRC+TvK6KHhxpvqTBph1fgPwjCRI+YeDebcvg+50nrj6ENh+6BzPB LzgwwM+AIE1N6/DBeeVemJvVG5kmR9D2I/x9A7Va8Rvn0iIo5IcPKCKRfheO5WhmuQMI1qIc/CPnp YNzI+vl++mYwsw==; Received: from [87.69.77.57] (port=2245 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npW81-0006GP-Ci; Fri, 13 May 2022 10:18:49 -0400 Date: Fri, 13 May 2022 17:18:56 +0300 Message-Id: <83ilq9ms6n.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87o801serb.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 13 May 2022 16:12:24 +0200) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 25458 <at> debbugs.gnu.org > From: Lars Ingebrigtsen <larsi@HIDDEN> > Date: Fri, 13 May 2022 16:12:24 +0200 > > Francesco Potortì <pot@HIDDEN> writes: > > > By looking at the comments on top of tar-mode.el, I get that it does not > > rely on tar to get the archive listing, but reads the archive itself, so > > correcting this problem does not appear straightforward to me... > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > If Emacs had code to automatically recognise compressed data, I guess > tar-mode could decompress the buffer before it started working on it. > (Does Emacs have that? I guess we could add stuff to > `magic-fallback-mode-alist' or something in that region...) But decompressing means, for most compression types, running an external program on the file. Or does OP suggest that we link Emacs against libbz2, liblz4, liblzma, etc. to have these decompression methods available in core?
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 14:37:02 +0000 Resent-Message-ID: <handler.25458.B25458.165245258528057 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245258528057 (code B ref 25458); Fri, 13 May 2022 14:37:02 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 14:36:25 +0000 Received: from localhost ([127.0.0.1]:44504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npWP2-0007IS-Kr for submit <at> debbugs.gnu.org; Fri, 13 May 2022 10:36:24 -0400 Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:46790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1npWP1-0007ID-B9 for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 10:36:23 -0400 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id 9E00B108359; Fri, 13 May 2022 16:36:20 +0200 (CEST) Message-Id: <87v8u9mrdn.fsf@HIDDEN> From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Date: Fri, 13 May 2022 16:36:20 +0200 In-Reply-To: <87o801serb.fsf@HIDDEN> (larsi@HIDDEN) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20220513143620.27960.3358@HIDDEN> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) I am not saying that it's worth the trouble, and anyway I would not have the time to help working on it, sorry. However, here is some food for thought. >> By looking at the comments on top of tar-mode.el, I get that it does not >> rely on tar to get the archive listing, but reads the archive itself, so >> correcting this problem does not appear straightforward to me... > >(I'm going through old bug reports that unfortunately weren't resolved >at the time.) > >If Emacs had code to automatically recognise compressed data, I guess >tar-mode could decompress the buffer before it started working on it. >(Does Emacs have that? I guess we could add stuff to >`magic-fallback-mode-alist' or something in that region...) > >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. >And finally -- is this a thing that actually exists in the wild? I >don't think I've ever seen a compressed tar file that didn't have a name >that indicated how it was compressed. Hm, maybe it's only me, but I routinely produce tar files without any compression suffix, as tar automatically does the right thing with compressed archives (it has done for many years now). I think that adding compression suffixes to tar files is (should be?) a thing of the past. >So due to both the unclear semantics and that I doubt the utility, I'm >inclined to close this as a "wontfix". Anybody got any opinions? I definitely think that it would be useful, and the semantics is clear at least to me (I may miss things, obviously). However, that needs someone implementing it who thinks the same... -- fp
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 14:46:02 +0000 Resent-Message-ID: <handler.25458.B25458.165245314929179 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN> Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245314929179 (code B ref 25458); Fri, 13 May 2022 14:46:02 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 14:45:49 +0000 Received: from localhost ([127.0.0.1]:44508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npWY8-0007aZ-KY for submit <at> debbugs.gnu.org; Fri, 13 May 2022 10:45:48 -0400 Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:47796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1npWY6-0007aJ-Qh for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 10:45:47 -0400 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id A4D22108375; Fri, 13 May 2022 16:45:42 +0200 (CEST) Message-Id: <87tu9tmqy1.fsf@HIDDEN> From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Date: Fri, 13 May 2022 16:45:42 +0200 In-Reply-To: <83ilq9ms6n.fsf@HIDDEN> (eliz@HIDDEN) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <83ilq9ms6n.fsf@HIDDEN> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20220513144542.32562.54614@HIDDEN> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) >> Cc: 25458 <at> debbugs.gnu.org >> From: Lars Ingebrigtsen <larsi@HIDDEN> >> Date: Fri, 13 May 2022 16:12:24 +0200 >> >> Francesco Potortì <pot@HIDDEN> writes: >> >> > By looking at the comments on top of tar-mode.el, I get that it does not >> > rely on tar to get the archive listing, but reads the archive itself, so >> > correcting this problem does not appear straightforward to me... >> >> (I'm going through old bug reports that unfortunately weren't resolved >> at the time.) >> >> If Emacs had code to automatically recognise compressed data, I guess >> tar-mode could decompress the buffer before it started working on it. >> (Does Emacs have that? I guess we could add stuff to >> `magic-fallback-mode-alist' or something in that region...) > >But decompressing means, for most compression types, running an >external program on the file. Or does OP suggest that we link Emacs >against libbz2, liblz4, liblzma, etc. to have these decompression >methods available in core? If Emacs parses the tar file itself, without relying on tar, in principle it should read compressed tar files too. It could do that by using external compression tools, or more efficiently by natively handling compression. However, I think that in general this requires uncompressing the whole tar file in memory or on disk, which is against one of the main purposes stated in the inital comments of tar-mode.el.
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 15:54:01 +0000 Resent-Message-ID: <handler.25458.B25458.165245720623476 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, pot@HIDDEN Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245720623476 (code B ref 25458); Fri, 13 May 2022 15:54:01 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 15:53:26 +0000 Received: from localhost ([127.0.0.1]:44766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npXba-00066a-8J for submit <at> debbugs.gnu.org; Fri, 13 May 2022 11:53:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1npXbZ-00066K-CK for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 11:53:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m/off+QCwODDRck1nKkoDOIvREAZcF+kOg4AtFtJmTw=; b=fk5NozlcICClPWnGcUTLLxMLiH gGTB0IQc9HNa1wgnGmc3d5TKLzHFJoY/RtfaPIYOTA2qxBhNDuR0h4e/msptCkg/RoRI46ndNjUsk DX29e+1/+n6EtcLtBi4Uckrs0uAa6mOwdEnfzXbQHKJKIFF1YuWcSfdIF6TbZTSRLJvw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1npXbQ-0002Dv-J6; Fri, 13 May 2022 17:53:18 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <83ilq9ms6n.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFDQ8eE23gPK4AAAGqSURB VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+ BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MDUtMTNUMTU6MzA6MTkrMDA6MDDy2CxQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTEzVDE1 OjMwOjE5KzAwOjAwg4WU7AAAAABJRU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Nation" Date: Fri, 13 May 2022 17:53:15 +0200 In-Reply-To: <83ilq9ms6n.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 13 May 2022 17:18:56 +0300") Message-ID: <871qwx2zv8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > But decompressing means, for most compression types, running an > external program on the file. Or does OP suggest that we link Emacs > against libbz2, liblz4, liblzma, etc. to have these decompress [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > But decompressing means, for most compression types, running an > external program on the file. Or does OP suggest that we link Emacs > against libbz2, liblz4, liblzma, etc. to have these decompression > methods available in core? No, it would work just like when you read a tar.gz file -- we use external decompressors for that, too, even if we then parse the resulting tar file ourselves. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 15:56:01 +0000 Resent-Message-ID: <handler.25458.B25458.165245730923763 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245730923763 (code B ref 25458); Fri, 13 May 2022 15:56:01 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 15:55:09 +0000 Received: from localhost ([127.0.0.1]:44784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npXdE-0006BC-Uw for submit <at> debbugs.gnu.org; Fri, 13 May 2022 11:55:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1npXd6-00069y-4n for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 11:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XmQoBVu+ozyyUW2UTzqO1blBkzngVdrDvlFv6PaJi1E=; b=WvOcz/DwAorbKAgVajZZDYiNYo XaDE+kcnBLboPxNPP0nEaepCNcquhKSpKrmOlu79LkVqS+cncJF7eP/tQaPVCBDHmltGqUZYSrhzt rxjC2lYdTGaHu0Sv95EXNVjdzIoEV6dQLwMFA+ttqqGnCetxW4Wdqf7rtb+ZBN5hAd5E=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1npXcx-0002EI-Nr; Fri, 13 May 2022 17:54:54 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <87v8u9mrdn.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUFBAUnHRkyKylR RDpGNzGVg25hVEv///945FKsAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YFDQ8eE23gPK4AAAGqSURB VDjLjVRNk4IwDG1x9WwqeoZSOCMwnBU7nld39OzCbv//T9ikfFk7O2NmUNqXvCQvLYxxsMYA1swx 2a/B2SzwSXQDoHTzvB980a84d3UXuzTZgzEMQFBVDrB8TK/cAba5v2dtETHWyFN1OpXaA/P+b7V+ BQqhVdlVNbzso6Pt3Av438JT3SaFjjzgCLD7jmNlF0rOlI3UaSdhRzuZaUmjAeQglZSS3m4d7Qmv p23be2a2t0CKCMulCDM4rK59cr5phSR123Ecd2I8YFV9rfw6AjfiAkyMD06Q78dkvw8n9yx/+kli YWY+6TYAF6LSZYVsOPRgAnaXmecDlxOwIirIjKmrCk9SOgNu8vQwVeVOZ3Ucy7tZdZUxplVIFRSj x53QvF8sMPo8cC1tUWWhuqpJaqpyEGuX9+OAGECQXNxQCOehP/89gzicFZiFCqPsZ7wQygoCyegQ j/5SWiBmb5uI7RH1InhhuaR3ZIJo6NyjSqpSN9oeuMkiv8We/hhaBXygIElrs6evQPGMCHVg/MBt q84d3JiccfwsSKm0ccnQjYs1p3v4riB/wnw3K2tbAgAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjIt MDUtMTNUMTU6MzA6MTkrMDA6MDDy2CxQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTEzVDE1 OjMwOjE5KzAwOjAwg4WU7AAAAABJRU5ErkJggg== X-Now-Playing: Colourbox's _Colourbox (PolyGram)_: "Nation" Date: Fri, 13 May 2022 17:54:51 +0200 In-Reply-To: <87v8u9mrdn.fsf@HIDDEN> ("Francesco =?UTF-8?Q?Potort=C3=AC?="'s message of "Fri, 13 May 2022 16:36:20 +0200") Message-ID: <87wnep1l84.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> 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. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Francesco Potort=C3=AC <pot@HIDDEN> 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 16:03:01 +0000 Resent-Message-ID: <handler.25458.B25458.165245774424861 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, pot@HIDDEN Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165245774424861 (code B ref 25458); Fri, 13 May 2022 16:03:01 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 16:02:24 +0000 Received: from localhost ([127.0.0.1]:44830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npXkF-0006Su-Pf for submit <at> debbugs.gnu.org; Fri, 13 May 2022 12:02:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1npXkE-0006Sh-E0 for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 12:02:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npXjz-00033A-4j; Fri, 13 May 2022 12:02:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=RjcB2rw1p+iP0xxg/gKzq6i9VNLmPgoV7HgCcAST5c4=; b=F/haCod7hKGW aMtWlgCl4xrn8zzDfAcHj6XLCrtIXTQKlfdJAdLOHRjrbw+orC8289qrGcx0ccU/QaSHm1OaYaeJj V5nLTZFU1t/c1diJaj1pAcYAKz1iy1XBIuDsLLokaGKHyZh4QdMQYPetOGMJedVJulQRyzILhYE/v pToMdqaDAb3ZdCqJq/poIQUt2jIsFPgFj1gIFw+rVJzUvhbSVtwp5468M27wt5s1aTX+RFhfxxGWJ 0bHKOEHrfXHvnWljak0i00wpubf5M/SW9H4DM9BDuzfxesSYUrAJcDaKnuGlPxj2CQqpjPx89fNj0 8pV5bovor/EGyQRVGkqDeg==; Received: from [87.69.77.57] (port=4618 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npXjx-0007AM-H7; Fri, 13 May 2022 12:02:06 -0400 Date: Fri, 13 May 2022 19:02:12 +0300 Message-Id: <838rr5mnej.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <871qwx2zv8.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 13 May 2022 17:53:15 +0200) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <83ilq9ms6n.fsf@HIDDEN> <871qwx2zv8.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: pot@HIDDEN, 25458 <at> debbugs.gnu.org > Date: Fri, 13 May 2022 17:53:15 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > But decompressing means, for most compression types, running an > > external program on the file. Or does OP suggest that we link Emacs > > against libbz2, liblz4, liblzma, etc. to have these decompression > > methods available in core? > > No, it would work just like when you read a tar.gz file -- we use > external decompressors for that, too, even if we then parse the > resulting tar file ourselves. Then I guess I don't understand what is the problem we are asked to fix here. Francesco, can you explain?
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 22:19:02 +0000 Resent-Message-ID: <handler.25458.B25458.165248029322661 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165248029322661 (code B ref 25458); Fri, 13 May 2022 22:19:02 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 22:18:13 +0000 Received: from localhost ([127.0.0.1]:45246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npdbx-0005tR-5S for submit <at> debbugs.gnu.org; Fri, 13 May 2022 18:18:13 -0400 Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:33011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1npdbv-0005tG-3X for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 18:18:11 -0400 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id D815E1094D5; Sat, 14 May 2022 00:18:07 +0200 (CEST) Message-Id: <87sfpdm600.fsf@HIDDEN> From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Date: Sat, 14 May 2022 00:18:07 +0200 In-Reply-To: <87wnep1l84.fsf@HIDDEN> (larsi@HIDDEN) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <87v8u9mrdn.fsf@HIDDEN> <87wnep1l84.fsf@HIDDEN> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20220513221807.13214.51053@HIDDEN> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) >>>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. In fact, if the file was compressed, Emacs should save it compressed with the same method. >You can load bar.gz into a buffer, and write out bar, and Emacs won't >compress that. - I load bar.gz - Edit it - C-x C-s saves it with the same name, compressed with the same method Same with foo.tar.gz It should be the same with foo.tar, if foo.tar was compressed And no, there would be no way to tell Emacs to save foo.tar uncompressed. I do not think that it would be important to be able to save it uncompressed.
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 13 May 2022 22:26:02 +0000 Resent-Message-ID: <handler.25458.B25458.165248074023527 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii <eliz@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN> Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165248074023527 (code B ref 25458); Fri, 13 May 2022 22:26:02 +0000 Received: (at 25458) by debbugs.gnu.org; 13 May 2022 22:25:40 +0000 Received: from localhost ([127.0.0.1]:45251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npdj9-00067P-VX for submit <at> debbugs.gnu.org; Fri, 13 May 2022 18:25:40 -0400 Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:33673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1npdj8-00067G-3y for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 18:25:38 -0400 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id 130B71094D5; Sat, 14 May 2022 00:25:37 +0200 (CEST) Message-Id: <87r14xm5nj.fsf@HIDDEN> From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Date: Sat, 14 May 2022 00:25:36 +0200 In-Reply-To: <838rr5mnej.fsf@HIDDEN> (eliz@HIDDEN) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <83ilq9ms6n.fsf@HIDDEN> <871qwx2zv8.fsf@HIDDEN> <838rr5mnej.fsf@HIDDEN> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-PPP-Message-ID: <20220513222537.17003.48388@HIDDEN> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) >> From: Lars Ingebrigtsen <larsi@HIDDEN> >> Cc: pot@HIDDEN, 25458 <at> debbugs.gnu.org >> Date: Fri, 13 May 2022 17:53:15 +0200 >> >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> > But decompressing means, for most compression types, running an >> > external program on the file. Or does OP suggest that we link Emacs >> > against libbz2, liblz4, liblzma, etc. to have these decompression >> > methods available in core? >> >> No, it would work just like when you read a tar.gz file -- we use >> external decompressors for that, too, even if we then parse the >> resulting tar file ourselves. > >Then I guess I don't understand what is the problem we are asked to >fix here. Francesco, can you explain? If I read foo.tar into Emacs, where foo.tar was created with $ tar -Jcf foo.tar any.file.name then Emacs does not recognise it as a tar file. Instead, it should look at it, understand that it is a compressed tar file, uncompress and parse it. If asked to save it after modification, it should compress it before saving, using the same compression method that was used in the first place. Compression would be transparent to Emacs if it relied on Tar for parsing the tar file, because Tar manages compressed files transparently. But since Emacs parses the tar file itself, it should behave as Tar does, that is, uncompress the file if it was compressed in the first place, and recompress when saving it after editing.
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 14 May 2022 01:14:01 +0000 Resent-Message-ID: <handler.25458.B25458.165249081810652 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.165249081810652 (code B ref 25458); Sat, 14 May 2022 01:14:01 +0000 Received: (at 25458) by debbugs.gnu.org; 14 May 2022 01:13:38 +0000 Received: from localhost ([127.0.0.1]:45339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npgLi-0002lj-Hg for submit <at> debbugs.gnu.org; Fri, 13 May 2022 21:13:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1npgLg-0002lT-0h for 25458 <at> debbugs.gnu.org; Fri, 13 May 2022 21:13:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/Mqp5bfyAARR2+WWvOuH2koAkk80GGefbevmT+I7rtc=; b=gpSZX9psrGXhL9+oiXD071REgH KD5iRkYssfGRvZpBS6qhYLOYDxdWVR4l+yVctGGqrg3jgqjWTlYaJmcy9CV8gmNPt6TOthj4Pp6P4 MQv4M/pijGfZnSXjvRk76/1ohSN43KFUT0vtRJiHyX3DeNmn/a5nxYWmjcfkH9672DnE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1npgLV-0006i7-9i; Sat, 14 May 2022 03:13:29 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <87v8u9mrdn.fsf@HIDDEN> <87wnep1l84.fsf@HIDDEN> <87sfpdm600.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAlQTFRF 3ufvRUxR////ksLprwAAAAFiS0dEAmYLfGQAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElNRQfm BQ4BDBp043Y9AAAAXElEQVQoz83NMQ6AMAiFYV4iuwv36RFsUu5/FVvT4hts7GIi0/8NgMgvRxk2 hVODoQFksYAmeMBAkM0IuxNwo9TD2VN/ftSVgZYL0CmwBrlQGP4Ee0G3BqIa/DOcpDtIBG8aDNYA AABaZVhJZk1NACoAAAAIAAUBEgADAAAAAQABAAABGgAFAAAAAQAAAEoBGwAFAAAAAQAAAFIBKAAD AAAAAQACAAACEwADAAAAAQABAAAAAAAAAAAASAAAAAEAAABIAAAAAR9S9zQAAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjItMDUtMTRUMDE6MTI6MjYrMDA6MDB2yUEzAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIyLTA1LTE0VDAxOjEyOjI2KzAwOjAwB5T5jwAAABd0RVh0ZXhpZjpZQ2JDclBvc2l0aW9uaW5n ADGsD4BjAAAAOHRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBh Y2thcmQgQ29tcGFueflXeTcAAAAhdEVYdGljYzpkZXNjcmlwdGlvbgBzUkdCIElFQzYxOTY2LTIu MVet2kcAAAAmdEVYdGljYzptYW51ZmFjdHVyZXIASUVDIGh0dHA6Ly93d3cuaWVjLmNoHH8ATAAA ADd0RVh0aWNjOm1vZGVsAElFQyA2MTk2Ni0yLjEgRGVmYXVsdCBSR0IgY29sb3VyIHNwYWNlIC0g c1JHQkRTSKkAAAAASUVORK5CYII= X-Now-Playing: Floorplan's _Supernatural_: "Fiyaaaa!" Date: Sat, 14 May 2022 03:13:24 +0200 In-Reply-To: <87sfpdm600.fsf@HIDDEN> ("Francesco =?UTF-8?Q?Potort=C3=AC?="'s message of "Sat, 14 May 2022 00:18:07 +0200") Message-ID: <87fslcex1n.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> writes: > And no, there would be no way to tell Emacs to save foo.tar > uncompressed. I do not think that it would be important to be able to > save it uncompressed. I understand that that's your use case. I'm saying that it would be surprising to many, and that that's something that others might well want to. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Francesco Potort=C3=AC <pot@HIDDEN> writes: > And no, there would be no way to tell Emacs to save foo.tar > uncompressed. I do not think that it would be important to be able to > save it uncompressed. I understand that that's your use case. I'm saying that it would be surprising to many, and that that's something that others might well want to. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 14 May 2022 06:16:01 +0000 Resent-Message-ID: <handler.25458.B25458.16525089197257 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Cc: 25458 <at> debbugs.gnu.org, larsi@HIDDEN Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.16525089197257 (code B ref 25458); Sat, 14 May 2022 06:16:01 +0000 Received: (at 25458) by debbugs.gnu.org; 14 May 2022 06:15:19 +0000 Received: from localhost ([127.0.0.1]:45598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1npl3f-0001sz-In for submit <at> debbugs.gnu.org; Sat, 14 May 2022 02:15:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1npl3e-0001sk-BG for 25458 <at> debbugs.gnu.org; Sat, 14 May 2022 02:15:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npl3Y-0000LJ-02; Sat, 14 May 2022 02:15:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=3eKwTup+jFUk9WZZyxRnscish56R7VjshoEArVPJDCA=; b=laybLSN9BJdBsWkwwHlG XIgxeQXT87LIYRAYp+bLpkpzqJ+bj0FTHh0qotIt3AprNPCkZwe6H1HTgOLuhsrU5l69mZxVL1NQb 2xjvjJarxMA0N514PAI9L4wlzmTvxgiV1RPVwzGr/x8xxbHlPa2L+RQDZ50jMIX9mg9QnkyPpy1nn imB4O5wjqCkcNwQouIUrkn+nL7EgilYXQDdDniG6eNmySdIYE9ppuxB6GF/2L+pGVsB9DOXZK/+hg Q4zXREpQKknmU8l/VWYg5MV6MwVbNp9PpDtuRhGX0aBMAVDHdMGqArwOO/hGYvjwWd8UB3vCsGtUN ct1pPgalxDcneA==; Received: from [87.69.77.57] (port=4888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1npl3X-0006VX-Br; Sat, 14 May 2022 02:15:11 -0400 Date: Sat, 14 May 2022 09:15:19 +0300 Message-Id: <83wneoljwo.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87r14xm5nj.fsf@HIDDEN> (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Sat, 14 May 2022 00:25:36 +0200) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <83ilq9ms6n.fsf@HIDDEN> <871qwx2zv8.fsf@HIDDEN> <838rr5mnej.fsf@HIDDEN> <87r14xm5nj.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Francesco Potortì <pot@HIDDEN> > Date: Sat, 14 May 2022 00:25:36 +0200 > Cc: 25458 <at> debbugs.gnu.org, > Lars Ingebrigtsen <larsi@HIDDEN> > > >Then I guess I don't understand what is the problem we are asked to > >fix here. Francesco, can you explain? > > If I read foo.tar into Emacs, where foo.tar was created with > > $ tar -Jcf foo.tar any.file.name > > then Emacs does not recognise it as a tar file. Instead, it should look at it, understand that it is a compressed tar file, uncompress and parse it. If asked to save it after modification, it should compress it before saving, using the same compression method that was used in the first place. You could do that by using magic-mode-alist, I guess? It's just a matter of writing the FUNCTION to put into the association for the magic signatures of the compression methods you want to support. FWIW, I don't think Emacs should do this by default, because looking at the file's contents before looking at its file-name extension will slow down visiting files, and having a .tar file that is actually a .tar.xz file is quite unusual in the wild. So this sounds like your personal preference, and therefore customizing magic-mode-alist for you sounds like TRT to fulfill your personal needs. > Compression would be transparent to Emacs if it relied on Tar for parsing the tar file, because Tar manages compressed files transparently. But since Emacs parses the tar file itself, it should behave as Tar does, that is, uncompress the file if it was compressed in the first place, and recompress when saving it after editing. I don't think it's a good idea for Emacs to require Tar for visiting archives. For starters, Tar is not always available, and when it is available, it doesn't always support all the compression methods people could use. We could use bsdtar (from libarchive), which supports every archive format and compression method under the sun, but its availability is even less than that of Tar. So I think what we have now hits a good balance between functionality in the popular use cases and reliability.
X-Loop: help-debbugs@HIDDEN Subject: bug#25458: 25.1; tar mode does not handle compressed archives without specific extensions Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 16 May 2022 14:25:01 +0000 Resent-Message-ID: <handler.25458.B25458.16527110586033 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 25458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 25458 <at> debbugs.gnu.org Received: via spool by 25458-submit <at> debbugs.gnu.org id=B25458.16527110586033 (code B ref 25458); Mon, 16 May 2022 14:25:01 +0000 Received: (at 25458) by debbugs.gnu.org; 16 May 2022 14:24:18 +0000 Received: from localhost ([127.0.0.1]:54706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nqbdx-0001ZE-LR for submit <at> debbugs.gnu.org; Mon, 16 May 2022 10:24:17 -0400 Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:39849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pot@HIDDEN>) id 1nqbdv-0001Z3-JW for 25458 <at> debbugs.gnu.org; Mon, 16 May 2022 10:24:15 -0400 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id 799C5109763; Mon, 16 May 2022 16:24:12 +0200 (CEST) Message-Id: <87pmkdmu7n.fsf@HIDDEN> From: Francesco =?UTF-8?Q?Potort=C3=AC?= <pot@HIDDEN> Date: Mon, 16 May 2022 16:24:12 +0200 In-Reply-To: <87fslcex1n.fsf@HIDDEN> (larsi@HIDDEN) References: <E1cT957-0008A1-Ps@HIDDEN> <87o801serb.fsf@HIDDEN> <87v8u9mrdn.fsf@HIDDEN> <87wnep1l84.fsf@HIDDEN> <87sfpdm600.fsf@HIDDEN> <87fslcex1n.fsf@HIDDEN> Organization: The GNU project X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <20220516142412.16028.65151@HIDDEN> X-PPP-Vhost: potorti.it X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) >Francesco Potortì <pot@HIDDEN> writes: > >> And no, there would be no way to tell Emacs to save foo.tar >> uncompressed. I do not think that it would be important to be able to >> save it uncompressed. > >I understand that that's your use case. I'm saying that it would be >surprising to many, and that that's something that others might well >want to. I'll try one last time to illustrate my point of view. From Emacs: 1. I read foo.tar and I write it out as foo.tar (I don't care if it's compressed or not) 2. I read foo.tar.gz and write it out a foo.tar.gz 3. I read foo.tar.xx and write it out as foo.tar.yy, that is, with a different compression method 4. I read foo.tar.xx and write it out as foo.tar (I explicitly remove compression) 5. I read foo.tar and write it out as foo.tar.xx (I explicitly add compression) In my opinion, 1 and 2 are by far the most common use cases. My proposal is to make tar-mode.el to behave as tar does in case 1: it does not care about the name suffix, and it does the right thing whether the file is compressed or not, which has been true since 2008. You are objecting that if I read foo.tar and it's compressed, I cannot write it out uncompressed using Emacs. I think that this use case is definitely exotic. Especially with respect with people wanting to just read tar files and writing them without worrying whether they are compressed or not.
Received: (at control) by debbugs.gnu.org; 13 Jun 2022 15:36:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 13 11:36:18 2022 Received: from localhost ([127.0.0.1]:60183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1o0m70-0004jo-06 for submit <at> debbugs.gnu.org; Mon, 13 Jun 2022 11:36:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1o0m6z-0004jb-7q for control <at> debbugs.gnu.org; Mon, 13 Jun 2022 11:36:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NiWkXlUITwt5kyovQeqySuXY1cY3cGt6ltJFN7bJNMk=; b=EVCmUhge8qJeYkn8LWE2oGuZzJ mjTCMFjCphQfPFlX+Wyjhi0MhM5YHmcDSI9lhwIzy4/2l/etx1P8mqdwuD33ixaE2JeXukfs9KyBQ eFb5p+TgMUZsx3Yx7vYlYW6aENmsJZTlC7zW3F9tsScalP/V64Z4xsCmJlWKHXT5fKS8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1o0m6r-0001dE-84 for control <at> debbugs.gnu.org; Mon, 13 Jun 2022 17:36:11 +0200 Date: Mon, 13 Jun 2022 17:36:08 +0200 Message-Id: <871qvsr2xj.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #25458 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 25458 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 25458 - moreinfo quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.