GNU bug report logs - #2807
Subject: 23.0.90; etags can't access .el.gz files

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: MON KEY <monkey@HIDDEN>; Keywords: confirmed; dated Sat, 28 Mar 2009 03:45:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 7 Oct 2011 14:39:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 10:39:04 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RCBZm-0000y5-Uj
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2011 10:39:04 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1RCBZi-0000xa-3C
	for 2807 <at> debbugs.gnu.org; Fri, 07 Oct 2011 10:39:00 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1RCBZH-0008Sq-8u; Fri, 07 Oct 2011 16:38:31 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
In-Reply-To: <jwvsjn5hr0q.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
	of "Fri, 07 Oct 2011 09:29:06 -0400")
Date: Fri, 07 Oct 2011 16:38:01 +0200
Message-ID: <m3vcs0euk6.fsf@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
	<jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
	<m3lisxhj21.fsf@HIDDEN>
	<jwv4nzla7u4.fsf-monnier+emacs@HIDDEN>
	<m3sjn5umik.fsf@HIDDEN>
	<jwvsjn5hr0q.fsf-monnier+emacs@HIDDEN>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/fnjmCv++/GJCQuo
	VRT68+Xv16H99+yngR9IAAACeElEQVQ4jXWUTW+jMBCGLaR2r+vGYa/U0pYzMs2ekQ29JjTG100a
	nGvXWuK/v+8Y6PbSkUAJD/P1ega2Z1/YPv63aXLWxRikLBjrJ0vmo13MAUSQ5GGjmYZeHo3pXJRk
	BevhGy9OH8WDfFOqspFile/MOoQUXHPTcKG7Uc62AqGMrg0unvu+DGUCkmX8okxNoOKcb1ePgn3L
	L0rXegG5lGUomO1ZduJCKUXAzEDGPXPFnReeA9ScGwI/ikyWe9YXd9exnEx36awd/Inzc8ESQG5Z
	fvQNQ5WzB2OSdFoFiTfP8yt5gEcHl8lu6PnEyQACNJvcNOhxUCMEOSTwm/VJRDto9QwwtLMD/06y
	U3iNDhvFtepm8MDckVoYdKOpRfyuVgCtlRpPeJmsho4LeKX/28MCKgEP0aQcwyn3DqAmvVIg3FHV
	rTaqRZG60ghUcZ/Afk5eJSBUpRs+QtFqRIN/AXbhNr5VXDV49zoJtbMAN+/9tZDlGzwoyPXGZzAh
	tz9n8jWBHYBQz3YJpXZSHqkq1Q4OoCVwTKDIFgDZhdqmHGjIbAGqDcoF+COgMp1HiRPBdB9Sjpco
	VxBkgUMs2AWhGt0GgHoGxbwPlyTJL5zU6rEA6qPWL4HANeVYwE9/UK13UhKYPgGWPSqa8PKwqccE
	5gxnxp66SFtz2sw5ksO9bmmoStoZAnEB2dFwwQ33IwZrBQj1hN45hr3BRBOoraNyGXvkWIAZbANC
	1S6+Jw8AUxuBJWjy+AEChTKmMrgJWufJ5wFb69D5PZ513mI5mpbGGtd7ajAbh6bFzEfrrU2fjASo
	wywtd1oSaj7SDoYPEMq0PQEcknz1WfoH/Y0IFN3803cAAAAASUVORK5CYII=
X-Now-Playing: =?iso-8859-1?Q?L=F8ver?= & Tigre's _Grrr... & Live at
	=?iso-8859-1?Q?H=F8vikodden=5F=3A?= "Tomahawk, dada, kontor"
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1RCBZH-0008Sq-8u
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1318603112.16702@BqYW20pPqdZvFmXxVXYafA
X-Spam-Status: No
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 2807
Cc: MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Stefan Monnier <monnier@HIDDEN> writes:

> As I said it "knows how to decompress the main ones, yes".

