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 13:34:26 +0200 Message-ID: <46308E42.8000806@gnu.org> References: <463070AA.5020107@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 1177587344 28470 80.91.229.12 (26 Apr 2007 11:35:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 11:35:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Francesco Potorti` Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 13:35:39 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 1Hh2G9-0005sO-HY for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 13:35:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh2Lr-0004MH-HC for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 07:41:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hh2Kw-00040j-MU for emacs-devel@gnu.org; Thu, 26 Apr 2007 07:40:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hh2Kv-000405-BC for emacs-devel@gnu.org; Thu, 26 Apr 2007 07:40:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh2Ku-0003zy-VZ for emacs-devel@gnu.org; Thu, 26 Apr 2007 07:40:33 -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 1Hh2F6-0006Ry-MK; Thu, 26 Apr 2007 07:34:33 -0400 Original-Received: from [10.10.0.181] (babaorum [10.10.0.181]) by lipn.univ-paris13.fr (Postfix) with ESMTP id 629AC598028; Thu, 26 Apr 2007 13:34:26 +0200 (CEST) User-Agent: Icedove 1.5.0.9 (X11/20061220) In-Reply-To: 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:70177 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Francesco Potorti` wrote: >> When looking up a tag referring a compressed ELisp file with M-., >> Emacs fails to find the correct file, as it tries to open a non-existing >> *uncompressed* version. > > I think this is because you have auto-compression-mode disabled. Well, no. See the last part of my bug report: auto-compression-mode is t. > Can you try after doing M-x auto-compression-mode RET? This is interesting. I did it (so *disabling* auto-compression mode), and Emacs actually changed behavior: etags-goto-tag-location displayed this in the minibuffer: Rerun etags: `^(defun goto-line ' not found in /home/luca/usr/share/emacs/22.0.99/lisp/simple.el.gz Note that now Emacs tries to load the *gzipped* file (which, I repeat, exists and is effectively gzipped). /home/luca/usr/share/emacs/22.0.99/lisp/simple.el.gz exists and of course contains (defun (goto-line ... , but (this is what I think it happens) when auto-compression-mode is disabled Emacs can't understand its content any more, because the file is gzipped. *Then* I did M-x auto-compression-mode RET again and M-. goto-line RET again. Same outcome as above. Then I did it again (flip auto-compression-mode, M-. goto-line), same outcome. And again. *Whatever* the current value of auto-compression-mode is, from the first time I flip it, looking for the tag always results in Rerun etags: `^(defun goto-line ' not found in /home/luca/usr/share/emacs/22.0.99/lisp/simple.el.gz I always switched auto-compress-mode on and off with M-x auto-compression-mode RET, without directly executing Lisp code. This is independent from my ~/.emacs and ~/.emacs.d . Redoing everything after having renamed them didn't change the outcome. An inverted test condition somewhere? Can't other people reproduce this? It's strange I'm the only one noticing this. 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 iD8DBQFGMI5CvzOavibF0oYRAs5bAJ9hybfwdbo9SFP0+VCPNNwnZwOH5ACdH1TG SlHcgM+dEDcTtml16SOGpZk= =bJFV -----END PGP SIGNATURE-----