Package: records-gnuemacs
Version: 1.4.9-4.1
Severity: important

While editing a record, attempting to switch into latex mode 
brings up the error cannot open load file: records-tex in the emacs
minibuffer.

Here's how to duplicate the problem (this may depend on how you've
set up your emacs load-path):

0) If you haven't yet done so, run recordsadmin -i first to create
indexes and directories.
1) Open a fresh emacs, M-x records-mode, M-x records-insert-record
with a dummy title. 
2) M-x records-narrow-latex produces the error.

How to fix the problem:

Emacs cannot find some of the elisp files it needs, ie records-tex.el in this
case, which is located in the directory 

/usr/share/emacs/site-lisp/records/

but is not actually bytecompiled in the directory 

/usr/share/emacs21/site-lisp/records-gnuemacs/

This appears to be a bug in the package installation script.

A simple workaround for users is the following: copy all the
uncompiled files /usr/share/emacs/site-lisp/records/* into a local
directory in your load-path, or simply add the following to ~/.emacs

(add-to-list 'load-path "/usr/share/emacs/site-lisp/records")


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages records-gnuemacs depends on:
ii  emacs21        21.4a+1-5                 The GNU Emacs editor
ii  mailcrypt      3.5.8+CVS.2005.04.29.1-10 An Emacs interface to the GNU Priv
ii  perl [perl5]   5.8.8-7                   Larry Wall's Practical Extraction 
ii  records-common 1.4.9-4.1                 Save and index notes in Emacs envi

records-gnuemacs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to