Uwe Brauer writes: >>>> "Sharon" == Sharon Kimble writes: > > > I've duly install 'auto-capitalize' from melpa and set it up as per the > > .el file, and this is what I have in my 'init.org' > > > # #+begin_src emacs-lisp > > # (autoload 'auto-capitalize-mode "auto-capitalize" > > # "Toggle `auto-capitalize' minor mode in this buffer." t) > > # (autoload 'turn-on-auto-capitalize-mode "auto-capitalize" > > # "Turn on `auto-capitalize' minor mode in this buffer." t) > > # (autoload 'enable-auto-capitalize-mode "auto-capitalize" > > # "Enable `auto-capitalize' minor mode in this buffer." t) > > > # (add-hook 'org-mode-hook 'turn-on-auto-capitalize-mode) > > # #+end_src > > [2016-04-29 Fri 08:09] > > > > Its all commented out because when I restart emacs I get this error > > message > > > [auto-capitalize auto-capitalize-predicate save-match-data-internal this-command key global-map > > match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] > > self-insert-command this-command-keys ...] 9 > > ("/home/boudiccas/.emacs.d/elpa/auto-capitalize-20160415.1403/auto-capitalize.elc" . 3423)] 1) in > > desktop-create-buffer [2 times] > > > This is bad. Which version of Emacs do you use? On which OS are you? Thanks Uwe, comments inline emacs 25.0.93.1 OS in the signature, Debian 8 > > > > - could you please copy > > > (autoload 'auto-capitalize-mode "auto-capitalize" > "Toggle `auto-capitalize' minor mode in this buffer." t) > (autoload 'turn-on-auto-capitalize-mode "auto-capitalize" > "Turn on `auto-capitalize' minor mode in this buffer." t) > (autoload 'enable-auto-capitalize-mode "auto-capitalize" > "Enable `auto-capitalize' minor mode in this buffer." t) > > > > Into a separate file say auto-cap-init.el > > Copy auto-capitalize.el into some easy to access directory > > Close emacs > > Restart emacs with > > emacs -Q > > Load auto-capitalize.el > > M-x set-variable > debug-on-error t > > Open a file > M-x auto-capitalize-mode > > And tell us what happen. --8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/boudiccas/.emacs.d/auto-capitalize.elc...done You can run the command ‘set-variable’ with M-x s-va RET is undefined You can run the command ‘auto-capitalize-mode’ with M-x a-ca RET Mark set [2 times] Saving file /home/boudiccas/.emacs.d/org/todo.org... Wrote /home/boudiccas/.emacs.d/org/todo.org Saving file /home/boudiccas/.emacs.d/org/todo.org... Wrote /home/boudiccas/.emacs.d/org/todo.org --8<---------------cut here---------------end--------------->8--- And that's all, so I copied the new .elc file into the elpa auto-capitalize directory and then enabled it in my init file and rebooted, the same problem still occurs, so I've commented it out of my init file and now I'm back without auto-capitalize. > > I recently changed a call in auto-capitalize.el because of a bug in > LaTeX mode. > > Uwe Brauer Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.93