From: Luca Saiu <positron@gnu.org>
To: Luca Saiu <positron@gnu.org>
Cc: martin rudalics <rudalics@gmx.at>,
Francesco Potorti` <pot@gnu.org>,
emacs-devel@gnu.org
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 [thread overview]
Message-ID: <4630BD38.1090201@gnu.org> (raw)
In-Reply-To: <4630B3D8.7050308@gnu.org>
-----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-----
next prev parent reply other threads:[~2007-04-26 14:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 9:28 etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped Luca Saiu
2007-04-26 10:38 ` Francesco Potorti`
2007-04-26 11:34 ` Luca Saiu
2007-04-26 11:55 ` Francesco Potorti`
2007-04-26 13:16 ` martin rudalics
2007-04-26 13:42 ` Francesco Potorti`
2007-04-26 14:14 ` Luca Saiu
2007-04-26 14:54 ` Luca Saiu [this message]
2007-04-26 17:19 ` Robert J. Chassell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4630BD38.1090201@gnu.org \
--to=positron@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=pot@gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.