<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>184175</bug_id>
          
          <creation_ts>2007-07-04 08:55 0000</creation_ts>
          <short_desc>Fail to load doxymacs in emacs 22.1 with doxymacs 1.8.0 from portage</short_desc>
          <delta_ts>2007-07-04 17:20:49 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>abachn@daimi.au.dk</reporter>
          <assigned_to>emacs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>abachn@daimi.au.dk</who>
            <bug_when>2007-07-04 08:55:39 0000</bug_when>
            <thetext>After emerge of doxymacs 1.8.0 I get:

File mode specification error: (void-function doxymacs-mode)
if: Symbol&apos;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&apos;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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=prescott -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=prescott -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ &quot;
LC_ALL=&quot;da_DK.utf8&quot;
LINGUAS=&quot;da en&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/marineam-xen /opt/overlay/abachn&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;da en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;radeon fglrx&quot;
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 &apos;load-path &quot;/usr/share/emacs/site-lisp/doxymacs&quot;)
(load &quot;doxymacs-autoloads&quot; nil t)                               &lt;-- problem!
(add-hook &apos;c-mode-common-hook &apos;doxymacs-mode)

(defun my-doxymacs-font-lock-hook ()
  (if (or (eq major-mode &apos;c-mode) (eq major-mode &apos;c++-mode))
      (doxymacs-font-lock)))
(add-hook &apos;font-lock-mode-hook &apos;my-doxymacs-font-lock-hook)

----
This autoload file is doing something wrong, done know what. If you replace that line with

(require &apos;doxymacs)

everything with smooth!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-07-04 09:46:15 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>abachn@daimi.au.dk</who>
            <bug_when>2007-07-04 15:53:46 0000</bug_when>
            <thetext>doxy mode is not loaded automatically, the file 50doxymacs-gentoo.el is not correct

I have made a &quot;improved&quot; version</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>abachn@daimi.au.dk</who>
            <bug_when>2007-07-04 15:54:41 0000</bug_when>
            <thetext>Created an attachment (id=123884)
50doxymacs-gentoo.el

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-07-04 16:18:56 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; doxy mode is not loaded automatically, the file 50doxymacs-gentoo.el is not
&gt; correct
&gt; 
&gt; I have made a &quot;improved&quot; version

In general, we avoid &quot;require&quot; statements in site files, see bug #174469 for details.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-07-04 16:21:10 0000</bug_when>
            <thetext>Created an attachment (id=123889)
files/50doxymacs-gentoo.el

Please try if attached site-init file fixes the problem for you.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>abachn@daimi.au.dk</who>
            <bug_when>2007-07-04 16:34:37 0000</bug_when>
            <thetext>Yes, that does the trick ! :)
Thank you very much... hope it gets to portage ;-) soon</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-07-04 17:20:49 0000</bug_when>
            <thetext>Fixed in -r2.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>123884</attachid>
            <date>2007-07-04 15:54 0000</date>
            <desc>50doxymacs-gentoo.el</desc>
            <filename>50doxymacs-gentoo.el</filename>
            <type>text/plain</type>
            <data encoding="base64">Ozs7IGRveHltYWNzIHNpdGUtbGlzcCBjb25maWd1cmF0aW9uCgooYWRkLXRvLWxpc3QgJ2xvYWQt
cGF0aCAiQFNJVEVMSVNQQCIpCgoocmVxdWlyZSAnZG94eW1hY3MpCihhZGQtaG9vayAnYy1tb2Rl
LWNvbW1vbi1ob29rICdkb3h5bWFjcy1tb2RlKQoKKGRlZnVuIG15LWRveHltYWNzLWZvbnQtbG9j
ay1ob29rICgpCiAgICAoaWYgKG9yIChvciAoZXEgbWFqb3ItbW9kZSAnYy1tb2RlKSAoZXEgbWFq
b3ItbW9kZSAnYysrLW1vZGUpKSAoZXEgbWFqb3ItbW9kZSAncGhwLW1vZGUpKSAKICAgICAgICAg
KGRveHltYWNzLWZvbnQtbG9jaykpKQoKKGFkZC1ob29rICdmb250LWxvY2stbW9kZS1ob29rICdt
eS1kb3h5bWFjcy1mb250LWxvY2staG9vaykKCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>123889</attachid>
            <date>2007-07-04 16:21 0000</date>
            <desc>files/50doxymacs-gentoo.el</desc>
            <filename>50doxymacs-gentoo.el</filename>
            <type>text/plain</type>
            <data encoding="base64">Cjs7OyBkb3h5bWFjcyBzaXRlLWxpc3AgY29uZmlndXJhdGlvbgoKKGFkZC10by1saXN0ICdsb2Fk
LXBhdGggIkBTSVRFTElTUEAiKQooYXV0b2xvYWQgJ2RveHltYWNzLW1vZGUgImRveHltYWNzIgog
ICJNaW5vciBtb2RlIGZvciB1c2luZy9jcmVhdGluZyBEb3h5Z2VuIGRvY3VtZW50YXRpb24uIiB0
KQooYXV0b2xvYWQgJ2RveHltYWNzLWZvbnQtbG9jayAiZG94eW1hY3MiCiAgIlR1cm4gb24gZm9u
dC1sb2NrIGZvciBEb3h5Z2VuIGtleXdvcmRzLiIgdCkKKGFkZC1ob29rICdjLW1vZGUtY29tbW9u
LWhvb2sgJ2RveHltYWNzLW1vZGUpCg==
</data>        

          </attachment>
    </bug>

</bugzilla>