all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade
Date: Tue, 29 Jun 2010 08:06:42 +1000	[thread overview]
Message-ID: <874ogm95hp.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 8hbmf7xk6b.ln2@news.ducksburg.com

Adam Funk <a24061@ducksburg.com> writes:

> I just upgraded two machines from Ubuntu karmic to lucid.  Both have 
>
> (require 'mailcrypt-init)
> (load-library "mailcrypt")
>
> in the ~/.emacs file, and the same mailcrypt and emacs packages
> (version 3.5.8+CVS.2005.04.29.1-12.1 and 23.1+1-4ubuntu7) installed.
> On one of them, no problem.  On the other, emacs gives this error
> (verbose version from the --debug-init option):
>
> Debugger entered--Lisp error: (file-error "Cannot open load file" "mailcrypt")
>   load("mailcrypt")
>   load-library("mailcrypt")
>   eval-buffer(#<buffer  *load*> nil "/home/adam/.emacs" nil t)  ; Reading at buffer position 3202
>   load-with-code-conversion("/home/adam/.emacs" "/home/adam/.emacs" t t)
>   load("~/.emacs" t t)
>   #[nil "\bด
>   command-line()
>   normal-top-level()
>
>
> Any idea what could be broken on one but not the other?
>

Check that the mailcrypt elc files are in /usr/share/emacs23/site-lisp
Check that either /etc/emacs/site-lisp.d or /etc/emacs23/site-lisp.d
both have a mailcrypt init file that sets the appropriate paths so that
emacs can find both a *.elc version compiled for the version you are
running and the *.el files. (the *.el files are usually in
/usr/share/emacs/site-lisp

Note also that mailcrypt has. to a large extent, been superceeded by
gpp, which has been bundled with emacs since version 22. It provides
most of the same functionality. Integration with your mail reader may
vary depending on the mail reader.  

Tim

-- 
tcross (at) rapttech dot com dot au


       reply	other threads:[~2010-06-28 22:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8hbmf7xk6b.ln2@news.ducksburg.com>
2010-06-28 22:06 ` Tim X [this message]
2010-07-01 18:50   ` ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade Adam Funk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ogm95hp.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.