If you remove all the duplicates, it boils down to this list:

       (".Z"         . "uncompress")
       (".Y"         . "unyabba")
       (".gz"        . "gunzip")
       (".z"         . "gunzip")
       (".bz2"       . ("bzip2" "-dc"))
       (".xz"        . "unxz")

The only one that jka-compr doesn't handle is "unyabba", which I've
never heard of.  Neither has Debian, apparently...

[larsi@stories /tmp]$ apt-cache search yabba

> It doesn't do all of them because ... I don't know why.  My guess is
> that there's a subtle risk of jka-compr applying when it shouldn't, so
> we prefer to only use it when we're pretty sure the name implies it is
> a compressed file.

My guess is that this is just stuff that somebody forgot to remove once
jka-compr was written.  :-)

>> So I would suggest writing some code in jka-compr that would allow
>> jka-compr to look for compressed files, too (given a regexp), and then
>> etags could use that, and info.el could be converted (after Emacs 24.1)
>> to use that, too.
>
> That sounds right.

Ok, I'll take a whack at adding the "search for compressed files"
functionality to jka-compr, and fixing etags.el by using that.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 7 Oct 2011 13:29:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 09:29:29 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RCAUT-0007Ha-0Z
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2011 09:29:29 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]
	helo=ironport2-out.pppoe.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1RCAUQ-0007HK-TW
	for 2807 <at> debbugs.gnu.org; Fri, 07 Oct 2011 09:29:27 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EABz+jk7O+JxS/2dsb2JhbABEqDyBBoFTAQEEAVYjBQsLFx0SFBgNFg6IEbkEhzEEoQ6ERQ
X-IronPort-AV: E=Sophos;i="4.68,502,1312171200"; d="scan'208";a="140244580"
Received: from 206-248-156-82.dsl.teksavvy.com (HELO pastel.home)
	([206.248.156.82])
	by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA;
	07 Oct 2011 09:29:06 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 62742592D6; Fri,  7 Oct 2011 09:29:06 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
Message-ID: <jwvsjn5hr0q.fsf-monnier+emacs@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
	<jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
	<m3lisxhj21.fsf@HIDDEN>
	<jwv4nzla7u4.fsf-monnier+emacs@HIDDEN>
	<m3sjn5umik.fsf@HIDDEN>
