From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2807: Subject: 23.0.90; etags can't access .el.gz files Date: Thu, 06 Oct 2011 21:52:29 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317952384 23350 80.91.229.12 (7 Oct 2011 01:53:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 01:53:04 +0000 (UTC) Cc: MON KEY , 2807@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 03:53:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBzcR-0004CF-9z for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2011 03:52:59 +0200 Original-Received: from localhost ([::1]:34725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBzcM-00023c-Fh for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 21:52:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBzcJ-00023L-G3 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 21:52:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBzcI-0005OI-Hr for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 21:52:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBzcI-0005Ms-BF for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 21:52:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBzcT-0001vk-Ka for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 21:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2011 01:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2807 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 2807-submit@debbugs.gnu.org id=B2807.13179523727400 (code B ref 2807); Fri, 07 Oct 2011 01:53:01 +0000 Original-Received: (at 2807) by debbugs.gnu.org; 7 Oct 2011 01:52:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBzcJ-0001vJ-TE for submit@debbugs.gnu.org; Thu, 06 Oct 2011 21:52:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBzcE-0001v4-N1 for 2807@debbugs.gnu.org; Thu, 06 Oct 2011 21:52:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPVajk7O+JxS/2dsb2JhbABDqDeBBoFTAQEEAVYjBQsLFx0SFBgNEAEFDi6HY7gFhywEoQyERA X-IronPort-AV: E=Sophos;i="4.68,499,1312171200"; d="scan'208";a="140211562" Original-Received: from 206-248-156-82.dsl.teksavvy.com (HELO ceviche.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Oct 2011 21:52:29 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2BA2E663BE; Thu, 6 Oct 2011 21:52:29 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 07 Oct 2011 00:05:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 21:53:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52341 Archived-At: >>> I think that the solution should be that etags.el cares about looking >>> for possible compressed versions of file names contained in TAGS file. >> Please share the code with info.el which does that for its files. > Are you thinking of this bit? > (defvar Info-suffix-list > ;; The MS-DOS list should work both when long file names are > ;; supported (Windows 9X), and when only 8+3 file names are available. > (if (eq system-type 'ms-dos) > '( (".gz" . "gunzip") > (".z" . "gunzip") > [...] > '( (".info.Z" . "uncompress") > (".info.Y" . "unyabba") > (".info.gz" . "gunzip") > (".info.z" . "gunzip") > (".info.bz2" . ("bzip2" "-dc")) > (".info.xz" . "unxz") > (".info" . nil) > ("-info.Z" . "uncompress") > ("-info.Y" . "unyabba") Yes. > etc etc etc. Is this even necessary in Info? It's just as necessary as it is for etags: without it, Info won't find the compressed files. > Doesn't jka-compr know all about this already? jka-compr knows how to decompress the main ones, yes. But not all of them, and (more importantly) it doesn't know how to look for them. Stefan