help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: difficulty entering balance mode


From: Ian Zimmerman
Subject: Re: difficulty entering balance mode
Date: Wed, 29 Jul 2015 10:04:58 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On 2015-07-25 14:53 -0400, Haines Brown wrote:

> I've reduced things to elementals. That is, I do $ emacs -q -l
> .emacs-test. This .emacs-test file has in it only these lines:
> 
>   (autoload 'balance-mode "balance") 
>    (setq auto-mode-alist
>      (append '(("\\.bal\\'" . balance-mode)) auto-mode-alist))
> 
> When I do M-x f to find .balance.bal, now it opens on first try, but
> emacs does enter balance mode. I get this error:
> 
>   file mode specification error: (file-error) "Cannot open load file "no 
>   such file or directory" "balance". 

Ok, let's start again from here.  Forget about the database for now;
first, we have to debug loading the module.  Put this into .emacs-test,
and nothing else:

(message (format "%s" load-path))
(load-library "balance")

Run emacs -q -l .emacs-test, what happens?

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]