From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Saiu Newsgroups: gmane.emacs.devel Subject: Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped Date: Thu, 26 Apr 2007 16:54:48 +0200 Message-ID: <4630BD38.1090201@gnu.org> References: <463070AA.5020107@gnu.org> <46308E42.8000806@gnu.org> <4630A610.2050204@gmx.at> <4630B3D8.7050308@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177599308 12342 80.91.229.12 (26 Apr 2007 14:55:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 14:55:08 +0000 (UTC) Cc: martin rudalics , Francesco Potorti` , emacs-devel@gnu.org To: Luca Saiu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 16:55:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hh5NA-0001Zu-3L for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 16:55:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh5St-0007K2-VX for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 11:01:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hh5Sr-0007Ju-1P for emacs-devel@gnu.org; Thu, 26 Apr 2007 11:00:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hh5So-0007GP-QM for emacs-devel@gnu.org; Thu, 26 Apr 2007 11:00:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh5So-0007GI-Mw for emacs-devel@gnu.org; Thu, 26 Apr 2007 11:00:54 -0400 Original-Received: from lipn.univ-paris13.fr ([194.254.163.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hh5N1-0008OR-Va; Thu, 26 Apr 2007 10:54:56 -0400 Original-Received: from [10.10.0.181] (babaorum [10.10.0.181]) by lipn.univ-paris13.fr (Postfix) with ESMTP id C7FA259802A; Thu, 26 Apr 2007 16:54:48 +0200 (CEST) User-Agent: Icedove 1.5.0.9 (X11/20061220) In-Reply-To: <4630B3D8.7050308@gnu.org> X-Enigmail-Version: 0.94.2.0 OpenPGP: id=26C5D286; url=http://www-lipn.lipn.univ-paris13.fr/~saiu/lucasaiu.asc X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70187 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luca Saiu wrote: > I'm definitely not into this stuff, but I think I've found the problem. > > Look at tag-find-file-of-tag-noselect in etags.el: > > Files with one of the extensions in tags-compression-info-list are only > looked at if (featurep 'jka-compr) is true, and it stays true even if > not currently in auto-compression-mode: doing M-x auto-compression-mode > at least once causes it to become true, and to stay that way. > > (featurep 'jka-compr) is nil at the beginning (see the beginning of > jka-cmpr-hook.el), but it becomes t when loading jka-compr.el the first > time. > > Right? Tested: I don't know whether there's some other solution considered cleaner, but replacing the two occurrences of (featurep 'jka-compr) with auto-compression-mode in tag-find-file-of-tag-noselect solves the problem. Note that if you decide to do this change you should also accordingly update the documentation string of tags-compression-info-list: These extensions will be tried only if jka-compr was activated \(i.e. via customize of `auto-compression-mode' or by calling the function `auto-compression-mode' What it says is literally true, but possibly misleading: it does *not* imply "every time that auto-compression-mode is on, jka-compr is activated". The counterexample is the situation at the beginning. Ok, enough. Bye, - -- Luca Saiu Author of GNU epsilon: http://www.gnu.org/software/epsilon http://www-lipn.lipn.univ-paris13.fr/~saiu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGML04vzOavibF0oYRAl1+AKCDTF6admrrKl8glu/itgVqQek3KwCgoZGM OKkY/tuxANRAsUJfBgj3Rmw= =iyqf -----END PGP SIGNATURE-----