Package: erlang-mode Version: 1:13.b.2.1-dfsg-1 Severity: normal
erlang-mode builds the manpage menus by searching for manpages in the directory specified using the erlang-root-dir variable setted to "/usr/lib/erlang" in /etc/emacs/site-start.d/50erlang-mode.el, and the erlang-man-dirs variable setted on erlang-mode.el. Then uses a regex defined in erlang-mode.el as: (defun erlang-man-get-files (dir) "Return files in directory DIR." (directory-files dir t ".*\\.\\([124-9]\\|3erl\\)?\\(\\.gz\\)?\\'")) The erlang-manpages package installs the manpages on /usr/share/man/* where non erlang related manpages also reside, and creates a /usr/lib/erlang/man -> /usr/share/man symlink. So, by traversing that symlink erlang-mode erroneously founds all manpages in the system as erlang ones. Two notes about the regex: 1- there are other similar regexes used in erlang-mode.el 2- the "3erl" string must be optional because there are manpages like /usr/share/man/man6/kernel.6.gz that not contain it. I think the proper solution is to modify erlang-manpages to create an /usr/lib/erlang/man directory instead of a symlink, and then man{3,4,6} directories containing one symlink for each manpage to his corresponding file in /usr/share/man (or viceversa). Btw, this seems to be the continuation of the #436044 bug :) Creating the /usr/lib/erlang/man was a bad solution, erlang manpages become undifferentiated, but the empty /usr/lib/erlang/man was also bad. -l System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages erlang-mode depends on: ii emacsen-common 1.4.19 Common facilities for all emacsen erlang-mode recommends no packages. Versions of packages erlang-mode suggests: ii erlang 1:13.b.2.1-dfsg-1 Concurrent, real-time, distributed ii erlang-doc-html 1:13.b.2.1-dfsg-2 Erlang/OTP HTML documentation ii erlang-manpages 1:13.b.2.1-1 Erlang/OTP manual pages -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org