[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but mak
From: |
Luca Saiu |
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 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
-----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-----
- etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Luca Saiu, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Francesco Potorti`, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Luca Saiu, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Francesco Potorti`, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, martin rudalics, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Francesco Potorti`, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Luca Saiu, 2007/04/26
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped,
Luca Saiu <=
- Re: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped, Robert J. Chassell, 2007/04/26