From: Luca Saiu <positron@gnu.org>
To: emacs-devel@gnu.org, emacs-pretest-bug@gnu.org
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 [thread overview]
Message-ID: <463070AA.5020107@gnu.org> (raw)
-----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 <tab> p <tab> C-g <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <left> <right> <down> <down> <down> <down>
<down> <down> <left> <right> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> M-x
r e p o <tab> r <tab> e <backspace> b <tab> <retur
n>
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-----
next reply other threads:[~2007-04-26 9:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 9:28 Luca Saiu [this message]
2007-04-26 10:38 ` etags: M-. looks for an uncompressed Emacs Lisp source file, but make install installs it gzipped 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
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=463070AA.5020107@gnu.org \
--to=positron@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
/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.