On 2010-07-18 14:38 +0200, Lionel Elie Mamane wrote: > Package: emacs23-common > Version: 23.2+1-2 > Severity: normal > > I'm not sure why, but "man emacsclient" gives me the emacs22 version > and not the emacs23 version. From the following, I'd have expected to > get the emacs23 version, because that's what > /usr/share/man/man1/emacsclient.1.gz > points at (via /etc/alternatives/emacsclient.1.gz). > > mas...@doggy:~$ ls -l /usr/share/man/man1/emacsclient.* > /etc/alternatives/emacsclient.1.gz > lrwxrwxrwx 1 root root 44 jun 28 17:20 /etc/alternatives/emacsclient.1.gz > -> /usr/share/man/man1/emacsclient.emacs23.1.gz > -rw-r--r-- 1 root root 1536 jan 25 16:59 > /usr/share/man/man1/emacsclient.1emacs22.gz > lrwxrwxrwx 1 root root 34 jun 28 17:20 /usr/share/man/man1/emacsclient.1.gz > -> /etc/alternatives/emacsclient.1.gz > -rw-r--r-- 1 root root 1684 mai 16 08:46 > /usr/share/man/man1/emacsclient.emacs23.1.gz > > but: > > mas...@doggy:~$ man emacsclient | md5sum > 18c85d475d5ce5ffde470cbf06596aef - > mas...@doggy:~$ man -l /usr/share/man/man1/emacsclient.1emacs22.gz | md5sum > 18c85d475d5ce5ffde470cbf06596aef -
This is actually a problem in emacs22-common: man picks up the emacsclient.1emacs22 manpage because it has a valid extension. Try "man -d emacsclient 2> tmp/man-debug" to see what man does. This is fixed in emacs23-common. > Please make it so that the emacs23 version effectively takes > precedence over the emacs22 version, that is when /usr/bin/emacsclient > points to /usr/bin/emacsclient.emacs23 . This would require changing the emacs22 package (and others who use that scheme, like emacs-snapshot). I don't know how feasible this is, given that emacs22 is slated for removal. In the meantime, you can read the emacs23 emacsclient manpage with "man emacsclient.emacs23". Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org