Date: Fri, 07 Oct 2011 09:29:06 -0400
In-Reply-To: <m3sjn5umik.fsf@HIDDEN> (Lars Magne Ingebrigtsen's
	message of "Fri, 07 Oct 2011 12:25:07 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 2807
Cc: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>,
	MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.7 (--)

>>> (".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.

> Sorry; I was unclear.  I meant: Doesn't jka-compr know how to uncompress
> all these files already?

As I said it "knows how to decompress the main ones, yes".

> And if not -- why not?

It doesn't do all of them because ... I don't know why.  My guess is
that there's a subtle risk of jka-compr applying when it shouldn't, so
we prefer to only use it when we're pretty sure the name implies it is
a compressed file.

> Finding the files is a different issue, and since the file name list
> contains "info" in all the names, there isn't much potential for reuse
> by etags.

Wholesale reuse, no, indeed.  But the compression-extension part, yes.

> So I would suggest writing some code in jka-compr that would allow
> jka-compr to look for compressed files, too (given a regexp), and then
> etags could use that, and info.el could be converted (after Emacs 24.1)
> to use that, too.

That sounds right.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 7 Oct 2011 10:31:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 06:31:27 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RC7i9-0000nZ-0y
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2011 06:31:27 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1RC7i5-0000nO-H0
	for 2807 <at> debbugs.gnu.org; Fri, 07 Oct 2011 06:31:23 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1RC7hk-0000iU-OD; Fri, 07 Oct 2011 12:31:00 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
In-Reply-To: <jwv4nzla7u4.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
	of "Thu, 06 Oct 2011 21:52:29 -0400")
Date: Fri, 07 Oct 2011 12:25:07 +0200
Message-ID: <m3sjn5umik.fsf@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
	<jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
	<m3lisxhj21.fsf@HIDDEN>
	<jwv4nzla7u4.fsf-monnier+emacs@HIDDEN>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/fnjmCv++/GJCQuo
	VRT68+Xv16H99+yngR9IAAACeElEQVQ4jXWUTW+jMBCGLaR2r+vGYa/U0pYzMs2ekQ29JjTG100a
	nGvXWuK/v+8Y6PbSkUAJD/P1ega2Z1/YPv63aXLWxRikLBjrJ0vmo13MAUSQ5GGjmYZeHo3pXJRk
	BevhGy9OH8WDfFOqspFile/MOoQUXHPTcKG7Uc62AqGMrg0unvu+DGUCkmX8okxNoOKcb1ePgn3L
	L0rXegG5lGUomO1ZduJCKUXAzEDGPXPFnReeA9ScGwI/ikyWe9YXd9exnEx36awd/Inzc8ESQG5Z
	fvQNQ5WzB2OSdFoFiTfP8yt5gEcHl8lu6PnEyQACNJvcNOhxUCMEOSTwm/VJRDto9QwwtLMD/06y
	U3iNDhvFtepm8MDckVoYdKOpRfyuVgCtlRpPeJmsho4LeKX/28MCKgEP0aQcwyn3DqAmvVIg3FHV
	rTaqRZG60ghUcZ/Afk5eJSBUpRs+QtFqRIN/AXbhNr5VXDV49zoJtbMAN+/9tZDlGzwoyPXGZzAh
	tz9n8jWBHYBQz3YJpXZSHqkq1Q4OoCVwTKDIFgDZhdqmHGjIbAGqDcoF+COgMp1HiRPBdB9Sjpco
	VxBkgUMs2AWhGt0GgHoGxbwPlyTJL5zU6rEA6qPWL4HANeVYwE9/UK13UhKYPgGWPSqa8PKwqccE
	5gxnxp66SFtz2sw5ksO9bmmoStoZAnEB2dFwwQ33IwZrBQj1hN45hr3BRBOoraNyGXvkWIAZbANC
	1S6+Jw8AUxuBJWjy+AEChTKmMrgJWufJ5wFb69D5PZ513mI5mpbGGtd7ajAbh6bFzEfrrU2fjASo
	wywtd1oSaj7SDoYPEMq0PQEcknz1WfoH/Y0IFN3803cAAAAASUVORK5CYII=
X-Now-Playing: =?iso-8859-1?Q?L=F8ver?= & Tigre's _Grrr... & Live at
	=?iso-8859-1?Q?H=F8vikodden=5F=3A?= "Intro + (Tema fra)
	=?iso-8859-1?Q?L?= =?iso-8859-1?Q?=F8ver?= & Tigre"
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1RC7hk-0000iU-OD
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1318588260.95963@eZpd/0GKZ0oXfJP6F9jR+Q
X-Spam-Status: No
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 2807
Cc: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>,
	MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Stefan Monnier <monnier@HIDDEN> writes:

>>        (".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.

Sorry; I was unclear.  I meant: Doesn't jka-compr know how to uncompress
all these files already?

And if not -- why not?

Finding the files is a different issue, and since the file name list
contains "info" in all the names, there isn't much potential for reuse
by etags.

So I would suggest writing some code in jka-compr that would allow
jka-compr to look for compressed files, too (given a regexp), and then
etags could use that, and info.el could be converted (after Emacs 24.1)
to use that, too.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 7 Oct 2011 01:52:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 21:52:52 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RBzcJ-0001vJ-TE
	for submit <at> debbugs.gnu.org; Thu, 06 Oct 2011 21:52:52 -0400
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 <monnier@HIDDEN>) id 1RBzcE-0001v4-N1
	for 2807 <at> 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"
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
Received: by ceviche.home (Postfix, from userid 20848)
	id 2BA2E663BE; Thu,  6 Oct 2011 21:52:29 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
Message-ID: <jwv4nzla7u4.fsf-monnier+emacs@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
	<jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
	<m3lisxhj21.fsf@HIDDEN>
Date: Thu, 06 Oct 2011 21:52:29 -0400
In-Reply-To: <m3lisxhj21.fsf@HIDDEN> (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)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 2807
Cc: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>,
	MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.7 (--)

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 6 Oct 2011 22:14:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 18:14:54 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RBwDO-0002uZ-Hb
	for submit <at> debbugs.gnu.org; Thu, 06 Oct 2011 18:14:54 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1RBwDL-0002uM-VJ
	for 2807 <at> debbugs.gnu.org; Thu, 06 Oct 2011 18:14:53 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1RBwD4-0002y3-9n; Fri, 07 Oct 2011 00:14:34 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
In-Reply-To: <jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
	of "Tue, 13 Sep 2011 14:09:49 -0400")
