From unknown Sun Jun 22 11:49:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12382: Trivial change to have the 'tar' command recognize .xz files for auto-completion in the old shell mode Resent-From: "Joel Bion" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Sep 2012 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12382 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12382@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: jpbion@westvi.com Received: via spool by submit@debbugs.gnu.org id=B.134705892418111 (code B ref -1); Fri, 07 Sep 2012 23:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2012 23:02:04 +0000 Received: from localhost ([127.0.0.1]:47338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA7Yo-0004i1-UE for submit@debbugs.gnu.org; Fri, 07 Sep 2012 19:02:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA6nJ-0003XV-3U for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA6my-000296-BS for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FSL_RCVD_USER, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6my-000292-8a for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6mx-0007SC-9K for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA6mv-00028h-Qz for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:35 -0400 Received: from smtp.thesiblingrevelry.net ([173.11.83.161]:47473 helo=mailserver.thesiblingrevelry.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6mv-00028d-KP for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mailserver.thesiblingrevelry.net (Postfix) with ESMTP id 965089000E3 for ; Fri, 7 Sep 2012 15:12:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at thesiblingrevelry.net Received: from mailserver.thesiblingrevelry.net ([127.0.0.1]) by localhost (www.thesiblingrevelry.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6fiHeBWgk0Ee for ; Fri, 7 Sep 2012 15:12:04 -0700 (PDT) Received: from smtp.thesiblingrevelry.net (localhost [127.0.0.1]) by mailserver.thesiblingrevelry.net (Postfix) with ESMTP id B27DD900086 for ; Fri, 7 Sep 2012 15:12:04 -0700 (PDT) Received: from 173.11.83.169 (SquirrelMail authenticated user jpbion@westvi.com) by smtp.thesiblingrevelry.net with HTTP; Fri, 7 Sep 2012 15:12:29 -0700 Message-ID: Date: Fri, 7 Sep 2012 15:12:29 -0700 From: "Joel Bion" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Mailman-Approved-At: Fri, 07 Sep 2012 19:02:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) DESCRIPTION: Old shell mode (not E-Shell, but 'M-x shell') does not recognize '.xz' as a valid tarfile extension. This grows in annoyance as more and more archives come in this format. This simple patch fixes the problem. The change itself is five characters big; the rest is NEWS and ChangeLog. -Joel DIFFS: =3D=3D=3D modified file 'etc/ChangeLog' *** etc/ChangeLog 2012-09-04 18:28:39 +0000 --- etc/ChangeLog 2012-09-07 22:06:16 +0000 *************** *** 1,3 **** --- 1,12 ---- + 2012-09-07 Joel Bion + + Add 'xz' as part of valid tarfile regexp; this enables + nice things, such as the use of '.xz' filename + completion with the 'tar' command in the old shell. + * pcmpl-gnu.el: The file with the change. + * NEWS: Document the change. + + 2012-09-04 Paul Eggert Give more-useful info on a fatal error (Bug#12328). =3D=3D=3D modified file 'etc/NEWS' *** etc/NEWS 2012-09-07 10:26:46 +0000 --- etc/NEWS 2012-09-07 22:06:01 +0000 *************** just removing them, as done by `yank-exc *** 182,187 **** --- 182,190 ---- delete-trailing-whitespace command should delete trailing lines at the end of the buffer. It defaults to t. + + ** GNU Emacs old shell 'M-x shell' now supports the .xz extention for + tar archives used with the 'tar' command. + ** Search changes *** Global `M-s _' starts a symbol (identifier) incremental search, =3D=3D=3D modified file 'lisp/pcmpl-gnu.el' *** lisp/pcmpl-gnu.el 2012-01-24 18:10:15 +0000 --- lisp/pcmpl-gnu.el 2012-09-07 21:57:41 +0000 *************** *** 128,134 **** (pcomplete-uniqify-list rules)))) (defcustom pcmpl-gnu-tarfile-regexp ! "\\.t\\(ar\\(\\.\\(gz\\|bz2\\|Z\\)\\)?\\|gz\\|a[zZ]\\|z2\\)\\'" "A regexp which matches any tar archive." :type 'regexp :group 'pcmpl-gnu) --- 128,134 ---- (pcomplete-uniqify-list rules)))) (defcustom pcmpl-gnu-tarfile-regexp ! "\\.t\\(ar\\(\\.\\(gz\\|bz2\\|Z\\|xz\\)\\)?\\|gz\\|a[zZ]\\|z2\\)\\'" "A regexp which matches any tar archive." :type 'regexp :group 'pcmpl-gnu) From unknown Sun Jun 22 11:49:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jpbion@westvi.com Subject: bug#12382: closed (Re: bug#12382: Trivial change to have the 'tar' command recognize .xz files for auto-completion in the old shell mode) Message-ID: References: <92fw6txr6u.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 12382 X-Gnu-PR-Package: emacs Reply-To: 12382@debbugs.gnu.org Date: Sat, 08 Sep 2012 01:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1347066182-28901-1" This is a multi-part message in MIME format... ------------=_1347066182-28901-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12382: Trivial change to have the 'tar' command recognize .xz files for au= to-completion in the old shell mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12382@debbugs.gnu.org. --=20 12382: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12382 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1347066182-28901-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12382-done) by debbugs.gnu.org; 8 Sep 2012 01:02:40 +0000 Received: from localhost ([127.0.0.1]:47441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA9RY-0007Vc-41 for submit@debbugs.gnu.org; Fri, 07 Sep 2012 21:02:40 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49838) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA9RW-0007VW-GD for 12382-done@debbugs.gnu.org; Fri, 07 Sep 2012 21:02:39 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TA9RB-0004zt-HP; Fri, 07 Sep 2012 21:02:17 -0400 From: Glenn Morris To: 12382-done@debbugs.gnu.org Subject: Re: bug#12382: Trivial change to have the 'tar' command recognize .xz files for auto-completion in the old shell mode References: X-Spook: Manfurov pipeline digicash InfoSec national information X-Ran: VZI=M]7BYN(x+o}XFoba*oG9kBA0qP)E=?B0@l3hlqFZ#)5ZbQzP`$Cqv?fV&u.kKu|acR X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 07 Sep 2012 21:02:17 -0400 In-Reply-To: (Joel Bion's message of "Fri, 7 Sep 2012 15:12:29 -0700") Message-ID: <92fw6txr6u.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 12382-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Version: 24.3 Thanks; applied to emacs-24 branch. It's not worth a NEWS entry, but it can have a :version bump in the defcustom. (I have the feeling this tarfile-extension information is being stored in multiple places in Emacs.) ------------=_1347066182-28901-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Sep 2012 23:02:04 +0000 Received: from localhost ([127.0.0.1]:47338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA7Yo-0004i1-UE for submit@debbugs.gnu.org; Fri, 07 Sep 2012 19:02:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA6nJ-0003XV-3U for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA6my-000296-BS for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FSL_RCVD_USER, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6my-000292-8a for submit@debbugs.gnu.org; Fri, 07 Sep 2012 18:12:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6mx-0007SC-9K for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA6mv-00028h-Qz for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:35 -0400 Received: from smtp.thesiblingrevelry.net ([173.11.83.161]:47473 helo=mailserver.thesiblingrevelry.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA6mv-00028d-KP for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 18:12:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mailserver.thesiblingrevelry.net (Postfix) with ESMTP id 965089000E3 for ; Fri, 7 Sep 2012 15:12:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at thesiblingrevelry.net Received: from mailserver.thesiblingrevelry.net ([127.0.0.1]) by localhost (www.thesiblingrevelry.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6fiHeBWgk0Ee for ; Fri, 7 Sep 2012 15:12:04 -0700 (PDT) Received: from smtp.thesiblingrevelry.net (localhost [127.0.0.1]) by mailserver.thesiblingrevelry.net (Postfix) with ESMTP id B27DD900086 for ; Fri, 7 Sep 2012 15:12:04 -0700 (PDT) Received: from 173.11.83.169 (SquirrelMail authenticated user jpbion@westvi.com) by smtp.thesiblingrevelry.net with HTTP; Fri, 7 Sep 2012 15:12:29 -0700 Message-ID: Date: Fri, 7 Sep 2012 15:12:29 -0700 Subject: Trivial change to have the 'tar' command recognize .xz files for auto-completion in the old shell mode From: "Joel Bion" To: bug-gnu-emacs@gnu.org User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 07 Sep 2012 19:02:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: jpbion@westvi.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) DESCRIPTION: Old shell mode (not E-Shell, but 'M-x shell') does not recognize '.xz' as a valid tarfile extension. This grows in annoyance as more and more archives come in this format. This simple patch fixes the problem. The change itself is five characters big; the rest is NEWS and ChangeLog. -Joel DIFFS: =3D=3D=3D modified file 'etc/ChangeLog' *** etc/ChangeLog 2012-09-04 18:28:39 +0000 --- etc/ChangeLog 2012-09-07 22:06:16 +0000 *************** *** 1,3 **** --- 1,12 ---- + 2012-09-07 Joel Bion + + Add 'xz' as part of valid tarfile regexp; this enables + nice things, such as the use of '.xz' filename + completion with the 'tar' command in the old shell. + * pcmpl-gnu.el: The file with the change. + * NEWS: Document the change. + + 2012-09-04 Paul Eggert Give more-useful info on a fatal error (Bug#12328). =3D=3D=3D modified file 'etc/NEWS' *** etc/NEWS 2012-09-07 10:26:46 +0000 --- etc/NEWS 2012-09-07 22:06:01 +0000 *************** just removing them, as done by `yank-exc *** 182,187 **** --- 182,190 ---- delete-trailing-whitespace command should delete trailing lines at the end of the buffer. It defaults to t. + + ** GNU Emacs old shell 'M-x shell' now supports the .xz extention for + tar archives used with the 'tar' command. + ** Search changes *** Global `M-s _' starts a symbol (identifier) incremental search, =3D=3D=3D modified file 'lisp/pcmpl-gnu.el' *** lisp/pcmpl-gnu.el 2012-01-24 18:10:15 +0000 --- lisp/pcmpl-gnu.el 2012-09-07 21:57:41 +0000 *************** *** 128,134 **** (pcomplete-uniqify-list rules)))) (defcustom pcmpl-gnu-tarfile-regexp ! "\\.t\\(ar\\(\\.\\(gz\\|bz2\\|Z\\)\\)?\\|gz\\|a[zZ]\\|z2\\)\\'" "A regexp which matches any tar archive." :type 'regexp :group 'pcmpl-gnu) --- 128,134 ---- (pcomplete-uniqify-list rules)))) (defcustom pcmpl-gnu-tarfile-regexp ! "\\.t\\(ar\\(\\.\\(gz\\|bz2\\|Z\\|xz\\)\\)?\\|gz\\|a[zZ]\\|z2\\)\\'" "A regexp which matches any tar archive." :type 'regexp :group 'pcmpl-gnu) ------------=_1347066182-28901-1--