From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: ~/.emacs error loading mailcrypt on 1 of 2 machines after Ubuntu upgrade Date: Tue, 29 Jun 2010 08:06:42 +1000 Organization: Rapt Technologies Message-ID: <874ogm95hp.fsf@lion.rapttech.com.au> References: <8hbmf7xk6b.ln2@news.ducksburg.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291839666 20405 80.91.229.12 (8 Dec 2010 20:21:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 20:21:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 21:21:01 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQQVX-0006wl-Oa for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 21:21:00 +0100 Original-Received: from localhost ([127.0.0.1]:39395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQQVW-0003TI-Pv for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 15:20:58 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!news.alt.net!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:SFH3Qw4Wyw5cyLviB5xh5FpeAqk= Original-Lines: 42 Original-NNTP-Posting-Host: d9fcc19c.news.astraweb.com Original-X-Trace: DXC=CbH<0GEoBdeF1iA^=`ZUjbL?0kYOcDh@j5RIWMIBb; `e^`f@aaF73ReEEoMV90=M5aIoif43j63Fi Original-Xref: usenet.stanford.edu gnu.emacs.help:179307 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75971 Archived-At: Adam Funk 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(# 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 "ด > 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