Date: Fri, 07 Oct 2011 00:05:58 +0200
Message-ID: <m3lisxhj21.fsf@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
	<jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)
X-Now-Playing: Clogs's _The Creatures in the Garden of Lady Walton_: "Red Seas"
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1RBwD4-0002y3-9n
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1318544074.39318@EKfQLF0WNv4fHVIbrhjTHQ
X-Spam-Status: No
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 2807
Cc: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>,
	MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Stefan Monnier <monnier@HIDDEN> writes:

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

etc etc etc.  Is this even necessary in Info?  Doesn't jka-compr know
all about this already?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 13 Sep 2011 18:32:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 14:32:36 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R3Xmd-0004RJ-R8
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2011 14:32:36 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1R3Xma-0004RA-D0
	for 2807 <at> debbugs.gnu.org; Tue, 13 Sep 2011 14:32:33 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1R3Xi8-0000U2-Pj; Tue, 13 Sep 2011 20:27:56 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
In-Reply-To: <E1R3RW1-000613-1i@HIDDEN> ("Francesco
	\=\?iso-8859-1\?Q\?Potort\=EC\=22's\?\=
	message of "Tue, 13 Sep 2011 13:51:01 +0200")
Date: Tue, 13 Sep 2011 20:24:36 +0200
Message-ID: <m362kw5mhn.fsf@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUPJh5CWFUJHBYHEA8Z
	MCoFFQ8tPUfwAAACTElEQVQ4jW2UTXPjIAyGZYrvcZbeFQXfO2b3DkS5Z6j5/39lX9lOJp2pLtg8
	6FtAQcv0m5Du8gtwROTIq5KQw6L2PSm5uQkEP9JFYCBLW3gK5KSzE4mqbhZohIxjBFNY2XFnAJjC
	kllYykTVQ72QloDVWRyDL95M6RCg6Ev2ARtFNWoZDLhHVmIPVgewoD5PUSeizkQDjBsQHXAqBwZw
	pZ7L5HiQWC+sMavQycP4WNtZmwyxxvuFQ6w6P84DwnE9nuZV9HFuY5EzgPw9EVw6RSBFT/GkGvyf
	oiGWisIiJyRGXB/Va43VSyZLB6ChRHOHtB7xlRp5QVrkxo5SzW0Hi6TEkcSAdELZWgNgWfgqiTdQ
	eQYU2YwJFOZv6wI02owWbfsd3q4ppYXNx72Jtwg2gR3Il+PNB6KVfpDlulzT8gIIdwffi5nCSYBM
	aGI/5NssLbTlEayn+/bYPgwk2ZyHonncMu+8wtBigElt4GjeAT1SMmNIk8oGjjQ8QDIleN+Bm9+c
	L1YT/wtIsocLkH+ClCjjdDCNH3mkq43wex6Hj2W5TBg49fra75tCS5ftfrAXeQeIl4sBeoL5BS7H
	VXNvzv8Z20AIE8J97GNiqcvXDuwi+nntp3usfZV649Vc7KCI7/eKXq18u4mXAwTMYx7vfdUW6Xar
	cTtsANfI3e/jo3OUj1te/VMjlJIrfUrGJeHPHGl4Au991dHnVVldjfGpgSoS27R1ZsHgyuUJFKMi
	NvP2eLgXmLZXxl6UmTRrznl45nG8QDnjRUGPtofqP8w6xHem7AyKAAAAAElFTkSuQmCC
