From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Saiu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped Date: Thu, 26 Apr 2007 11:28:10 +0200 Message-ID: <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 1177579836 30017 80.91.229.12 (26 Apr 2007 09:30:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2007 09:30:36 +0000 (UTC) To: emacs-devel@gnu.org, emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 11:30:32 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 1Hh0J5-0002I4-AA for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 11:30:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh0On-0005RT-Fc for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2007 05:36:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hh0Mc-00046N-AP for emacs-devel@gnu.org; Thu, 26 Apr 2007 05:34:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hh0Ma-00045u-QX for emacs-devel@gnu.org; Thu, 26 Apr 2007 05:34:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hh0MZ-00045a-MX; Thu, 26 Apr 2007 05:34:08 -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 1Hh0Gq-0008Cr-8j; Thu, 26 Apr 2007 05:28:12 -0400 Original-Received: from [10.10.0.181] (babaorum [10.10.0.181]) by lipn.univ-paris13.fr (Postfix) with ESMTP id 65FCA59802C; Thu, 26 Apr 2007 11:28:10 +0200 (CEST) User-Agent: Icedove 1.5.0.9 (X11/20061220) 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:70170 gmane.emacs.pretest.bugs:18596 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello. I compiled and installed the 22.0.99.1 pretest from alpha.gnu.org: ./configure --with-png --with-gtk --with-xpm --with-jpeg --with-tiff - --with-sound --prefix=/home/luca/usr && make bootstrap -j 4 && make install Note that the directory /home/luca/usr existed but was *empty*. All environment variables were already correctly setup: [luca@babaorum ~]$ env GREEN=\033[0m\033[32m BLACK=\033[0m\033[30m MANPATH=/home/luca/usr/man:/usr/godi/man:/usr/share/man SSH_AGENT_PID=7403 TERM=xterm DESKTOP_STARTUP_ID= SHELL=/bin/bash NOATTR=\033[0m YELLOW=\033[1m\033[33m LIGHTBLUE=\033[1m\033[34m LIBRARY_PATH=/home/luca/usr/lib: GTK_RC_FILES=/etc/gtk/gtkrc:/home/luca/.gtkrc-1.2-gnome2 WINDOWID=86226876 OLDPWD=/home/luca/usr/info LC_ALL=POSIX USER=luca LD_LIBRARY_PATH=/home/luca/usr/lib: ENDTITLE=\007 BEGINTITLE=\033]0 BROWN=\033[0m\033[33m BLUE=\033[0m\033[34m GNOME_KEYRING_SOCKET=/tmp/keyring-3uqBV5/socket SSH_AUTH_SOCK=/tmp/ssh-cIKODt6834/agent.6834 SESSION_MANAGER=local/babaorum:/tmp/.ICE-unix/6834 USERNAME=luca DEFAULTS_PATH=/home/luca/.cache/fileSlbrDA LIGHTGRAY=\033[0m\033[37m XPSERVERLIST=:64 DESKTOP_SESSION=gnome PATH=/home/luca/usr/bin:/home/luca/bin:/usr/godi/bin:/usr/godi/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games CLEAR=\033[2J C_INCLUDE_PATH=/home/luca/usr/include:/usr/include:/usr/X11R6/include GDM_XSERVER_LOCATION=local DARKGRAY=\033[1m\033[30m PWD=/home/luca EDITOR=emacs LANG=en_US.UTF-8 LIGHTGREEN=\033[1m\033[32m GDM_LANG=en_US.UTF-8 MANDATORY_PATH=/home/luca/.cache/file64fHIs ESC=\033 PS1=\[\033[0m\033[31m\][\u@\h \w]\\$ \[\033[0m\033[32m\] BLINK=\033[5m GDMSESSION=gnome RED=\033[0m\033[31m HOME=/home/luca SHLVL=1 LANGUAGE=POSIX PURPLE=\033[0m\033[35m GNOME_DESKTOP_SESSION_ID=Default LIGHTRED=\033[1m\033[31m LIGHTCYAN=\033[1m\033[36m REVERSE=\033[7m LIGHTPURPLE=\033[1m\033[35m LOGNAME=luca DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-hPM2e97j3C,guid=6fb9be6b015f87ab38525400462df4d3 TOPLEFT=\033[1;1H INFOPATH=/home/luca/usr/info: DISPLAY=:0.0 CYAN=\033[0m\033[36m WHITE=\033[1m\033[37m COLORTERM=gnome-terminal XAUTHORITY=/home/luca/.Xauthority _=/usr/bin/env Note that the `install' Makefile target installs most Emacs Lisp source files *gzipped*. Ok, then I generated TAGS from /home/luca/usr/share/emacs: etags `find -name \*.el` `find -name \*.el.gz` 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. For example with M-. goto-line I see this in the minibuffer: File /home/luca/usr/share/emacs/22.0.99/lisp/simple.el not found /home/luca/usr/share/emacs/22.0.99/lisp/simple.el in fact is not there, but /home/luca/usr/share/emacs/22.0.99/lisp/simple.el.gz exists, and its content is correct (it's gzipped, of course). Uncompressing all installed gzipped elisp files and regenerating TAGS is a way to work around the problem (tested). I don't know whether this behavior is consistent with old releases, but it's definitely not what the user expects. Other info: In GNU Emacs 22.0.99.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-04-26 on babaorum Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--with-png' '--with-gtk' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-sound' '--prefix=/home/luca/usr'' Important settings: value of $LC_ALL: POSIX value of $LC_COLLATE: nil 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.UTF-8 locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p C-g M-x r e p o r e b Recent messages: Loading /home/luca/usr/share/emacs/site-lisp/w3m/w3m.el (source)... Loading cl-macs...done Loading /home/luca/usr/share/emacs/site-lisp/w3m/w3m.el (source)...done For information about the GNU Project and its goals, type C-h C-p. [2 times] Making completion list... [2 times] Quit Making completion list... Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done Thanks, - -- 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 iD8DBQFGMHCqvzOavibF0oYRApoMAJ4mzoA5jRNXhMOGoBPVWh3N07a+2gCgrSWy vvnkWkDDz/10Pu1KszJdIFo= =DB4n -----END PGP SIGNATURE-----