From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: problems with auto-capitalise Date: Fri, 29 Apr 2016 13:10:35 +0000 Message-ID: <87h9ekr25w.fsf@mat.ucm.es> References: <87d1p8ade1.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8CT-0002BK-GV for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 09:11:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw8CH-0004kE-3N for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 09:11:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:44801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8CG-0004g3-Tc for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 09:11:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aw8C1-0000KO-7l for emacs-orgmode@gnu.org; Fri, 29 Apr 2016 15:10:49 +0200 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 15:10:49 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 15:10:49 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org >>> "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? - 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. I recently changed a call in auto-capitalize.el because of a bug in LaTeX mode. Uwe Brauer