X-Now-Playing: Grace Jones's _Sexdrive - Typical Male_: "Sex Drive (Dominatrix
	Mix)"
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MailScanner-ID: 1R3Xi8-0000U2-Pj
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1316543277.05157@cV3vWJ8sRmp2kaY3C2IWgA
X-Spam-Status: No
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 2807
Cc: MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.7 (--)

Francesco Potort=EC <pot@HIDDEN> writes:

> Etags manages compressed files so that the generated TAGS file contains
> the uncompressed file name, independently of whether the file on disk is
> compressed or not.

If etags just put the real file name (i.e., foo.el.gz) into the TAGS
file, then Emacs would do the right thing automatically.

But having etags.el look for compressed versions of the files
automatically would probably be even nicer.

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 13 Sep 2011 18:14:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 14:14:21 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R3XUy-0002RN-QX
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2011 14:14:21 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1R3XUw-0002RG-LC
	for 2807 <at> debbugs.gnu.org; Tue, 13 Sep 2011 14:14:19 -0400
Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca
	[132.204.27.242])
	by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p8DI9nQQ011008; 
	Tue, 13 Sep 2011 14:09:49 -0400
Received: by faina.iro.umontreal.ca (Postfix, from userid 20848)
	id A350713007E; Tue, 13 Sep 2011 14:09:49 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Francesco =?iso-8859-1?Q?Potort=EC?= <pot@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
Message-ID: <jwvvcsw5n8z.fsf-monnier+emacs@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
	<E1R3RW1-000613-1i@HIDDEN>
