Thank You for a response!  I am new to computers, so please go easy!

I followed this:
http://ergoemacs.org/emacs/emacs_installing_packages.html

file is located here:
/home/family281/.emacs.d/lisp/beancount.el
copied the beancount.el file off of the website, saved it, placed in the 
above folder

Version: This is GNU Emacs 24.5.1

On opening Emacs (Copied from Emacs):
Warning (initialization): An error occurred while loading 
`/home/family281/.emacs.d/init.el':

Symbol's value as variable is void: completion-category-defaults

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

On opening my beancount file:
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el 
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el 
(source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Error in post-command-hook (beancount-highlight-transaction-at-point): 
(void-function beancount-highlight-transaction-at-point)

Using the commands:
command-execute: Symbol's function definition is void: 
beancount-insert-account
C-c r is undefined
command-execute: Symbol's function definition is void: beancount-check
command-execute: Symbol's function definition is void: beancount-query
command-execute: Symbol's function definition is void: beancount-context


Using the Debugger:
Debugger entered--Lisp error: (void-variable completion-category-defaults)
  (member beancount--completion-overrides completion-category-defaults)
  (if (member beancount--completion-overrides completion-category-defaults) 
completion-category-defaults (setq completion-category-defaults (cons 
beancount--completion-overrides completion-category-defaults)))
  eval-buffer(#<buffer  *load*-462683> nil 
"/home/family281/.emacs.d/lisp/beancount.el" nil t)  ; Reading at buffer 
position 18269
  load-with-code-conversion("/home/family281/.emacs.d/lisp/beancount.el" 
"/home/family281/.emacs.d/lisp/beancount.el" nil t)
  require(beancount)
  eval-buffer(#<buffer  *load*> nil "/home/family281/.emacs.d/init.el" nil 
t)  ; Reading at buffer position 130
  load-with-code-conversion("/home/family281/.emacs.d/init.el" 
"/home/family281/.emacs.d/init.el" t t)
  load("/home/family281/.emacs.d/init" t t)
  #[0 " \205\262

My init file:

;; Tell emacs where is your personal elisp lib dir

(add-to-list 'load-path "/home/family281/.emacs.d/lisp/")

(require 'beancount)


;; setup files ending in “.js” to open in js2-mode

(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))


So I hope you guys can help me!
I am also going to try Vim, have never used.

Thank You!





On Thursday, December 3, 2020 at 7:05:42 PM UTC James Cook wrote:

> On Thu, 3 Dec 2020 at 00:32, SKlmcanskl <[email protected]> wrote:
>
>> I loaded the beancount.el file for emacs
>> i receive the following issues:
>>
>> When I try beancount mode: Alt-x beancount-mode I get an error:
>> (beancount-highlight-transaction-at-point): (void-function 
>> beancount-highlight-transaction-at-point)
>>
>> When I open emacs:
>> Warning (initialization): An error occurred while loading 
>> `/home/family281/.emacs.d/init.el':
>> Symbol's value as variable is void: completion-category-default
>>
>> No keybindings work.  Colors work!
>>
>> But can't use
>>
> Are you sure it said "completion-category-default" and not 
> "completion-category-defaults" (with an s)? The latter is a variable in 
> emacs; I don't think the other is.
>  
> I don't have an answer, but it may help if you can provide some more 
> information, like:
>
> * What version of emacs? (M-x version)
> * How did you load beancount.el?
>
> James
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/f7353c8d-6002-4baf-96f0-14ba07dbcb13n%40googlegroups.com.

Reply via email to