all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade
       [not found] <8hbmf7xk6b.ln2@news.ducksburg.com>
@ 2010-06-28 22:06 ` Tim X
  2010-07-01 18:50   ` Adam Funk
  0 siblings, 1 reply; 2+ messages in thread
From: Tim X @ 2010-06-28 22:06 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade
  2010-06-28 22:06 ` ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade Tim X
@ 2010-07-01 18:50   ` Adam Funk
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Funk @ 2010-07-01 18:50 UTC (permalink / raw)
  To: help-gnu-emacs

On 2010-06-28, Tim X wrote:

> 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

I don't get it.  I even did an "aptitude purge mailcrypt" then
"aptitude install mailcrypt" on the problematic machine ... same
result.

> 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.  

But that's probably a good answer to my question.  I didn't know about
pgg (I think that's what you meant), and it seems to cover what I
need.  Thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8hbmf7xk6b.ln2@news.ducksburg.com>
2010-06-28 22:06 ` ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade Tim X
2010-07-01 18:50   ` Adam Funk

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.