Unlike Teej, I have used emacs before ... pretty much daily for the last
15 years or so :)

Like Teej, I also am unable to reproduce this issue in Ubuntu Jaunty
9.04 (amd64) with the supplied instructions.

My attempt at replication from a bash shell prompt, using the
information provided by the submitter, is:

  # Make sure emacs and emacs-goodies-el are installed
  sudo apt-get install emacs22 emacs-goodies-el
  # Run emacs and evaluate the elisp which should trigger the reported issue
  emacs -- no-site-file --no-init-file --batch -l <(echo -e "(set-variable 
'debug-on-error t)\n(setq load-path (cons 
\"/usr/share/emacs22/site-lisp/emacs-goodies-el\" load-path))\n(require 
'emacs-goodies-el)\n(ctypes-read-file nil nil t t)\n)")

This does not generate an error or backtrace at all on my system.

In case it helps:

jonat...@black:~$ lsb_release -ircd
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty
jonat...@black:~$ uname -a
Linux black 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009 x86_64 
GNU/Linux
jonat...@black:~$ dpkg -l emacs22 emacs-goodies-el | grep emacs
ii  emacs-goodies-el                           29.4-1ubuntu2                    
         Miscellaneous add-ons for Emacs
ii  emacs22                                    22.2-0ubuntu2                    
         The GNU Emacs editor (Emacs 22)
jonat...@black:~$ 

It is likely that this bug really does exist, but the supplied
information appears to be insufficient to reproduce it.

In particular, the variable c-font-lock-keywords-2 is used within
ctypes.el and is defined in cc-fonts.el.  But the supplied elisp is just
not triggering the problem, at least for me.

caludo: Any ideas on a more reliable way to trigger this bug?  Or could
try to a fresh install of Ubuntu Jaunty 9.04 and reproduce it there
(maybe in a virtual machine, if you don't have a spare PC for this sort
of thing)?

Thanks!  BTW, once I can reproduce it, I can probably create a debdiff
and get a fix uploaded fairly quickly...

-- 
void variable with ctypes.el
https://bugs.launchpad.net/bugs/162954
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to