After emerge of doxymacs 1.8.0 I get: File mode specification error: (void-function doxymacs-mode) if: Symbol's function definition is void: doxymacs-font-lock when I try to open a C++ file! Reproducible: Always Steps to Reproduce: 1. Open a c++ file in emacs 2. 3. Actual Results: File mode specification error: (void-function doxymacs-mode) if: Symbol's function definition is void: doxymacs-font-lock and the file is not even opened for editing! Expected Results: Normal startup of emacs with opened file and doxymacs loaded! Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-suspend2 i686) ================================================================= System uname: 2.6.21-suspend2 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 04 Jul 2007 07:30:10 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ " LC_ALL="da_DK.utf8" LINGUAS="da en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/marineam-xen /opt/overlay/abachn" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi alsa arts avahi bash-completion beagle berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal iconv idn imap imlib ipv6 isdnlog java javamail jce jpeg kerberos ldap libg++ libnotify mad midi mikmod mmx mono mp3 mpeg mudflap musepack mysql ncurses nfs nls nntp nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt qt3 qt3support quicktime readline reflection ruby samba sdl session spell spl sse sse2 ssl svg tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ---- Snip from /usr/share/emacs/site-lisp/site-gentoo.el ;;; doxymacs site-lisp configuration (add-to-list 'load-path "/usr/share/emacs/site-lisp/doxymacs") (load "doxymacs-autoloads" nil t) <-- problem! (add-hook 'c-mode-common-hook 'doxymacs-mode) (defun my-doxymacs-font-lock-hook () (if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode)) (doxymacs-font-lock))) (add-hook 'font-lock-mode-hook 'my-doxymacs-font-lock-hook) ---- This autoload file is doing something wrong, done know what. If you replace that line with (require 'doxymacs) everything with smooth!
I now reworked the site-init as it was complete bull shit (yes I created it in the first place). Now doxymacs is loaded for all C modes. Thanks for your bug report.
doxy mode is not loaded automatically, the file 50doxymacs-gentoo.el is not correct I have made a "improved" version
Created attachment 123884 [details] 50doxymacs-gentoo.el
(In reply to comment #2) > doxy mode is not loaded automatically, the file 50doxymacs-gentoo.el is not > correct > > I have made a "improved" version In general, we avoid "require" statements in site files, see bug #174469 for details.
Created attachment 123889 [details] files/50doxymacs-gentoo.el Please try if attached site-init file fixes the problem for you.
Yes, that does the trick ! :) Thank you very much... hope it gets to portage ;-) soon
Fixed in -r2.