Date: Tue, 13 Sep 2011 14:09:49 -0400
In-Reply-To: <E1R3RW1-000613-1i@HIDDEN> ("Francesco
	\=\?iso-8859-1\?Q\?Potort\=EC\=22's\?\=
	message of "Tue, 13 Sep 2011 13:51:01 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV3979=0
X-NAI-Spam-Version: 2.2.0.9286 : core <3979> : streams <681265> : uri <958593>
X-Spam-Score: -2.0 (--)
X-Debbugs-Envelope-To: 2807
Cc: Lars Magne Ingebrigtsen <larsi@HIDDEN>, MON KEY <monkey@HIDDEN>,
	2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.0 (--)

> I seem to remember that in past times Emacs was able to do that when
> jka-compr was loaded, but I may be wrong.

IIRC the unbundled version of jka-compr included such a feature, but not
the one bundled with Emacs.

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


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 13 Sep 2011 11:56:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 07:56:04 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R3Rat-0007iU-St
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2011 07:56:04 -0400
Received: from blade3.isti.cnr.it ([194.119.192.19])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <pot@HIDDEN>) id 1R3Rar-0007i4-F8
	for 2807 <at> debbugs.gnu.org; Tue, 13 Sep 2011 07:56:02 -0400
Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102])
	by mx.isti.cnr.it (PMDF V6.5-x5 #31826)
	with ESMTPSA id <01O60955UQCUXJFIXO@HIDDEN> for
	2807 <at> debbugs.gnu.org; Tue, 13 Sep 2011 13:51:01 +0200 (MEST)
Received: from pot by tucano.isti.cnr.it with local (Exim 4.76)
	(envelope-from <pot@HIDDEN>)	id 1R3RW1-000613-1i; Tue,
	13 Sep 2011 13:51:01 +0200
Date: Tue, 13 Sep 2011 13:51:01 +0200
From: Francesco =?utf-8?Q?Potort=C3=AC?= <pot@HIDDEN>
Subject: Re: bug#2807: Subject: 23.0.90; etags can't access .el.gz files
In-reply-to: <m3y5xuengl.fsf@HIDDEN>
To: Lars Magne Ingebrigtsen <larsi@HIDDEN>
Message-id: <E1R3RW1-000613-1i@HIDDEN>
Organization: 
X-INSM-ip-source: 146.48.81.102 Auth Done
X-fingerprint: 4B02 6187 5C03 D6B1 2E31  7666 09DF 2DC9 BE21 6115
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
	<m3y5xuengl.fsf@HIDDEN>
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 2807
Cc: MON KEY <monkey@HIDDEN>, 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.9 (--)

>MON KEY <monkey@HIDDEN> writes:
>
>> in dir /usr/share/emacs/23.0.90/lisp
>> M-x shell:
>> bash-3.1$ etags ./*.el.gz
>>
>> when true:
>> (equal tags-file-name "/usr/share/emacs/23.0.90/lisp/TAGS")
>>
>> M-x tags-search
>> tags-search
>>
>> I get this error:
>> `next-file: Opening input file: no such file or directory,
>> /usr/share/emacs/23.0.90/lisp/abbrev.el'
>
>I can confirm that this bug is still present in Emacs 24.
>
>The problem is simply that etags puts the non-gz file name in the TAGS
>file.  Like this:
>
>font-core.el,502
>
>Which means that Emacs isn't able to find the font-core.el.gz file.

Etags manages compressed files so that the generated TAGS file contains
the uncompressed file name, independently of whether the file on disk is
compressed or not.

The rationale for this behaviour is that the TAGS file does not contain
info about the compression status of a file.  This makes sense in the
case that when you use an editor you either have an uncompressed file on
disk or your editor is capable of finding the compressed version given
the uncompressed name.

I seem to remember that in past times Emacs was able to do that when
jka-compr was loaded, but I may be wrong.  I think that the solution
should be that etags.el cares about looking for possible compressed
versions of file names contained in TAGS file.

By the way, the xz compressor should be added to the list of known
compressors in etags.c, and the doc strings, man page and info updated
accordingly.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.
Added tag(s) confirmed. Request was from Lars Magne Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 2807 <at> debbugs.gnu.org:


Received: (at 2807) by debbugs.gnu.org; 11 Sep 2011 22:21:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 18:21:57 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R2sPT-00087K-U2
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2011 18:21:56 -0400
Received: from hermes.netfonds.no ([80.91.224.195])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <larsi@HIDDEN>) id 1R2sPR-000877-GD
	for 2807 <at> debbugs.gnu.org; Sun, 11 Sep 2011 18:21:54 -0400
Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@HIDDEN>)
	id 1R2sLB-0002eO-8R; Mon, 12 Sep 2011 00:17:29 +0200
From: Lars Magne Ingebrigtsen <larsi@HIDDEN>
To: MON KEY <monkey@HIDDEN>
Subject: Re: Subject: 23.0.90; etags can't access .el.gz files
In-Reply-To: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN> (MON
	KEY's message of "Fri, 27 Mar 2009 23:39:58 -0400")
Date: Mon, 12 Sep 2011 00:14:18 +0200
Message-ID: <m3y5xuengl.fsf@HIDDEN>
References: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)
X-Now-Playing: Alasdair Roberts's _Spoils_: "Under No Enchantment (But My Own)"
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1R2sLB-0002eO-8R
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1316384249.35356@x4AV6V60bOC0SeoBh1bScQ
X-Spam-Status: No
X-Spam-Score: -2.7 (--)
X-Debbugs-Envelope-To: 2807
Cc: 2807 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.7 (--)

MON KEY <monkey@HIDDEN> writes:

> in dir /usr/share/emacs/23.0.90/lisp
> M-x shell:
> bash-3.1$ etags ./*.el.gz
>
> when true:
> (equal tags-file-name "/usr/share/emacs/23.0.90/lisp/TAGS")
>
> M-x tags-search
> tags-search
>
> I get this error:
> `next-file: Opening input file: no such file or directory,
> /usr/share/emacs/23.0.90/lisp/abbrev.el'

I can confirm that this bug is still present in Emacs 24.

The problem is simply that etags puts the non-gz file name in the TAGS
file.  Like this:

font-core.el,502

Which means that Emacs isn't able to find the font-core.el.gz file.

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#2807; Package emacs. Full text available.
bug reassigned from package 'emacs' to 'emacs,etags'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 28 Mar 2009 03:40:09 +0000
From stan@HIDDEN Fri Mar 27 20:40:08 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=1.6 required=4.0 tests=FOURLA,MONEY,STOCKLIKE
	autolearn=no version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2S3e4Si014852
	for <submit@HIDDEN>; Fri, 27 Mar 2009 20:40:05 -0700
Received: from mx10.gnu.org ([199.232.76.166]:49727)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <stan@HIDDEN>)
	id 1LnPOt-00024X-Ji
	for emacs-pretest-bug@HIDDEN; Fri, 27 Mar 2009 23:40:03 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <stan@HIDDEN>)
	id 1LnPOq-0001M1-2U
	for emacs-pretest-bug@HIDDEN; Fri, 27 Mar 2009 23:40:03 -0400
Received: from yx-out-1718.google.com ([74.125.44.156]:30506)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <stan@HIDDEN>)
	id 1LnPOp-0001Lr-Q6
	for emacs-pretest-bug@HIDDEN; Fri, 27 Mar 2009 23:39:59 -0400
Received: by yx-out-1718.google.com with SMTP id 3so888370yxi.66
        for <emacs-pretest-bug@HIDDEN>; Fri, 27 Mar 2009 20:39:58 -0700 (PDT)
MIME-Version: 1.0
Sender: stan@HIDDEN
Received: by 10.151.11.19 with SMTP id o19mr5412763ybi.98.1238211598306; Fri, 
	27 Mar 2009 20:39:58 -0700 (PDT)
Date: Fri, 27 Mar 2009 23:39:58 -0400
X-Google-Sender-Auth: f8db4ee94627d12a
Message-ID: <d2afcfda0903272039h5546288qdfefef20b82bb91c@HIDDEN>
Subject: Subject: 23.0.90; etags can't access .el.gz files
From: MON KEY <monkey@HIDDEN>
To: emacs-pretest-bug@HIDDEN
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

in dir /usr/share/emacs/23.0.90/lisp
M-x shell:
bash-3.1$ etags ./*.el.gz

when true:
(equal tags-file-name "/usr/share/emacs/23.0.90/lisp/TAGS")

M-x tags-search
tags-search

I get this error:
`next-file: Opening input file: no such file or directory,
/usr/share/emacs/23.0.90/lisp/abbrev.el'

When all *.el.gz are uncompressed there isn't a problem :)
However if any of the .el files are *.el.gz i get the error.

Can tags open the (now) default .el.gz files in ~emacs/*/lisp/

Shouldn't emacs decompress these files automatically on the fly?
;;; ==============================
In GNU Emacs 23.0.90.2 (i486-slackware-linux-gnu, GTK+ Version 2.12.12)
 of 2009-02-26 on slaptop
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/usr' '--sysconfdir=/etc'
'--localstatedir=/var' '--program-prefix=' '--program-suffix='
'--mandir=/usr/man' '--infodir=/usr/info' '--enable-static=no'
'--enable-shared=yes' '--with-x' '--with-x-toolkit=gtk'
'--build=i486-slackware-linux' 'build_alias=i486-slackware-linux'
'CFLAGS=-O2 -march=i486 -mtune=i686''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t




Acknowledgement sent to MON KEY <monkey@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#2807; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.